Metadata-Version: 2.1
Name: npc_session
Version: 0.1.4
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
Project-URL: Repository, https://github.com/AllenInstitute/npc_session
Project-URL: Issues, https://github.com/AllenInstitute/npc_session/issues
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
Provides-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.

[![Python
Versions](https://img.shields.io/pypi/pyversions/npc_session.svg)](https://pypi.python.org/pypi/npc-session/)
## 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

```
