Skip to main content

Por favor

PyPI Build Status

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)

Source distribution for porfavor 0.6.0
File Size Uploaded
porfavor-0.6.0.tar.gz 433.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for porfavor 0.6.0
File Interpreter ABI Platform
porfavor-0.6.0-py2.py3-none-any.whl Python 2, Python 3 none any Details

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

Release history Release notifications | RSS feed

This release

0.6.0 This release

2 release files

0.5.1

2 release files

0.5.0

2 release files

0.4.1

2 release files

0.4.0

2 release files

0.3.0

2 release files

0.2.0

1 release file

0.0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page