ptrc
Developer Guide
Setup
# create conda environment
$ mamba env create -f env.yml
# update conda environment
$ mamba env update -n ptrc --file env.yml
Install
pip install -e .
# install from pypi
pip install ptrc
nbdev
# activate conda environment
$ conda activate ptrc
# make sure the ptrc package is installed in development mode
$ pip install -e .
# make changes under nbs/ directory
# ...
# compile to have changes apply to the ptrc package
$ nbdev_prepare
Publishing
# 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:
$ pip install git+https://github.com/dsm-72/ptrc.git
or from conda
$ conda install -c dsm-72 ptrc
or from pypi
$ pip install ptrc
Documentation
Documentation can be found hosted on GitHub repository pages. Additionally you can find package manager specific guidelines on conda and pypi respectively.
PyTorch Documentation:
TorchData- How to Package PyTorch Models
torch.monitor.Eventtorchvisiontorchvision.Datasets.VisionDatasettorchvision.utils.flow_to_image
PyTorch Models to Consider:
Metadata
Release files for ptrc 0.0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| ptrc-0.0.5.tar.gz | 38.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ptrc-0.0.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 80.8 kB
Release files / ptrc-0.0.5.tar.gz
| Download URL | ptrc-0.0.5.tar.gz |
|---|---|
| Size | 38.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4534e7e5971e079565a7c4f066f8fac9d2d5f33a8cfb95c3228ab7fa5e15675b
|
|
BLAKE2b-256 checksum How to use checksums |
3dd0d4727f10397d58d017d3aa13bdeaae1613adbed25ecc9da7f6cfa0ad85ce
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.6
|
Release files / ptrc-0.0.5-py3-none-any.whl
| Download URL | ptrc-0.0.5-py3-none-any.whl |
|---|---|
| Size | 42.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b3d1550f80e7351ceade7738b121430a36d1cbd463dd6c7c9fa7184f34d04dd1
|
|
BLAKE2b-256 checksum How to use checksums |
facf7ce3eea99fe24f2105f3c9fd4a631e5d74c96917411b0f67bf526b351f17
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.6
|