Usain Boltz
Usain Boltz is a Python/Cython library meant to automate the random generation of tree-like structures.
The library was primarily designed to be used with the Sagemath mathematics software system but Sagemath is no longer a dependency and the library is now perfectly usable both within and without a Sagemath environment.
Install
Via pip (recommended)
Usain Boltz is available on PyPI, just type:
pip3 install usainboltz
From source
System requirements:
-
One of our dependencies requires
cmaketo build. It is installed by default on most distributions but if you encounter build errors withosqpthat may be the reason. -
You also need to have
cythoninstalled on your system to be able to build Usain Boltz.
Build, test and install:
- Run
make buildto build theCandCythonextensions - Run
make testto run the doctests - Run
python3 setup.py install [--user]to install in your current python environment
Sagemath
Both installation methods make Usain Boltz available to Sagemath
Documentation
Provided you have sphinx installed, you can
build the documentation with make doc.
Examples and demo
Some examples are available in the examples and sage_examples modules in
the documentation. In particular, the sage_examples module illustrates how
Usain Boltz can be used to generate sage objects.
A sage notebook is available in the demo/ folder which shows how Usain Boltz
can be used to generate various objects related to binary trees from the same
grammar and generator.
Metadata
Release files for usainboltz 0.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| usainboltz-0.2.1.tar.gz | 52.2 kB | Without provenance | Details for usainboltz-0.2.1.tar.gz |
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| usainboltz-0.2.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl | CPython 3.10 | CPython 3.10 | Linux glibc 2.17+ x86-64 | Details for usainboltz-0.2.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
| usainboltz-0.2.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl | CPython 3.9 | CPython 3.9 | Linux glibc 2.17+ x86-64 | Details for usainboltz-0.2.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
| usainboltz-0.2.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl | CPython 3.8 | CPython 3.8 | Linux glibc 2.17+ x86-64 | Details for usainboltz-0.2.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
Total release size: 3.9 MB
Release files / usainboltz-0.2.1.tar.gz
| Download URL | usainboltz-0.2.1.tar.gz |
|---|---|
| Size | 52.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
68a4aabf38d584fb9c96e8f1ea0c9e770c131a71610c5ee8ced81713f8472d17
|
|
BLAKE2b-256 checksum How to use checksums |
b0a8da91a6f708bf38b3468472ea22f3f41e546bd1228616d6dbaadb8f0f2ff7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.7
|
Release files / usainboltz-0.2.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | usainboltz-0.2.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 1.3 MB |
| Tags | CPython 3.10 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
30ae0e75f19ed8bb7f59e7b87b6bd7fce30131713bb9b1ef8922bd9b1d4333ce
|
|
BLAKE2b-256 checksum How to use checksums |
a1e55bd6ec8447798f3688e43105879a50ecdf04cc884452f54c23f88a99393d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.7
|
Release files / usainboltz-0.2.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | usainboltz-0.2.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 1.3 MB |
| Tags | CPython 3.9 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
ef17358086f0204dcd60cbdce64b67ead5346025dc63181e29f3142d0d3c88a2
|
|
BLAKE2b-256 checksum How to use checksums |
be9ce8f8bfc177670fd87faa42fc3c1bb9c02cc8c3fda315d0995614fbdb839b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.7
|
Release files / usainboltz-0.2.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | usainboltz-0.2.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 1.3 MB |
| Tags | CPython 3.8 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
c78a254bedc7289bc8e8edc1e1376ea0d945c78f5011d1536948e0702cf05c0a
|
|
BLAKE2b-256 checksum How to use checksums |
364fc913f7257d0bee793178b3f4c5b78318df66784dda9e0d05667bce950ee9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.7
|
Security for usainboltz 0.2.1
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.