Skip to main content

aind-data-transfer-models

License Code Style semantic-release: angular Interrogate Coverage Python

Usage

For more detailed examples, please check out the readthedocs.

Installation

  • From pypi, run
pip install aind-data-transfer-models
  • From git, in the root directory, run
pip install -e .

To develop the code, run

pip install -e .[dev]

Contributing

Linters and testing

There are several libraries used to run linters, check documentation, and run tests.

  • Please test your changes using the coverage library, which will run the tests and log a coverage report:
coverage run -m unittest discover && coverage report
  • Use interrogate to check that modules, methods, etc. have been documented thoroughly:
interrogate .
  • Use flake8 to check that code is up to standards (no unused imports, etc.):
flake8 .
  • Use black to automatically format the code into PEP standards:
black .
  • Use isort to automatically sort import statements:
isort .

Pull requests

For internal members, please create a branch. For external members, please fork the repository and open a pull request from the fork. We'll primarily use Angular style for commit messages. Roughly, they should follow the pattern:

<type>(<scope>): <short summary>

where scope (optional) describes the packages affected by the code changes and type (mandatory) is one of:

  • build: Changes that affect build tools or external dependencies (example scopes: pyproject.toml, setup.py)
  • ci: Changes to our CI configuration files and scripts (examples: .github/workflows/ci.yml)
  • docs: Documentation only changes
  • feat: A new feature
  • fix: A bugfix
  • perf: A code change that improves performance
  • refactor: A code change that neither fixes a bug nor adds a feature
  • test: Adding missing tests or correcting existing tests

Semantic Release

The table below, from semantic release, shows which commit message gets you which release type when semantic-release runs (using the default configuration):

Commit message Release type
fix(pencil): stop graphite breaking when too much pressure applied Patch Fix Release, Default release
feat(pencil): add 'graphiteWidth' option Minor Feature Release
perf(pencil): remove graphiteWidth option

BREAKING CHANGE: The graphiteWidth option has been removed.
The default graphite width of 10mm is always used for performance reasons.
Major Breaking Release
(Note that the BREAKING CHANGE: token must be in the footer of the commit)

Metadata

Release files for aind-data-transfer-models 0.17.2

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

Source distribution (sdist)

Source distribution for aind-data-transfer-models 0.17.2
File Size Uploaded Provenance Actions
aind_data_transfer_models-0.17.2.tar.gz 51.7 kB Without provenance Details for aind_data_transfer_models-0.17.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for aind-data-transfer-models 0.17.2
File Interpreter ABI Platform Actions
aind_data_transfer_models-0.17.2-py3-none-any.whl Python 3 none any Details for aind_data_transfer_models-0.17.2-py3-none-any.whl

Total release size: 66.2 kB

Release files / aind_data_transfer_models-0.17.2.tar.gz

Download URL aind_data_transfer_models-0.17.2.tar.gz
Size 51.7 kB
Tags Source
SHA-256 checksum
How to use checksums
b2e93777eaa8a10a7e13615c5b4ee42a56df0f491bb542c42d877c0f2530f3f6
BLAKE2b-256 checksum
How to use checksums
8ba9e1d47af2db850ce7c8d06a796b8740972c22c8cdbc18eb7c1a44eb9fc28d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / aind_data_transfer_models-0.17.2-py3-none-any.whl

Download URL aind_data_transfer_models-0.17.2-py3-none-any.whl
Size 14.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e08ba4e2d38b72bbc61d0e8e0c834e9627d3e82ee547c1f3c00cd1d8bc875588
BLAKE2b-256 checksum
How to use checksums
e7d781b3cc0759019a6ca1635b854645f1f6b3153ad43d94db8a25107dbebfcd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Security for aind-data-transfer-models 0.17.2

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.

Release history Release notifications | RSS feed

This release

0.17.2 This release

2 release files No provenance

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