Skip to main content

xpmtd

This package is for keeping track of rawdata and derivatives directory structures. The core principle is that filepaths are deterministic following the NIU NeuroBlueprint principles (https://neuroblueprint.neuroinformatics.dev/latest/index.html)

Ideally, this package should free users from having to define paths to any of their data and provide a comfortable api for accessing different data.

TODO: combine with datashuttle

The user needs to specify the path to the root raw data, and the path to the root derivatives data and a mouse name.

This will then be used to look for and organise the different data sources, where they have been specified. E.g. for Behaviour, Neuropixels, and Histological data.

Some example code:

from metadata import MouseMetadata

rawdata_directory = "/path/to/rawdata/"
derivatives_directory = "/path/to/derivatives/"
mouse_id = "mouse_1"

metadata = MouseMetadata(
                           mouse_id,
                           rawdata_directory,
                           derivatives_directory,
                           )                           

This metadata object can then be used directly in different python scripts to access and generate filepaths of different types down to the session and run level when needed and only needs to be defined once per mouse. e.g.:

import run_behaviour analysis # (or whatever)
for s in metadata.sessions:
    behaviour_directory = s.behav_derivatives
    run_behaviour_analysis(behaviour_directory)

Metadata

Release files for xpmtd 0.1.5

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

Source distribution (sdist)

Source distribution for xpmtd 0.1.5
File Size Uploaded Provenance Actions
xpmtd-0.1.5.tar.gz 8.6 kB Without provenance Details for xpmtd-0.1.5.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for xpmtd 0.1.5
File Interpreter ABI Platform Actions
xpmtd-0.1.5-py3-none-any.whl Python 3 none any Details for xpmtd-0.1.5-py3-none-any.whl

Total release size: 15.0 kB

Release files / xpmtd-0.1.5.tar.gz

Download URL xpmtd-0.1.5.tar.gz
Size 8.6 kB
Tags Source
SHA-256 checksum
How to use checksums
f9278dc2c340d36d810cb077a1fe5bd377e7bbb819b987b0b19e35e30411857d
BLAKE2b-256 checksum
How to use checksums
295e6781e38b49a9d93715c6cb7a0ef894a603a4243c7103a1a02898a5d75505
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.10.0

Release files / xpmtd-0.1.5-py3-none-any.whl

Download URL xpmtd-0.1.5-py3-none-any.whl
Size 6.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
20b536dbc4afede9c2f19e3208f509764b0a281598a862d266af0a7858b9cb68
BLAKE2b-256 checksum
How to use checksums
45a7bca194a93683b3de1a06bdf31bc60ae05f5d12b437c0050e2d386ef15597
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.10.0

Security for xpmtd 0.1.5

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.

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