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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d49a4fece4ad235ada3144340e02ae6209cc4d09b22b9497596ce97d27e5f798
|
|
| MD5 |
dadc704ef4ff8ffbbd20a259a8f6d917
|
|
| BLAKE2b-256 |
16a59eef2213b22325380a4e1779b1b6708a59fed883b7c5723d58c2dacc1d34
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
aac_rest_api-0.1.6.tar.gz -
Subject digest:
d49a4fece4ad235ada3144340e02ae6209cc4d09b22b9497596ce97d27e5f798 - Sigstore transparency entry: 153207486
- Sigstore integration time:
-
Permalink:
DevOps-MBSE/aac-rest-api@6062266418839db1f275375f72f37e805696fc6e -
Branch / Tag:
refs/heads/main - Owner: https://github.com/DevOps-MBSE
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-deploy-artifacts.yml@6062266418839db1f275375f72f37e805696fc6e -
Trigger Event:
push
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
62b8b1a19a7fe2a4fcd53e4790156917fae4cf9a3039b45e93847bf51684ff0f
|
|
| MD5 |
3d2b130c2615b05f6866e05b4805e03f
|
|
| BLAKE2b-256 |
2aa7cf890093b2608a925d8242f49415fa16800e4efa6f91e39651d68224489e
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
aac_rest_api-0.1.6-py3-none-any.whl -
Subject digest:
62b8b1a19a7fe2a4fcd53e4790156917fae4cf9a3039b45e93847bf51684ff0f - Sigstore transparency entry: 153207487
- Sigstore integration time:
-
Permalink:
DevOps-MBSE/aac-rest-api@6062266418839db1f275375f72f37e805696fc6e -
Branch / Tag:
refs/heads/main - Owner: https://github.com/DevOps-MBSE
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-deploy-artifacts.yml@6062266418839db1f275375f72f37e805696fc6e -
Trigger Event:
push
-
Statement type: