Skip to main content

Specification plugin for AaC

Project description

aac-spec

Specification and requirement tracing plugins 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/puml/.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_spec-0.1.6.tar.gz (8.4 kB view details)

Uploaded Source

Built Distribution

aac_spec-0.1.6-py3-none-any.whl (7.1 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for aac_spec-0.1.6.tar.gz
Algorithm Hash digest
SHA256 904e32287664676f0a902844ad78dc18602e66eb9c20338b1b50527520385ca4
MD5 c45cbfc8d4a7abab43895d1327b6490d
BLAKE2b-256 67c78883963194be029f9177c670f34b6e77fc577d1535b86610db6a2c440a35

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for aac_spec-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 95bae7ae063add7a113d3368d49fd36957edb66a51fd4379da2205ef776fd24f
MD5 5ce2267c6b56dbc426de10d7b69659f9
BLAKE2b-256 1a917e83e6c20352b1f65623140cb9b8ac4def98c190937ba1e07e4c1dae0e5f

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