# pidx
<!-- WARNING: THIS FILE WAS AUTOGENERATED! DO NOT EDIT! -->
## Developer Guide
### Setup
``` sh
# create conda environment
$ mamba env create -f env.yml
# update conda environment
$ mamba env update -n pidx --file env.yml
```
### Install
``` sh
pip install -e .
# install from pypi
pip install pidx
```
### nbdev
``` sh
# activate conda environment
$ conda activate pidx
# make sure the pidx package is installed in development mode
$ pip install -e .
# make changes under nbs/ directory
# ...
# compile to have changes apply to the pidx package
$ nbdev_prepare
```
### Publishing
``` sh
# publish to pypi
$ nbdev_pypi
# publish to conda
$ nbdev_conda --build_args '-c conda-forge'
$ nbdev_conda --mambabuild --build_args '-c conda-forge -c dsm-72'
```
# Usage
## Installation
Install latest from the GitHub
[repository](https://github.com/dsm-72/pidx):
``` sh
$ pip install git+https://github.com/dsm-72/pidx.git
```
or from [conda](https://anaconda.org/dsm-72/pidx)
``` sh
$ conda install -c dsm-72 pidx
```
or from [pypi](https://pypi.org/project/pidx/)
``` sh
$ pip install pidx
```
## Documentation
Documentation can be found hosted on GitHub
[repository](https://github.com/dsm-72/pidx)
[pages](https://dsm-72.github.io/pidx/). Additionally you can find
package manager specific guidelines on
[conda](https://anaconda.org/dsm-72/pidx) and
[pypi](https://pypi.org/project/pidx/) respectively.
## NumPy Documentation:
- [`np.DataSource`](https://numpy.org/doc/stable/reference/generated/numpy.DataSource.html)
## PyTorch Documentation:
- [`TorchData`](https://pytorch.org/data/beta/index.html)
- [How to Package PyTorch
Models](https://pytorch.org/docs/stable/package.html)
- [`torch.monitor.Event`](https://pytorch.org/docs/stable/monitor.html#torch.monitor.Event)
- [`torchvision`](https://pytorch.org/vision/stable/index.html)
- [`torchvision.Datasets.VisionDataset`](https://pytorch.org/vision/stable/generated/torchvision.datasets.VisionDataset.html#torchvision.datasets.VisionDataset)
- [`torchvision.utils.flow_to_image`](https://pytorch.org/vision/stable/generated/torchvision.utils.flow_to_image.html)
## PyTorch Models to Consider:
- [Diffusion Video
AutoEncoders](https://github.com/man805/Diffusion-Video-Autoencoders)
- [ConvLSTM
AutoEncoder](https://holmdk.github.io/2020/04/02/video_prediction.html)
- [Recurrent All Pairs Field Transforms for Optical
Flow](https://github.com/princeton-vl/RAFT/blob/master/core/raft.py)
- [Optical Flow Toolbox
(`mmflow`)](https://github.com/open-mmlab/mmflow/blob/master/docs/en/intro.md)
- [`torchvision.models.optical_flow.raft`](https://github.com/pytorch/vision/blob/main/torchvision/models/optical_flow/raft.py)
Changelog: getdfidx getdfloc getdfiloc getdficat
getcatidx —\> getcidx getaidx getiloc dfdsloc —\> getloc getcats
getbiloc \# dfdsiloc
cat2bidx —\> wherecat cateqidx
cats2bidx —\> wherecats catseqidx
getcatiloc —\> getciloc \# getcatsiloc —^
geticat
idxiloc lociloc getloc —\> getsub
Raw data
{
"_id": null,
"home_page": "https://github.com/dsm-72/pidx",
"name": "pidx",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.11",
"maintainer_email": null,
"keywords": "pidx power pandas pd index",
"author": "dsm-72",
"author_email": "sumner.magruder@yale.edu",
"download_url": "https://files.pythonhosted.org/packages/43/18/618bc9a130d5f868386b78e532bb8d3b1595b46ef4944f233de04c5b2bce/pidx-0.0.15.tar.gz",
"platform": null,
"description": "# pidx\n\n<!-- WARNING: THIS FILE WAS AUTOGENERATED! DO NOT EDIT! -->\n\n## Developer Guide\n\n### Setup\n\n``` sh\n# create conda environment\n$ mamba env create -f env.yml\n\n# update conda environment\n$ mamba env update -n pidx --file env.yml\n```\n\n### Install\n\n``` sh\npip install -e .\n\n# install from pypi\npip install pidx\n```\n\n### nbdev\n\n``` sh\n# activate conda environment\n$ conda activate pidx\n\n# make sure the pidx package is installed in development mode\n$ pip install -e .\n\n# make changes under nbs/ directory\n# ...\n\n# compile to have changes apply to the pidx package\n$ nbdev_prepare\n```\n\n### Publishing\n\n``` sh\n# publish to pypi\n$ nbdev_pypi\n\n# publish to conda\n$ nbdev_conda --build_args '-c conda-forge'\n$ nbdev_conda --mambabuild --build_args '-c conda-forge -c dsm-72'\n```\n\n# Usage\n\n## Installation\n\nInstall latest from the GitHub\n[repository](https://github.com/dsm-72/pidx):\n\n``` sh\n$ pip install git+https://github.com/dsm-72/pidx.git\n```\n\nor from [conda](https://anaconda.org/dsm-72/pidx)\n\n``` sh\n$ conda install -c dsm-72 pidx\n```\n\nor from [pypi](https://pypi.org/project/pidx/)\n\n``` sh\n$ pip install pidx\n```\n\n## Documentation\n\nDocumentation can be found hosted on GitHub\n[repository](https://github.com/dsm-72/pidx)\n[pages](https://dsm-72.github.io/pidx/). Additionally you can find\npackage manager specific guidelines on\n[conda](https://anaconda.org/dsm-72/pidx) and\n[pypi](https://pypi.org/project/pidx/) respectively.\n\n## NumPy Documentation:\n\n- [`np.DataSource`](https://numpy.org/doc/stable/reference/generated/numpy.DataSource.html)\n\n## PyTorch Documentation:\n\n- [`TorchData`](https://pytorch.org/data/beta/index.html)\n- [How to Package PyTorch\n Models](https://pytorch.org/docs/stable/package.html)\n- [`torch.monitor.Event`](https://pytorch.org/docs/stable/monitor.html#torch.monitor.Event)\n- [`torchvision`](https://pytorch.org/vision/stable/index.html)\n- [`torchvision.Datasets.VisionDataset`](https://pytorch.org/vision/stable/generated/torchvision.datasets.VisionDataset.html#torchvision.datasets.VisionDataset)\n- [`torchvision.utils.flow_to_image`](https://pytorch.org/vision/stable/generated/torchvision.utils.flow_to_image.html)\n\n## PyTorch Models to Consider:\n\n- [Diffusion Video\n AutoEncoders](https://github.com/man805/Diffusion-Video-Autoencoders)\n- [ConvLSTM\n AutoEncoder](https://holmdk.github.io/2020/04/02/video_prediction.html)\n- [Recurrent All Pairs Field Transforms for Optical\n Flow](https://github.com/princeton-vl/RAFT/blob/master/core/raft.py)\n- [Optical Flow Toolbox\n (`mmflow`)](https://github.com/open-mmlab/mmflow/blob/master/docs/en/intro.md)\n- [`torchvision.models.optical_flow.raft`](https://github.com/pytorch/vision/blob/main/torchvision/models/optical_flow/raft.py)\n\nChangelog: getdfidx getdfloc getdfiloc getdficat\n\ngetcatidx \u2014\\> getcidx getaidx getiloc dfdsloc \u2014\\> getloc getcats\ngetbiloc \\# dfdsiloc\n\ncat2bidx \u2014\\> wherecat cateqidx\n\ncats2bidx \u2014\\> wherecats catseqidx\n\ngetcatiloc \u2014\\> getciloc \\# getcatsiloc \u2014^\n\ngeticat\n\nidxiloc lociloc getloc \u2014\\> getsub\n",
"bugtrack_url": null,
"license": "Apache Software License 2.0",
"summary": "power index pandas index",
"version": "0.0.15",
"project_urls": {
"Homepage": "https://github.com/dsm-72/pidx"
},
"split_keywords": [
"pidx",
"power",
"pandas",
"pd",
"index"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "f6b85ed5f1d441719648754ba95edf0de0808805556254af90bf8ad6d35d2210",
"md5": "bec70043161b67cae5d643e489a50a60",
"sha256": "d03b9dbe2211c816f296055e0053696c147469560d60bece88be08c56c378033"
},
"downloads": -1,
"filename": "pidx-0.0.15-py3-none-any.whl",
"has_sig": false,
"md5_digest": "bec70043161b67cae5d643e489a50a60",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.11",
"size": 25243,
"upload_time": "2024-04-06T14:09:09",
"upload_time_iso_8601": "2024-04-06T14:09:09.585784Z",
"url": "https://files.pythonhosted.org/packages/f6/b8/5ed5f1d441719648754ba95edf0de0808805556254af90bf8ad6d35d2210/pidx-0.0.15-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "4318618bc9a130d5f868386b78e532bb8d3b1595b46ef4944f233de04c5b2bce",
"md5": "2ac320c3a12393dbc8cbfc87d18c7db6",
"sha256": "7c4aeb1ae92c7a62170267c05bcc69b3601432d5d018d5cfc8b18fa766702139"
},
"downloads": -1,
"filename": "pidx-0.0.15.tar.gz",
"has_sig": false,
"md5_digest": "2ac320c3a12393dbc8cbfc87d18c7db6",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.11",
"size": 23691,
"upload_time": "2024-04-06T14:09:10",
"upload_time_iso_8601": "2024-04-06T14:09:10.908390Z",
"url": "https://files.pythonhosted.org/packages/43/18/618bc9a130d5f868386b78e532bb8d3b1595b46ef4944f233de04c5b2bce/pidx-0.0.15.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-04-06 14:09:10",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "dsm-72",
"github_project": "pidx",
"github_not_found": true,
"lcname": "pidx"
}