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
Metadata
Release files for aac-rest-api 0.1.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| aac_rest_api-0.1.6.tar.gz | 17.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| aac_rest_api-0.1.6-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 30.4 kB
Release files / aac_rest_api-0.1.6.tar.gz
| Download URL | aac_rest_api-0.1.6.tar.gz |
|---|---|
| Size | 17.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d49a4fece4ad235ada3144340e02ae6209cc4d09b22b9497596ce97d27e5f798
|
|
BLAKE2b-256 checksum How to use checksums |
16a59eef2213b22325380a4e1779b1b6708a59fed883b7c5723d58c2dacc1d34
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 4, 2024.
Transparency logRelease files / aac_rest_api-0.1.6-py3-none-any.whl
| Download URL | aac_rest_api-0.1.6-py3-none-any.whl |
|---|---|
| Size | 13.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
62b8b1a19a7fe2a4fcd53e4790156917fae4cf9a3039b45e93847bf51684ff0f
|
|
BLAKE2b-256 checksum How to use checksums |
2aa7cf890093b2608a925d8242f49415fa16800e4efa6f91e39651d68224489e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 4, 2024.
Transparency log