npc_sync
Repackaging of AllenSDK.SyncDataset with extra functionality, compatible with data in the cloud.
Usage
conda create -n npc_sync python>=3.9
conda activate npc_sync
pip install npc_sync
Python
>>> import npc_sync
>>> d = npc_sync.SyncDataset('s3://aind-ephys-data/ecephys_676909_2023-12-14_12-43-11/behavior_videos/20231214T124311.h5')
>>> d.line_labels[0]
'barcode_ephys'
>>> d.validate(opto=True, audio=True)
# note: some methods from the original `SyncDataset` are now property getters, including `line_labels`
Development
See instructions in https://github.com/AllenInstitute/npc_sync/CONTRIBUTING.md and the original template: https://github.com/AllenInstitute/copier-pdm-npc/blob/main/README.md
Metadata
Release files for npc-sync 0.2.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| npc_sync-0.2.6.tar.gz | 31.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| npc_sync-0.2.6-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 59.0 kB
Release files / npc_sync-0.2.6.tar.gz
| Download URL | npc_sync-0.2.6.tar.gz |
|---|---|
| Size | 31.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
dba0f5de7f4e449346eff3ca26d4e4dbd6c9d7f43c98f01f5039c31f504f1558
|
|
BLAKE2b-256 checksum How to use checksums |
c319b32b947b7801ce03e20efea71eb6765d88948e84fcae3d365805252d3910
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.21 {"installer":{"name":"uv","version":"0.12.21","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / npc_sync-0.2.6-py3-none-any.whl
| Download URL | npc_sync-0.2.6-py3-none-any.whl |
|---|---|
| Size | 27.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
42277d62a966b34f930de66dc3ab031719432bc945bdd8f4981f72859df605e5
|
|
BLAKE2b-256 checksum How to use checksums |
54cee1ae1c0e653f08721801dda87f5300f633cbdc64052df9337c8a37debc91
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.21 {"installer":{"name":"uv","version":"0.12.21","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|