Skip to main content
Archived

This project has been archived by its maintainers, and is no longer receiving any updates.

pstorch

Generate a ready-to-run PyTorch project in seconds.

Install

pip install pstorch

Python

import pstorch

pstorch.generate(
    name="pytorch",
    input_dim=784,
    output_dim=10,
    hidden=[256, 128],
    metrics=["accuracy", "loss"],
    prod=False,
)

Then run the boilerplate:

python main.py

CLI

pstorch generate pytorch --input-dim 784 --output-dim 10 --hidden 256,128 --metrics accuracy,loss

Defaults example:

pstorch generate

Named default example:

pstorch generate pytorch

Output:

src/
    __init__.py
    config.py
    models.py
    data.py
    train.py
    predict.py
main.py
requirements.txt

Metadata

Release files for pstorch 0.1.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pstorch 0.1.6
File Size Uploaded
pstorch-0.1.6.tar.gz 6.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pstorch 0.1.6
File Interpreter ABI Platform
pstorch-0.1.6-py3-none-any.whl Python 3 none any Details

Total release size: 13.5 kB

Release files / pstorch-0.1.6.tar.gz

Download URL pstorch-0.1.6.tar.gz
Size 6.3 kB
Tags Source
SHA-256 checksum
How to use checksums
652324fc1239092084220800c2e6dcb4e47743e68cf14bc3a5e2e804b9bc1f98
BLAKE2b-256 checksum
How to use checksums
127aced8d647920afe69b94c5dd30789b1097fef3587595983e17c86b7fcdfa4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.7.19

Release files / pstorch-0.1.6-py3-none-any.whl

Download URL pstorch-0.1.6-py3-none-any.whl
Size 7.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a5d9df0a7d87c1c36ca75bb114ff2274fe4cc73844039eae14e0abc61c267300
BLAKE2b-256 checksum
How to use checksums
ac751876715c0a2f79f2bbd743313b4273d43a11cbca1412743f04be659aac4a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.7.19
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