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.6.tar.gz (17.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for aac_rest_api-0.1.6.tar.gz
Algorithm Hash digest
SHA256 d49a4fece4ad235ada3144340e02ae6209cc4d09b22b9497596ce97d27e5f798
MD5 dadc704ef4ff8ffbbd20a259a8f6d917
BLAKE2b-256 16a59eef2213b22325380a4e1779b1b6708a59fed883b7c5723d58c2dacc1d34

See more details on using hashes here.

Provenance

The following attestation bundles were made for aac_rest_api-0.1.6.tar.gz:

Publisher: python-deploy-artifacts.yml on DevOps-MBSE/aac-rest-api

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

  • Download URL: aac_rest_api-0.1.6-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.7

File hashes

Hashes for aac_rest_api-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 62b8b1a19a7fe2a4fcd53e4790156917fae4cf9a3039b45e93847bf51684ff0f
MD5 3d2b130c2615b05f6866e05b4805e03f
BLAKE2b-256 2aa7cf890093b2608a925d8242f49415fa16800e4efa6f91e39651d68224489e

See more details on using hashes here.

Provenance

The following attestation bundles were made for aac_rest_api-0.1.6-py3-none-any.whl:

Publisher: python-deploy-artifacts.yml on DevOps-MBSE/aac-rest-api

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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