bossjones / ultron8

ultron8 ecosystem, automate and orchestrate server level action executions. Similar to Netflix Bolt. Learning purposes.
Apache License 2.0
0 stars 2 forks source link

.. image:: https://readthedocs.org/projects/ultron8/badge/?version=latest :target: https://ultron8.readthedocs.io/?badge=latest :alt: Documentation Status

.. image:: https://travis-ci.org/bossjones/ultron8.svg?branch=master :target: https://travis-ci.org/bossjones/ultron8?branch=master

.. image:: https://codecov.io/gh/bossjones/ultron8/branch/master/graph/badge.svg :target: https://codecov.io/gh/bossjones/ultron8

.. image:: https://coveralls.io/repos/github/bossjones/ultron8/badge.svg?branch=master :target: https://coveralls.io/github/bossjones/ultron8?branch=master

.. image:: https://img.shields.io/pypi/v/ultron8.svg :target: https://pypi.python.org/pypi/ultron8

.. image:: https://img.shields.io/pypi/l/ultron8.svg :target: https://pypi.python.org/pypi/ultron8

.. image:: https://img.shields.io/pypi/pyversions/ultron8.svg :target: https://pypi.python.org/pypi/ultron8

.. image:: https://img.shields.io/badge/STAR_Me_on_GitHub!--None.svg?style=social :target: https://github.com/bossjones/ultron8

.. image:: https://requires.io/github/bossjones/ultron8/requirements.svg?branch=master :target: https://requires.io/github/bossjones/ultron8/requirements/?branch=master :alt: Requirements Status


.. image:: https://img.shields.io/badge/Link-Document-blue.svg :target: https://ultron8.readthedocs.io/index.html

.. image:: https://img.shields.io/badge/Link-API-blue.svg :target: https://ultron8.readthedocs.io/py-modindex.html

.. image:: https://img.shields.io/badge/Link-Source_Code-blue.svg :target: https://ultron8.readthedocs.io/py-modindex.html

.. image:: https://img.shields.io/badge/Link-Install-blue.svg :target: install_

.. image:: https://img.shields.io/badge/Link-GitHub-blue.svg :target: https://github.com/bossjones/ultron8

.. image:: https://img.shields.io/badge/Link-Submit_Issue-blue.svg :target: https://github.com/bossjones/ultron8/issues

.. image:: https://img.shields.io/badge/Link-Request_Feature-blue.svg :target: https://github.com/bossjones/ultron8/issues

.. image:: https://img.shields.io/badge/Link-Download-blue.svg :target: https://pypi.org/pypi/ultron8#files

Why ULTRON-8?

.. image:: ./images/ultron-8-by-George-Perez.jpg

Welcome to ultron8 Documentation

Documentation for ultron8.

.. _install:

Install

ultron8 is released on PyPI, so all you need is:

.. code-block:: console

$ pip install ultron8

To upgrade to latest version:

.. code-block:: console

$ pip install --upgrade ultron8

.. code-block:: console export PYENV_ROOT="$HOME/.pyenv" export PATH="$PYENV_ROOT/shims:$PYENV_ROOT/bin:$PATH" eval "$(pyenv init -)" eval "$(pyenv virtualenv-init -)"

.. _testing:

Local Testing

ultron8 can be tested locally if you have all of the correct dependencies installed, simply run:

.. code-block:: console

$ pipenv run pip install -e .

To run local tests, first start up the web server:

.. code-block:: console

$ make serve-daemon

Then run pytest using our wrapper script:

.. code-block:: console

$ make ci-local

Resources

https://www.reddit.com/r/PhotoshopRequest/comments/a7fzua/specific_photoshop_this_picture_of_ultron/

Project structure

.. code-block:: console

.
├── bin                            - small utility executables
├── contrib                        - user contributions
├── docs                           - documentation
├── example_notebooks              - notebooks to better understand how fastapi works
├── git_hooks                      - git hookes for contributors
├── hacking                        - local development scripts for manipulating project
├── images                         - repo images
├── lint-configs-python            - linter files
│   └── python                     - pylintrc, mypy, etc configs
├── make                           - make tasks
├── script                         - utility scripts, for ci etc
├── tasks                          - pyinvoke python scripts
├── tests                          - (tests) pytest
│   ├── api                        - (tests) web related stuff
│   │   ├── api_v1                 - (tests)
│   │   ├── crud                   - (tests)
│   │   └── utils                  - (tests)
│   ├── commands                   - (tests)
│   ├── config                     - (tests)
│   ├── constants                  - (tests)
│   ├── core                       - (tests)
│   ├── fixtures                   - (tests)
│   │   ├── isolated_config_dir    - (tests)
│   │   └── simple                 - (tests)
│   │       └── packs              - (tests)
│   │
│   ├── ssl                        - (tests)
│   ├── u8client                   - (tests)
│   │   └── models                 - (tests)
│   └── utils                      - (tests)
│
│
│
│
├── ultron8                        - application folder
│   ├── api                        - web related stuff
│   │   ├── api_v1                 - v1 web api
│   │   │   └── endpoints          - web routes
│   │   ├── core                   - application configuration, statup events, logging
│   │   │   ├── base               -
│   │   │   ├── pagination         -
│   │   │   └── trigger            -
│   │   ├── crud                   - all crud stuff
│   │   ├── db                     - db related stuff
│   │   │   ├── pagination         -
│   │   │   └── u_sqlite           -
│   │   ├── db_models              - sqlalchemy database models
│   │   ├── depends                - dependencies for routes definition.
│   │   ├── email-templates        - email templates
│   │   │   └── src                -
│   │   ├── factories              - factories
│   │   ├── middleware             - fastapi custom middlewares
│   │   │   └── logging            -
│   │   ├── models                 - pydantic models for this application.
│   │   │   └── system             -
│   │   │
│   │   ├── templates              - fastapi templates
│   │   ├── utils                  - fastapi utils
│   │   └── views                  - fastapi views
│   │
│   ├── commands                   - click commands for ultronctl
│   ├── config                     - ultronctl config functions
│   ├── constants                  - project wide constants
│   ├── core                       - click commands core
│   ├── docs                       - (to be deleted) ????????????
│   ├── exceptions                 - apllication exceptions
│   ├── migrations                 - alembic migrations
│   ├── serialize                  - functions and classes responsible for converting structured data to a format that allows sharing of data.
│   │   └── runstate               -
│   ├── static                     - more images
│   ├── u8client                   - ultron8 client used for programatic api calls ( base on github3.py )
│   │   ├── models                 - ( base on github3.py )
│   │   ├── structs                - ( base on github3.py )
│   │   └── utils                  - ( base on github3.py )
│   └── utils                      - global utils
└── vagrant                        -