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
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
npc_sync-0.2.5.tar.gz
(31.2 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
npc_sync-0.2.5-py3-none-any.whl
(27.3 kB
view details)
File details
Details for the file npc_sync-0.2.5.tar.gz.
File metadata
- Download URL: npc_sync-0.2.5.tar.gz
- Upload date:
- Size: 31.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
uv/0.11.29 {"installer":{"name":"uv","version":"0.11.29","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}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5ed1781a6e146eaf0c10353a6035ea4357cc39c529871c868efee8abc152b7c8
|
|
| MD5 |
d5610ad86a1a70081ee511a52b2eeefc
|
|
| BLAKE2b-256 |
6d446b1e4b8975cc82a1b1fc18233cfa868233af6065546fcc67837057007fa4
|
File details
Details for the file npc_sync-0.2.5-py3-none-any.whl.
File metadata
- Download URL: npc_sync-0.2.5-py3-none-any.whl
- Upload date:
- Size: 27.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
uv/0.11.29 {"installer":{"name":"uv","version":"0.11.29","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}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0233e509f4c9e56f698d2c0837b35458e1ee17eaa322ef02a4f903f727fb089b
|
|
| MD5 |
e749f4031b8bb6103590e4f1f73d1d2b
|
|
| BLAKE2b-256 |
e9b8d32574c8f2fdfe92f35a6dd10e557f857d916577de5da6f22e1f27aaa186
|