Skip to main content

A python prerender

Project description

pyprerender

A python prerenderer

About

Intended to be a fully replaceable prerender alternative. For now it is very barebones and does not support the majority of the features.

Install instructions

To install, you can simply use pip:

pip install pyprerender

To install a git version, simply do this:

git clone https://github.com/thingiesmm/pyprerender.git
pip install ./pyprerender/

Run instructions

After installing just run pyprerender-api.py (You may need to set your chrome bin location by running CHROME_LOCATION=/my/chrome/location pyprerender-api.py)

Then you can test it by running curl "0.0.0.0:8080/render?url=https://example.com"

Contributing

TODO

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

pyprerender-0.0.9-py3-none-any.whl (6.9 kB view details)

Uploaded Python 3

File details

Details for the file pyprerender-0.0.9-py3-none-any.whl.

File metadata

  • Download URL: pyprerender-0.0.9-py3-none-any.whl
  • Upload date:
  • Size: 6.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.6.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.7.7

File hashes

Hashes for pyprerender-0.0.9-py3-none-any.whl
Algorithm Hash digest
SHA256 8bd7fa973731510ef5a825fcaeac32b8d1a9feb3e82318fe252c8e67184b5ce6
MD5 8c0991817cb937a7918da30abd65c1b4
BLAKE2b-256 72ce1336f9cbf48e5f9b4d5df6a40947ee5eacd6b918ee4c502b84fa63154889

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page