Por favor
Publishing static documentation the easiest way possible!
Install
$ pip install porfavor
Use
On the server side, you should run the matching server-side implementation. It listens to any client and puts the given documentation in its right place.
On the server, run:
$ pip install porfavor
...
$ porfavor serve . # replace '.' with the desired working directory
...
Now, to deploy documentation on the server, all you have to do is running
porfavor publish with the right arguments:
$ # porfavor publish <server's URL> \
> <project name> \
> <documentation root>
$ porfavor publish localhost:5000 my_amazing_project docs/_build/html/
Zipping content of folder 'docs/_build/html'... DONE!
Publishing content for project 'my_amazing_project'... DONE!
Alternatively, you can write the following script, to make deployment more automatic:
from porfavor import publish
if __name__ == '__main__':
publish(host="localhost:5000",
project="project_name",
file_or_directory="root_dir")
Metadata
Release files for porfavor 0.6.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 |
|---|---|---|---|---|
| porfavor-0.6.0.tar.gz | 433.5 kB | Without provenance | Details for porfavor-0.6.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| porfavor-0.6.0-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details for porfavor-0.6.0-py2.py3-none-any.whl |
Total release size: 870.5 kB
Release files / porfavor-0.6.0.tar.gz
| Download URL | porfavor-0.6.0.tar.gz |
|---|---|
| Size | 433.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0bacfdaf7dc49fc66c0f27187ba95fd9190717210cb508ef4f6048f377f492ad
|
|
BLAKE2b-256 checksum How to use checksums |
07b04ae047debcd06c7255e4eff0a39a8f6a51319d6f770fd60504d4f8e4c902
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.6.3
|
Release files / porfavor-0.6.0-py2.py3-none-any.whl
| Download URL | porfavor-0.6.0-py2.py3-none-any.whl |
|---|---|
| Size | 437.0 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
2400c81cb1b1de56deb6d79bd1ef13947851e6845fcf39b1df5f85cf82854355
|
|
BLAKE2b-256 checksum How to use checksums |
3494c159a112993f5c280f769ad944f9727657f6e81851c4952d2f58b9cc9032
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.6.3
|
Security for porfavor 0.6.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.