sqlite-utils-dateutil
Date utility functions for sqlite-utils.
Installation
Install this plugin in the same environment as sqlite-utils.
sqlite-utils install sqlite-utils-dateutil
Usage
This plugin adds a variety of SQL functions for parsing dates. For example:
sqlite-utils memory "select dateutil_parse('10 october 2020 3pm')" --table
Output:
dateutil_parse('10 october 2020 3pm')
---------------------------------------
2020-10-10T15:00:00
Consult the datasette-dateutil documentation for a full list of functions.
Development
To set up this plugin locally, first checkout the code. Then create a new virtual environment:
cd sqlite-utils-dateutil
python3 -m venv venv
source venv/bin/activate
Now install the dependencies and test dependencies:
pip install -e '.[test]'
To run the tests:
pytest
Release files for sqlite-utils-dateutil 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 | |
|---|---|---|---|
| sqlite-utils-dateutil-0.1.tar.gz | 7.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| sqlite_utils_dateutil-0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 14.9 kB
Release files / sqlite-utils-dateutil-0.1.tar.gz
| Download URL | sqlite-utils-dateutil-0.1.tar.gz |
|---|---|
| Size | 7.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
95993c63d1c02cfdff5772c51c724665a4b282ec956626f2b913ca58b8a6fff6
|
|
BLAKE2b-256 checksum How to use checksums |
01e7f0e369e3435325c2d52e5b03c2a8b97c01ae8e197e9f16e3af9fb0bc9bc0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.4
|
Release files / sqlite_utils_dateutil-0.1-py3-none-any.whl
| Download URL | sqlite_utils_dateutil-0.1-py3-none-any.whl |
|---|---|
| Size | 7.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5f679b61777115c06e22b8a24bbf89441de0e01c9e018328c33462f3124569f2
|
|
BLAKE2b-256 checksum How to use checksums |
f38cfe0e8ddad93e9f9bc244e2803f984afdf6245a7b077e7176b77656e857d0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.4
|