pytakeout
https://github.com/idlesign/pytakeout
Description
Simplifies Python code extraction
With this you can easily:
extract function/method/class source code;
perform basic code transformations;
save code into a file.
Sample
from pytakeout import extract_code, code_to_file
def func_to_extract():
# This function needs to be extracted.
return True
# Extract code as a string.
code = extract_code(func_to_extract)
# Save it into a temporary file.
tmp_code_file = code_to_file(code)
Metadata
Release files for pytakeout 0.1.0
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 |
|---|---|---|---|---|
| pytakeout-0.1.0.tar.gz | 9.7 kB | Without provenance | Details for pytakeout-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pytakeout-0.1.0-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details for pytakeout-0.1.0-py2.py3-none-any.whl |
Total release size: 14.8 kB
Release files / pytakeout-0.1.0.tar.gz
| Download URL | pytakeout-0.1.0.tar.gz |
|---|---|
| Size | 9.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b983960c32152b67e768c57cea9e5613f54ee854a287679edd31b4a2864dfa61
|
|
BLAKE2b-256 checksum How to use checksums |
f2ac8686d50bccbfda187eafd38035c1c123291aacb8e555661bbfb7b2d4b126
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / pytakeout-0.1.0-py2.py3-none-any.whl
| Download URL | pytakeout-0.1.0-py2.py3-none-any.whl |
|---|---|
| Size | 5.0 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
dbe595ad2e60dcd87640fbae365c355080b741d05a865d197232f985229b8328
|
|
BLAKE2b-256 checksum How to use checksums |
882106cf425b75b87f29f2be50b71e7696402ecd75abf26179e7915ceea13505
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for pytakeout 0.1.0
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.