Skip to main content

Home for board configs

Project description

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.

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

naluconfigs-17.6.1.tar.gz (67.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

naluconfigs-17.6.1-py3-none-any.whl (147.9 kB view details)

Uploaded Python 3

File details

Details for the file naluconfigs-17.6.1.tar.gz.

File metadata

  • Download URL: naluconfigs-17.6.1.tar.gz
  • Upload date:
  • Size: 67.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for naluconfigs-17.6.1.tar.gz
Algorithm Hash digest
SHA256 e6b4d22c9629db9aa2dbad0047cac0aebcc85f1cf8c2e9af489c71f67eaffa86
MD5 df820b162f95935650fb5ce692e03208
BLAKE2b-256 fbb381b340d8b82a33705bbd02c8d55006a63fda2940a0850a27d0e6c21f35ba

See more details on using hashes here.

File details

Details for the file naluconfigs-17.6.1-py3-none-any.whl.

File metadata

  • Download URL: naluconfigs-17.6.1-py3-none-any.whl
  • Upload date:
  • Size: 147.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for naluconfigs-17.6.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6ecd4c6390cf2b760e6e0cd3a7357f65ccd1ba7de55e3171fe1c64ba13b13467
MD5 f29cf57769fc63e49c83e6568f1f4d6c
BLAKE2b-256 c44c7e3a8ac01edca9bdf0d6ce95d9d9decba584c844cdeacb77a0fb602f8c46

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page