offliner
Fetch a page’s assets into a folder so you can serve it offline with any static HTTP server.
Install
pip install offliner
python -m playwright install chromium
Usage
offliner --verbose https://example.com/
offliner -d ./my-offline https://example.com/
python -m offliner -h
Publish to PyPI (maintainers)
From this directory (python/):
-
Account & token — Create an account on PyPI and an API token (scope: whole account or project
offliner). -
Build (use a clean env or
pip install --upgrade build twine):cd python python -m build
This produces
dist/offliner-<version>-py3-none-any.whlanddist/offliner-<version>.tar.gz. -
Upload (TestPyPI first is optional but recommended):
# TestPyPI twine upload --repository testpypi dist/* # Production PyPI twine upload dist/*
When prompted, username is
__token__and password is your API token (pypi-...). -
Bump version in
pyproject.tomlbefore each new release; PyPI rejects re-uploading the same version.
Optional: configure ~/.pypirc with [pypi] and username = __token__ / password = pypi-... to skip typing the token each time.
Metadata
Release files for offliner 0.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 | |
|---|---|---|---|---|
| offliner-0.0.1.tar.gz | 7.4 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| offliner-0.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 15.4 kB
Release files / offliner-0.0.1.tar.gz
| Download URL | offliner-0.0.1.tar.gz |
|---|---|
| Size | 7.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
880cf5a1043c8b2921326226dbc405f3b07b80a8a9460775fea7fff9c298233b
|
|
BLAKE2b-256 checksum How to use checksums |
3ee3995925874fc3bce967d6d8f35a0ca623d65a5a56f053c37fed507bbbf9f3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.3
|
Release files / offliner-0.0.1-py3-none-any.whl
| Download URL | offliner-0.0.1-py3-none-any.whl |
|---|---|
| Size | 8.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7b95e3eae1e7e2c65197a3a82cab69547dd60c9eba08e6fa62ba032c2688db7c
|
|
BLAKE2b-256 checksum How to use checksums |
f76f1dada9e42a4ad9938ac52e34b37d21dd35c2973ca6ac221b9d72a426da03
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.3
|
Security for offliner 0.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.