Pythumbnail
What is Pythumbnail?
Pythumbnail is a quick thumbnail creator for python codes. You can get an overview of the available functions, for/while loops and if conditions without even running the code.
Suppose you have the following python file:
class someclass:
def __init__(self):
self.a = 10
def do_something(self):
for i in range(len(self.a)):
if i == 2:
print(i)
def do_something_else(self, num):
while self.a < 100:
self.a += num
Here is a small example to show what Pythumbnail could do (Python 3):
import pythumbnail
file = pythumbnail.read_file('some_file.py')
print(file.tree)
The output will look like:
'File some_file.py()'
'class someclass()'
'def __init__(self)'
'def do_something(self)'
'for i in range(len(self.a))'
'if[i,2] LOGIC: [==]'
'def do_something_else(self,num)'
'while[self.a,100] LOGIC: [<]'
Quick Start
To install Pythumbnail, you need python version 3.6.0 or above. Pythumbnail could be installed from pypi:
$ python3 -m pip install pythumbnail
Running Pythumbnail:
import pythumbnail
Documentation
Full documentation is available here
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
License
Metadata
Release files for pythumbnail 0.0.9
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 |
|---|---|---|---|---|
| pythumbnail-0.0.9.tar.gz | 6.2 kB | Without provenance | Details for pythumbnail-0.0.9.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pythumbnail-0.0.9-py3-none-any.whl | Python 3 | none | any | Details for pythumbnail-0.0.9-py3-none-any.whl |
Total release size: 17.7 kB
Release files / pythumbnail-0.0.9.tar.gz
| Download URL | pythumbnail-0.0.9.tar.gz |
|---|---|
| Size | 6.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cea536c6c206f97d0796ebc0513dc3810b53b1a5a58c328b9e16cb068de55151
|
|
BLAKE2b-256 checksum How to use checksums |
54de0d7eb9836402e1d5e9790208bc7b0592b863f7311934f795409f160cbb78
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.0
|
Release files / pythumbnail-0.0.9-py3-none-any.whl
| Download URL | pythumbnail-0.0.9-py3-none-any.whl |
|---|---|
| Size | 11.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0222538d6361a0a9c02b7b38cec2d9648faf176098f42c8161ff4dc9e59a7485
|
|
BLAKE2b-256 checksum How to use checksums |
0782e9639eba4ff5b9fc8d5ebddf2881383125fe22da593309a3f6f47c84ea8f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.0
|
Security for pythumbnail 0.0.9
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.