NewPyFile
Create one[or more] python files from your CLI.
Installation
>>> pip install newpyfile
Documentation
>>> newpyfile file [file1...] """ Creates file.py in the current directory. """
>>> newpyfile file --path=path """ Creates file.py in the given as path directory. """
>>> newpyfile file --imports=a:b:c,d,e """ Creates a file in the current directory, importing from package a, subpackages c & d, and importing packages d & e """
>>> newpyfile file --path=path --imports=a:b:c,d,e """ Creates a file in the given as path directory, importing from package a, subpackages c & d, and importing packages d & e """
Example
>>> newpyfile file1 file2 --imports=datetime:datetime
Your folder now should contain file1.py & file2.py and each file will have from datetime import datetime
LICENSE
MIT License
Metadata
Release files for newpyfile 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| newpyfile-0.0.2.tar.gz | 3.0 kB | Without provenance | Details for newpyfile-0.0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| newpyfile-0.0.2-py3.8.egg | Legacy Egg format | - | - | Details for newpyfile-0.0.2-py3.8.egg |
Total release size: 7.7 kB
Release files / newpyfile-0.0.2.tar.gz
| Download URL | newpyfile-0.0.2.tar.gz |
|---|---|
| Size | 3.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a3c7d70cd56db389c3cc9fe6632aa9a8573494fa1e78bcc5d21f5fc7eb5ed08b
|
|
BLAKE2b-256 checksum How to use checksums |
699413249e0277cd5ad9d9fca5979eb330a0ad64b298723ac0b79b602f8fec56
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.37.0 CPython/3.8.0
|
Release files / newpyfile-0.0.2-py3.8.egg
| Download URL | newpyfile-0.0.2-py3.8.egg |
|---|---|
| Size | 4.7 kB |
| Tags | Egg |
|
SHA-256 checksum How to use checksums |
32e690916e9f0dd198dfa41392b897aa7d52a9ebe7ead9f847c88585d6576691
|
|
BLAKE2b-256 checksum How to use checksums |
56c2d657417770c5e726f1d30e12d8640a6c6d49dbc9d41c764c4f08e3af5e79
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.37.0 CPython/3.8.0
|
Security for newpyfile 0.0.2
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.