Skip to main content

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:

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)

Source distribution for ptrc 0.0.5
File Size Uploaded
ptrc-0.0.5.tar.gz 38.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ptrc 0.0.5
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

0.0.5 This release

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page