NaluConfigs
This repository houses all board configuration files (both register files and clock files).
Installation
Generally you don't have to install this repository unless you plan to change anything.
If you do however want to install this package, the best way is to use our PyPI package:
pip install naluconfigs
Developer Installation
To install this reposity for development the best way is to clone and install as an editable package.
First clone this repository to a suitable location:
git clone https://github.com/NaluScientific/naluconfigs.git
Then install the package into your Anaconda environment:
cd naluconfigs
pip install -e .
Usage
In addition to the default board configuration files and clock files, the naluconfigs package
also contains functions to load or copy these files. Check out the package to see what you can do!
Developers
Install this package as editable, and with development extras:
cd naluconfigs
pip install -e .[dev]
Make sure to read the YAML HELP.md file if you're new, or haven't kept up with NaluConfigs.
This project follows a X.Y.Z version scheme according to the following:
- Add/remove register files, increment X
- register adds / remove, increment Y
- register edits and/or value edits increment Z
Pre-commit
This project uses pre-commit hooks to make sure the code is following the style guide. To install the pre-commit hooks, run the following command:
pre-commit install
The hooks will run automatically when you commit changes to the repository.
The code MUST run the pre-commit hooks before commiting. If the hooks fail, the commit will be rejected.
Tests
The tests are located under the naluconfigs/tests/ directory, and use pytest.
To run the tests, run naluconfigs/run_tests.bat. This will run the tests and also generate a coverage report to
naluconfigs/coverage.xml.
Make sure to keep the test coverage at 100%. This is doable, since NaluConfigs is a relatively simple package. The Coverage Gutters extension is highly recommended to monitor test coverage.
Metadata
Release files for naluconfigs 18.4.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 |
|---|---|---|---|---|
| naluconfigs-18.4.1.tar.gz | 73.9 kB | Without provenance | Details for naluconfigs-18.4.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| naluconfigs-18.4.1-py3-none-any.whl | Python 3 | none | any | Details for naluconfigs-18.4.1-py3-none-any.whl |
Total release size: 234.6 kB
Release files / naluconfigs-18.4.1.tar.gz
| Download URL | naluconfigs-18.4.1.tar.gz |
|---|---|
| Size | 73.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
53871673609006422905f3340307ae568ff2bfb54a65f578e58131118375704c
|
|
BLAKE2b-256 checksum How to use checksums |
6dc9f006e867dcf3abae3df07d382131fff5f6b2cb8920afc4d7ca719bb6b764
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Release files / naluconfigs-18.4.1-py3-none-any.whl
| Download URL | naluconfigs-18.4.1-py3-none-any.whl |
|---|---|
| Size | 160.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a2f985d7e08d811d3ca508275a397fc5bc764b4cbe29eba5bc3f7dc2c11fff1b
|
|
BLAKE2b-256 checksum How to use checksums |
790f6a3fd1c2625126dcd93597d03c934e75f8b3afaa74bd3e7887e5da306451
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Security for naluconfigs 18.4.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.