ticktick-to-sqlite
Import TickTick data into a SQLite database
Installation
Install this tool using pip:
pip install ticktick-to-sqlite
Usage
Pre-requisite:
-
Register your application.
-
Assuming you have a TickTick account, register your app and create a
client_idandclient_secret.@lazeroffmichael (author of
ticktick-py) wrote a easy to follow "Get Started" instructions to set up your app.
-
-
(Recommended) Set enviornment variables for your login credentials:
TICKTICK_USERNANE- Your TickTick usernameTICKTICK_PASSWORD- Your TickTick password
For help, run:
ticktick-to-sqlite --help
You can also use:
python -m ticktick_to_sqlite --help
Authenticate
Store app settings for OAuth.
(venv) $ ticktick-to-sqlite auth
Register your application and obtain: "Client ID", "Client Secret", and pick a "Redirect URL". Paste it here:
Client ID: your_client_id
Client Secret: your_client_secret
Redirect URL: https://127.0.0.1
Tasks
Save your uncompleted tasks.
ticktick-to-sqlite tasks ticktick.db
Save your completed tasks for a specified time range (ex. between Dec 31st, 2023 and Jan 31st, 2024).
ticktick-to-sqlite completed-tasks ticktick.db 2023-12-31 --end-date 2024-01-31
Tags
Save your tags.
ticktick-to-sqlite tags ticktick.db
Projects
Save your projects (aka "Lists").
ticktick-to-sqlite projects
Save your project folders (aka "List Folders").
ticktick-to-sqlite project-folders
Development
To contribute to this tool, first checkout the code. Then create a new virtual environment:
cd ticktick-to-sqlite
python -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 ticktick-to-sqlite 0.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 |
|---|---|---|---|---|
| ticktick-to-sqlite-0.1.0.tar.gz | 8.5 kB | Without provenance | Details for ticktick-to-sqlite-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ticktick_to_sqlite-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for ticktick_to_sqlite-0.1.0-py3-none-any.whl |
Total release size: 17.8 kB
Release files / ticktick-to-sqlite-0.1.0.tar.gz
| Download URL | ticktick-to-sqlite-0.1.0.tar.gz |
|---|---|
| Size | 8.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
246b62b421ad1b58e4d61a70b558be42f74e726c76055ad22f0ddb0d75dee7e5
|
|
BLAKE2b-256 checksum How to use checksums |
080b1f26fd8ecb837ee518bfd65b9f0e1ce5134aff83c809e6afb0cfe329706e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.12.1
|
Release files / ticktick_to_sqlite-0.1.0-py3-none-any.whl
| Download URL | ticktick_to_sqlite-0.1.0-py3-none-any.whl |
|---|---|
| Size | 9.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f0f734e25984d306900a095656de1542359b757b2626678ba20c28edc23f38cb
|
|
BLAKE2b-256 checksum How to use checksums |
0d4152924c23aded36b2684800073a892b9a26fc898bb3ede2dd7b5f1d161da7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.12.1
|
Security for ticktick-to-sqlite 0.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.