(Py)thon (H)ypertext (P)reprocessor
I want PHP style 'quick' template execution, but with Python instead.
Warning: Currently very insecure. Do not use.
Credit
I stole a lot of code from stackoverflow. Thanks to @aarondewindt for helping make this a reality.
Setup
You can set it up for local development with:
-
Fork this repository & clone your fork to your local machine.
-
Setup a virtual environment in your clone:
python3 -m venv venv source venv/bin/activate
-
Install the
pyhppackagepip install -e .
-
Run
pyhp!python3 -m pyhp.app
This should serve the contents of the current directory. You can try going to
http://localhost:5000/hi.pyhpto test it out.
Metadata
Release files for pyhp-hypertext-preprocessor 0.1
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 | |
|---|---|---|---|---|
| pyhp-hypertext-preprocessor-0.1.tar.gz | 4.9 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pyhp_hypertext_preprocessor-0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 11.1 kB
Release files / pyhp-hypertext-preprocessor-0.1.tar.gz
| Download URL | pyhp-hypertext-preprocessor-0.1.tar.gz |
|---|---|
| Size | 4.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a2c11f87dc3f7ed80fb870580091a3e6bb82a7131fcaa6e727a25edc8fdfddcd
|
|
BLAKE2b-256 checksum How to use checksums |
f92b9587bbca3269709cc2b643f46b0f46a92dc28d246b256f8eed634f70fa7d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.9.0
|
Release files / pyhp_hypertext_preprocessor-0.1-py3-none-any.whl
| Download URL | pyhp_hypertext_preprocessor-0.1-py3-none-any.whl |
|---|---|
| Size | 6.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3332318523e843e5281056e013f2e38cf3a102b379c630d53690024227e5dc2a
|
|
BLAKE2b-256 checksum How to use checksums |
24acd3c615c007b5c85d40cf650cd3ab5196e4bd0eeec770a0065bd38b436c58
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.9.0
|
Security for pyhp-hypertext-preprocessor 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.