pytakeout 0.1.0
pip install pytakeout
Latest version
Released:
Simplifies Python code extraction
Navigation
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: BSD License (BSD 3-Clause License)
- Author: Igor `idle sign` Starikov
Classifiers
- Development Status
- License
- Operating System
- Programming Language
Project description
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)
Project details
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: BSD License (BSD 3-Clause License)
- Author: Igor `idle sign` Starikov
Classifiers
- Development Status
- License
- Operating System
- Programming Language
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file pytakeout-0.1.0.tar.gz
.
File metadata
- Download URL: pytakeout-0.1.0.tar.gz
- Upload date:
- Size: 9.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b983960c32152b67e768c57cea9e5613f54ee854a287679edd31b4a2864dfa61 |
|
MD5 | ec0b3ea249b13e6083e50f9ed47c0c0e |
|
BLAKE2b-256 | f2ac8686d50bccbfda187eafd38035c1c123291aacb8e555661bbfb7b2d4b126 |
File details
Details for the file pytakeout-0.1.0-py2.py3-none-any.whl
.
File metadata
- Download URL: pytakeout-0.1.0-py2.py3-none-any.whl
- Upload date:
- Size: 5.0 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | dbe595ad2e60dcd87640fbae365c355080b741d05a865d197232f985229b8328 |
|
MD5 | 8d10108f38268c50d1acae60cd62a494 |
|
BLAKE2b-256 | 882106cf425b75b87f29f2be50b71e7696402ecd75abf26179e7915ceea13505 |