skeptycal / as-anansi

Tricky and fun ansi text utilities for python programs. The obligatory ANSI CLI module from the Python system utilities package AutoSys

Home Page:https://skeptycal.github.io/as-anansi

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AutoSys - Anansi

Tricky and fun ansi text utilities for python programs. The obligatory ANSI CLI module from the Python system utilities package AutoSys


netlify badge Build Status

https://pypi.python.org/pypi/autosys https://pypi.python.org/pypi/autosys PyPI - Status

https://pypi.python.org/pypi/autosys https://pypi.python.org/pypi/autosys

Contributor Covenant code style: prettier

Twitter Follow GitHub followers

Getting Started

AutoSys - System utilities for Python on macOS

  • Setup and maintain python repos automatically
  • Automate web access, blog updates, social media
  • Collect and analyze data sets efficiently
  • Create vivid and descriptive visualizations of data
  • Use Python to interact with compiled languages and devops tools

Documentation

Using GNU Fortran (pdf)

Prerequisites

Autosys requires the following:

  • macOS 10.12+ (most likely any modern macOS or Linux distro)
  • Python 3.8+ (or 3.6+ with fstrings library) No external libraries are required for basic functionality.
Optional Features Requirements
Web scraping / url parsing Requests: HTTP for Humans™
YAML serialization PyYAML
ultra fast JSON ujson
data wrangling; vectors numpy
data visualization D3, Seaborn, Bokeh, Vegas
framework interaction Flask, Vue / Nuxt
Fortran Interoperability numpy, GNU Fortran 7+
GO Interoperability go1.12
database support drivers for MySQL, MongoDB, etc

macOS specific information:

  • many optional features require Apple's XCode Tools (installed from the Mac App Store)

  • On 10.9 Mavericks or higher, you can get the command-line tools by simply typing xcode-select --install.

  • And on Catalina, you may have to specifify the following additional include path for the compiler to find the system headers:

      -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include
    

Installing

    # installing GNU computation tools: gcc, c++, and gfortran

    # Homebrew install (macOS)
    brew cask install gcc gfortran

    # direct install (macOS / linux)
    curl -o gcc-9.2-bin.tar.gz http://prdownloads.sourceforge.net/hpc/gcc-9.2-bin.tar.gz
    gunzip gcc-9.2-bin.tar.gz
    sudo tar -xvf gcc-9.2-bin.tar -C /

For Windows support, check here.

Running the tests

Break down into end to end tests

Coding style tests

Pylint and Autopep8 are used to enforce coding conventions.

Deployment

    python3 -m pip install autosys

Built With

python on vscode

Contributing

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.

Versioning

We use SemVer for versioning. For the versions available, see the tags on this repository.

Contributors

See also the list of contributors who participated in this project.

License

AutoSys is licensed under the MIT https://opensource.org/licenses/MIT - see the LICENSE file for details.

Example Usage

More Examples

Utility Functions

License

About

Tricky and fun ansi text utilities for python programs. The obligatory ANSI CLI module from the Python system utilities package AutoSys

https://skeptycal.github.io/as-anansi

License:Other


Languages

Language:Python 93.2%Language:Shell 6.8%