dstr
Developer Guide
Setup
# create conda environment
$ mamba env create -f env.yml
# update conda environment
$ mamba env update -n dstr --file env.yml
Install
pip install -e .
# install from pypi
pip install dstr
nbdev
# activate conda environment
$ conda activate dstr
# make sure the dstr package is installed in development mode
$ pip install -e .
# make changes under nbs/ directory
# ...
# compile to have changes apply to the dstr 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/dstr.git
or from conda
$ conda install -c dsm-72 dstr
or from pypi
$ pip install dstr
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 dstr 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| dstr-0.0.1.tar.gz | 16.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| dstr-0.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 39.3 kB
Release files / dstr-0.0.1.tar.gz
| Download URL | dstr-0.0.1.tar.gz |
|---|---|
| Size | 16.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
906d54c6ce3384da8e8900cbbc2544a627934587db2e5cd3febabe762bb3e3c6
|
|
BLAKE2b-256 checksum How to use checksums |
1468bb6375f505d0eb1159b0153c40c60b58421fb00c828a851ff97f6bb5b3a0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.4
|
Release files / dstr-0.0.1-py3-none-any.whl
| Download URL | dstr-0.0.1-py3-none-any.whl |
|---|---|
| Size | 22.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4a4bc0fc27318262f7b705e38cbb3734e088bcc6411d708a48bd42e6c90cb510
|
|
BLAKE2b-256 checksum How to use checksums |
0ac80b4dd572c1a3a63207996de040c258927e453b2318a15aad712585975044
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.4
|