Skip to main content

Rest-API Plugin for AaC

Project description

rest-api

Rest-API Plugin for Architecture-as-Code

PYTHON VERSION COMPATIBILITY

Currently, Python version 3.9.13 is required to avoid certain dependency version issues.

pyproject.toml vs setup.py

Previously, this project was built with dependency information kept in a setup.py script. However, the preferred method is to use pyproject.toml to set the project-level options. Required modules are kept in the dependency sections of the pyproject.toml, and then the pip-compile command is used to add hashes to the requirements.txt file for enhanced security (see additional instructions below).

To coincide with these changes, some changes to tox.ini and the addition of a MANIFEST.ini file were also necessary.

These lines were added to tox.ini: isolated_build = True skipsdist = True

A MANIFEST file with these lines was added: graft src graft tests include tox.ini include src/rest-api/.aac

TO BUILD FROM TERMINAL

cd python pip install -e .

TO TEST FROM TERMINAL

cd python pip install -e . python -m unittest

Generate a requirements.txt file populated with hashes

pip install pip-tools pip-compile --generate-hashes pyproject.toml

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aac_rest_api-0.1.5.tar.gz (17.5 kB view details)

Uploaded Source

Built Distribution

aac_rest_api-0.1.5-py3-none-any.whl (13.0 kB view details)

Uploaded Python 3

File details

Details for the file aac_rest_api-0.1.5.tar.gz.

File metadata

  • Download URL: aac_rest_api-0.1.5.tar.gz
  • Upload date:
  • Size: 17.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.6

File hashes

Hashes for aac_rest_api-0.1.5.tar.gz
Algorithm Hash digest
SHA256 5269f86045e37a31c2614fcd38a0dac9772689f509ef9357ed15cc7e3a069269
MD5 456517301ece88b4778d30c69bbe504f
BLAKE2b-256 46651939cc4747f529b150aa7821ea48b147d04bcb0356b044f5b076823b278b

See more details on using hashes here.

File details

Details for the file aac_rest_api-0.1.5-py3-none-any.whl.

File metadata

  • Download URL: aac_rest_api-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 13.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.6

File hashes

Hashes for aac_rest_api-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 42dfc58873576f69ada6fcff410db3e485e3a3630b620fe87214f3e2c01b15a4
MD5 0351f30b12afa490510de27f22f3db88
BLAKE2b-256 66f563e59cd758a1cf7b1f30556d0b490a354f42b8cd3b04a374d77d00dcb1a3

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page