A tasks manager for those who like work from shell.
Project description
DailyTasks
A tasks manager for those who like work from shell.
Installation
Requirements:
- Python >= 3.11
How install it:
pip install dailytasks
Update process
-
Before update this package execute
dailytasks export
command to save all your data.1.1. Provide a path to the command (with
-p
option) is required for it execution, this path is where your data will be saved.1.2. This command will create a json file named 'exported_tasks' in the path provided path.
-
After update execute
dailytasks import
command to restore all your data.2.1. Provide the path provided before (with
-p
option) and all your data will be restore.This is because when you update the CLI, data folder (data_files) is overwritten and all your data deleted.
How to add tasks from a json file
Execute dailytasks import --help
to get information about import cmd options.
import options:
-
Normal:
dailytasks import -p C:\where\you\export\tasks\are
-
Personalized (A better name is welcome):
dailytasks import -a -f your_json_file_name -d key_that_contains_the_descriptions -p C:\where\you\json\file\is
-a
: Activate this option.-f
: To pass name of your json file.-d
: The text you want as description should be in a object, in a key-value pair, to this option you will pass key of that key-value pair.-p
: To pass path where you json file is.
Testing
Running tests locally:
-
Clone this repository.
-
cd into your clone.
-
Use
pytest test
to run all tests, usepytest test/test_file_name
to run individual tests. -
If you get errors around missing daily_task module, reinstall package using
pip install dailytasks
.
Contributing
Read Contributing file and make whatever question in Discussions.
Thanks to:
Krishnag09 for contributing closing #2 and #8 issues.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file dailytasks-2.2.0.tar.gz
.
File metadata
- Download URL: dailytasks-2.2.0.tar.gz
- Upload date:
- Size: 17.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c72f2c78257e1b5f2bc3613647ea401697111bc4b4e92004a3e8978ad8581d7e |
|
MD5 | e68b2e4bde09e81d91b3061ea448575b |
|
BLAKE2b-256 | e1a072a0c5069f8be2c1ee8ea748a46f357ed777bfe487bdf57af9c4414f9d1d |
File details
Details for the file dailytasks-2.2.0-py3-none-any.whl
.
File metadata
- Download URL: dailytasks-2.2.0-py3-none-any.whl
- Upload date:
- Size: 18.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6e79e330d51b69933a0fe6788fec0b40f84561b91314ebbf70440fc9a7a46945 |
|
MD5 | 653eb5664b4352ba022321c965916d68 |
|
BLAKE2b-256 | 05c31b4d912c0f466e1bf860d469f63c8fb7710a54e86e184c2fc374d6d7b6db |