Skip to main content

Model2src

Convert pytorch model to source file.

Installation

For pip

pip install model2src

Usage

from torchvision.models import vgg16
from model2src import model2src
model = vgg16()
model2src(model)

Of course, you can also convert yourself's models as well.

Metadata

Release files for model2src 0.0.1

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

Source distribution (sdist)

Source distribution for model2src 0.0.1
File Size Uploaded Provenance Actions
model2src-0.0.1.tar.gz 3.0 kB Without provenance Details for model2src-0.0.1.tar.gz

Built distribution (wheel)

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

Total release size: 6.9 kB

Release files / model2src-0.0.1.tar.gz

Download URL model2src-0.0.1.tar.gz
Size 3.0 kB
Tags Source
SHA-256 checksum
How to use checksums
299a1e3cde7ec9dc725ef4e98f36757df9d6ed28cffb858e9992987b218582f6
BLAKE2b-256 checksum
How to use checksums
68f088f00566e76aa31b077742e80829e260e8e0bc010567f05f268e93a2b3b4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.24.0 CPython/3.7.3

Release files / model2src-0.0.1-py3-none-any.whl

Download URL model2src-0.0.1-py3-none-any.whl
Size 3.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9eb93bb0bb8851ccda000a0addcc88645888ed0767ecea10bf039f789fe6d4e4
BLAKE2b-256 checksum
How to use checksums
9a14d2d07c6091dde40f5fff09b146dd0bfabde4fb08afdede4fa4e36f2feee9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.24.0 CPython/3.7.3

Security for model2src 0.0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files No provenance

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