Metadata-Version: 2.1
Name: npc-session
Version: 0.1.0
Summary: Interfaces for working with behavior and epyhys sessions from the Mindscope Neuropixels team, in the cloud.
Author-email: Ben Hardcastle <ben.hardcastle@alleninstitute.org>
License: MIT
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: Microsoft :: Windows
Classifier: Operating System :: POSIX :: Linux
Requires-Python: >=3.9
Description-Content-Type: text/markdown
Requires-Dist: typing-extensions >=4.7.1
Provides-Extra: dev
Requires-Dist: pytest >=7.4.0 ; extra == 'dev'
Requires-Dist: ruff >=0.0.282 ; extra == 'dev'
Requires-Dist: pytest-cov >=4.1.0 ; extra == 'dev'
Requires-Dist: mypy >=1.4.1 ; extra == 'dev'

# npc_session
**n**euro**p**ixels **c**loud **session**

Interfaces for working with behavior and epyhys sessions from the
Mindscope Neuropixels team, in the cloud.

## quickstart

```bash
pip install npc_session
```

Parse a normalized IDs from a path or string:
```python
>>> from npc_session import SessionRecord;

>>> s = SessionRecord('//allen/programs/mindscope/workgroups/templeton/TTOC/2022-07-26_14-09-36_366122')
>>> s
'366122_2022-07-26'
>>> s.subject
366122
>>> s.date
'2022-07-26'
>>> s.date.year
2022

```
