Skip to main content

agileupbom

Python 3.8+ project to manage AgileUP pipeline bill-of-materials with the following features:

  • Linux and Windows compatible project.
  • Defines BOM model.
  • Manages bom yaml in S3 compatible storage.

Prerequisites

This project uses poetry is a tool for dependency management and packaging in Python. It allows you to declare the libraries your project depends on, it will manage (install/update) them for you.

Use the installer rather than pip installing-with-the-official-installer.

poetry self add poetry-bumpversion
poetry -V
Poetry (version 1.2.0)

Windows Path

Install poetry from powershell in admin mode.

(Invoke-WebRequest -Uri https://install.python-poetry.org -UseBasicParsing).Content | py -

The path will be C:\Users\<YOURUSER>\AppData\Roaming\Python\Scripts\poetry.exe which will will need to add to your system path.

Windows GitBash

When using gitbash you can setup an alias for the poetry command:

alias poetry="\"C:\Users\<YOURUSER>\AppData\Roaming\Python\Scripts\poetry.exe\""

Getting Started

poetry update
poetry install

Run

poetry run agileupbom

Lint

poetry run flake8

Test

poetry run pytest

Publish

  • By default we are using PYPI packages.
  • Create yourself an access token for PYPI and then follow the instructions.
export PYPI_USERNAME=__token__ 
export PYPI_PASSWORD=<Your API Token>
poetry publish --build --username $PYPI_USERNAME --password $PYPI_PASSWORD

Versioning

We use SemVer for versioning. For the versions available, see the tags on this repository.

Releasing

We are using poetry-bumpversion to manage release versions.

poetry version patch

Dependency

Once the release has been created it is now available for you to use in other python projects via:

pip install agileupbom

And also for poetry projects via:

poetry add agileupbom

Contributing

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.

License

This project is licensed under the Apache License, Version 2.0 - see the LICENSE file for details

Metadata

Release files for agileupbom 0.0.12

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for agileupbom 0.0.12
File Size Uploaded
agileupbom-0.0.12.tar.gz 4.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for agileupbom 0.0.12
File Interpreter ABI Platform
agileupbom-0.0.12-py3-none-any.whl Python 3 none any Details

Total release size: 10.0 kB

Release files / agileupbom-0.0.12.tar.gz

Download URL agileupbom-0.0.12.tar.gz
Size 4.5 kB
Tags Source
SHA-256 checksum
How to use checksums
de893d39026818020b664f79360933031e2a85d7b3ee8942c85469f702bb7091
BLAKE2b-256 checksum
How to use checksums
97247fac4a51256c85b946eaed66344d8726e36dc566ba009a20e44cf3eaf67a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.2.0 CPython/3.9.2 Linux/5.18.0-14parrot1-amd64

Release files / agileupbom-0.0.12-py3-none-any.whl

Download URL agileupbom-0.0.12-py3-none-any.whl
Size 5.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3124f8ec7c0e1b991accc46f6321ff30d9d21544eb651b73db7bbfc176dd2850
BLAKE2b-256 checksum
How to use checksums
482302b841b9b14d338de160fb6827e531f5de17a82b3bae9e36ca6ab7878022
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.2.0 CPython/3.9.2 Linux/5.18.0-14parrot1-amd64

Release history Release notifications | RSS feed

This release

0.0.12 This release

2 release files

0.0.11

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page