Skip to main content

datasette-sqlite-url-lite

PyPI Changelog Tests License

A pure Python alternative to sqlite-url ready to be used in Datasette Lite

Installation

Install this plugin in the same environment as Datasette.

datasette install datasette-sqlite-url-lite

Or add it to Datasette Lite with https://lite.datasette.io/?install=datasette-sqlite-url-lite.

Usage

This plugin adds the following SQL functions:

select url_valid('https://sqlite.org'); -- 1
select url_scheme('https://www.sqlite.org/vtab.html#usage'); -- 'https'
select url_host('https://www.sqlite.org/vtab.html#usage'); -- 'www.sqlite.org'
select url_path('https://www.sqlite.org/vtab.html#usage'); -- '/vtab.html'
select url_fragment('https://www.sqlite.org/vtab.html#usage'); -- 'usage'

Development

To set up this plugin locally, first checkout the code. Then create a new virtual environment:

cd datasette-sqlite-url-lite
python3 -m venv venv
source venv/bin/activate

Now install the dependencies and test dependencies:

pip install -e '.[test]'

To run the tests:

pytest

Metadata

Release files for datasette-sqlite-url-lite 0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for datasette-sqlite-url-lite 0.1
File Size Uploaded Provenance Actions
datasette-sqlite-url-lite-0.1.tar.gz 6.8 kB Without provenance Details for datasette-sqlite-url-lite-0.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for datasette-sqlite-url-lite 0.1
File Interpreter ABI Platform Actions
datasette_sqlite_url_lite-0.1-py3-none-any.whl Python 3 none any Details for datasette_sqlite_url_lite-0.1-py3-none-any.whl

Total release size: 13.7 kB

Release files / datasette-sqlite-url-lite-0.1.tar.gz

Download URL datasette-sqlite-url-lite-0.1.tar.gz
Size 6.8 kB
Tags Source
SHA-256 checksum
How to use checksums
c906348faf14b7a18b71238c7f8b60f2da5ad5ead95c49a904794014026a8b23
BLAKE2b-256 checksum
How to use checksums
5982b6b54a4573cdb0b8a437fb74615624d537b6cf92f0164e0eb13647d1574f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.3

Release files / datasette_sqlite_url_lite-0.1-py3-none-any.whl

Download URL datasette_sqlite_url_lite-0.1-py3-none-any.whl
Size 6.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f502b4529ceddb151e10b9779ca801699b6bf84a44e88130d880d958d3695ead
BLAKE2b-256 checksum
How to use checksums
a792eb9280ceb81a5935a176c175807bad91285d5aca8c49cf40ccc5ab699bb0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.3

Security for datasette-sqlite-url-lite 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.

Release history Release notifications | RSS feed

This release

0.1 This release

2 release files No provenance

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