Skip to main content

The goal of this project is to make pytorch easier to use.

This project has been archived.

The maintainers of this project have marked this project as archived. No new releases are expected.

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pstorch-0.1.5.tar.gz (6.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pstorch-0.1.5-py3-none-any.whl (7.1 kB view details)

Uploaded Python 3

File details

Details for the file pstorch-0.1.5.tar.gz.

File metadata

  • Download URL: pstorch-0.1.5.tar.gz
  • Upload date:
  • Size: 6.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.7.19

File hashes

Hashes for pstorch-0.1.5.tar.gz
Algorithm Hash digest
SHA256 d75f4cc183dd92df72145a73b25605177b8d1cd55dd20673d6094f948dbc23de
MD5 65374d6da8975cbb07e64d433bdc3cf5
BLAKE2b-256 6859e939fca9e535ea0282d74d8042f1fd76b94ac00ff65c0e388b353200b7f3

See more details on using hashes here.

File details

Details for the file pstorch-0.1.5-py3-none-any.whl.

File metadata

  • Download URL: pstorch-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 7.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.7.19

File hashes

Hashes for pstorch-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 32f448d7c67e3fdfc2ca21da58fe582b95f724954591e81e5321daa89bb8ad96
MD5 01df31fb3699def80fb3536b4690b72f
BLAKE2b-256 a24f0c9e6a0c3df23c7e8dc9a0ffa9993fd1cb89c0aa57a5384165bc9b32b61e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page