ApolloRoboto.Constants
This is a utility library containing a collection of constant numbers making them easy to access and explore. This repository aims at generating source codes to multiple languages and publish them.
It's a learning project, my main motivation was to explore the chalenges of code generation and publishing them to multiple code repotitory.
Currently Supported Language:
C# Example Usage:
using System;
using static ApolloRoboto.Constants.Math;
public class Program
{
public void Main(string[] args)
{
Console.WriteLine(PI * GOLDEN_RATIO)
}
}
Python example usage:
from ARConstants.Math import *
print(PI * GOLDEN_RATIO)
Contributing
Workflows are configured to regenerate and publish code at each changes.
All constant numbers are declared in the constants.yaml file.
To generate the code locally, use the generate.py script
python ./generate.py
If you make a pull request, please increment the version number in meta.yaml by 0.0.1
Metadata
Release files for arconstants 0.3.0
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 |
|---|---|---|---|---|
| arconstants-0.3.0.tar.gz | 8.4 kB | Without provenance | Details for arconstants-0.3.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| arconstants-0.3.0-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details for arconstants-0.3.0-py2.py3-none-any.whl |
Total release size: 58.3 kB
Release files / arconstants-0.3.0.tar.gz
| Download URL | arconstants-0.3.0.tar.gz |
|---|---|
| Size | 8.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
dfd5ce9c3e7a96dfdde75afb506559033fbba45bbc0a8cf59b1f1ee6143c0329
|
|
BLAKE2b-256 checksum How to use checksums |
de8079a021e1d921f6ccd0a2513af236a8da463f83dcb61aed91ccf143861023
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.6
|
Release files / arconstants-0.3.0-py2.py3-none-any.whl
| Download URL | arconstants-0.3.0-py2.py3-none-any.whl |
|---|---|
| Size | 50.0 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
31ac164e57a29d76414191533708d17b14220e98245d9170bfa68feb19e15853
|
|
BLAKE2b-256 checksum How to use checksums |
6a43b9fbcfd56835c977d2e3ade06361e42abe869bd29a8b73fdb6ecb3a087ec
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.6
|
Security for arconstants 0.3.0
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.