js.url_parser
Introduction
This library packages url-parser for fanstatic.
This requires integration between your web framework and fanstatic, and making sure that the original resources (shipped in the resources directory in js.url_parser) are published to some URL.
How to use?
This should be setup before rendering a page. See fanstatic for more information:
>>> from fanstatic import init_needed >>> needed = init_needed(base_url='http://localhost')
You can import url_parser from js.url_parser and need it where you want these resources to be included on a page:
>>> from js.url_parser import url_parser >>> url_parser.need()
Render the inclusion:
>>> print needed.render() <script type="text/javascript" src="http://localhost/fanstatic/url-parser/url-parser.js"></script>
CHANGES
1.1.0 (unreleased)
Initial release.
Metadata
Release files for js.url_parser 1.1.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 |
|---|---|---|---|---|
| js.url_parser-1.1.0.tar.gz | 8.0 kB | Without provenance | Details for js.url_parser-1.1.0.tar.gz |
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| js.url_parser-1.1.0-py2.7.egg | Legacy Egg format | - | - | Details for js.url_parser-1.1.0-py2.7.egg |
| js.url_parser-1.1.0-py2-none-any.whl | Python 2 | none | any | Details for js.url_parser-1.1.0-py2-none-any.whl |
Total release size: 27.6 kB
Release files / js.url_parser-1.1.0.tar.gz
| Download URL | js.url_parser-1.1.0.tar.gz |
|---|---|
| Size | 8.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f6bd804b4f1b6465983454d1d2575ae07a5a6ee783bf4ffc787b8b6805a361d7
|
|
BLAKE2b-256 checksum How to use checksums |
c08c243452148258026c3b72fe6896f93a6a19e6a0702e7abb2abe58aaaec6a6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / js.url_parser-1.1.0-py2.7.egg
| Download URL | js.url_parser-1.1.0-py2.7.egg |
|---|---|
| Size | 9.2 kB |
| Tags | Egg |
|
SHA-256 checksum How to use checksums |
63584d8bce11a0a0635243eea95d0c4c7ad1bad9a6b05f3584198c97a8aedd5f
|
|
BLAKE2b-256 checksum How to use checksums |
ac1bd3d1907b717574ffa755e380296607a8b252f49bbd2a8e12d760b6e89f82
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / js.url_parser-1.1.0-py2-none-any.whl
| Download URL | js.url_parser-1.1.0-py2-none-any.whl |
|---|---|
| Size | 10.4 kB |
| Tags | Python 2 |
|
SHA-256 checksum How to use checksums |
59ac6b589178cf6cfecc8deeb08e56debde44ea501507a3c8b369ce11fcb0d43
|
|
BLAKE2b-256 checksum How to use checksums |
81aa041a4e5d731760010ac6a9ef2c1d73459a4f443cf9649c5b8c65352004a9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for js.url_parser 1.1.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.