eratos-as-api 4.5.0


pip install eratos-as-api

  Latest version

Released: Jun 06, 2025

Project Links

Meta
Author: Mac Coombe
Maintainer: Eratos
Requires Python: >=3.7

Classifiers

Development Status
  • 3 - Alpha

Intended Audience
  • Developers

License
  • OSI Approved :: MIT License

Natural Language
  • English

Operating System
  • POSIX

Programming Language
  • Python :: 3
  • Python :: 3.7
  • Python :: 3.8
  • Python :: 3.9
  • Python :: 3.10
  • Python :: 3.11
  • Python :: 3.12

Topic
  • Scientific/Engineering :: Information Analysis

Unit testing:

Unit tests may be run with the following command:

python -m unittest discover

Unit testing with Docker

With this method, you can test using the same environment that as-models-api natively runs in.

By default, we provide a docker-compose.yml file that will run the unittests on both Python 2.7 and Python 3.5

To run the tests on the working copy of your source:

docker-compose up

The first run will take a while to pull down and build the images. Subsequent runs should be very fast.

Coverage Reporting:

Coverage reporting is handled by the Python coverage library. If necessary, it can be installed as follows:

sudo pip install coverage

An HTML coverage report can then be generated with these commands:

coverage run -m unittest discover
coverage html

The results will be placed in the '/htmlcov' directory.

Wheel compatibility matrix

Platform Python 3
any

Files in release

Extras:
Dependencies:
flask (==2.2.3)
werkzeug (<3.0.0,>=2.2.2)