CLI tool to automate the submisison of tp timesheets
Project description
TP-Timesheet
Automated submission of TP timesheets
Usage
This tool is published on pypi so from any terminal with python3 installed run:
pip install tp-timesheet
Then run the tool with the help option to find out additional usage information
tp-timesheet --help
Common cli options
# submit today
tp-timesheet --start today
# submit for next 5 days
tp-timesheet --start today --count 5
# submit for Mon 3/10/22 to Thursday 6/10/22
tp-timesheet --start '3/10/22' --count 5
# Schedule the form to submit automatically on weekdays
tp-timesheet --automate weekdays
# append '--verbose' to any command to get more log messages about what is going on
# append '--dry-run' to any command to avoid clicking submit. Good for testing
Development
Install the dev environment and run tool locally:
pip install -e .[dev]
tp-timesheet --help
Contributing
To run checks prior to committing
black --check --diff tp_timesheet # See what formatting changes need to be made
black tp_timesheet # Run formatter
pylint tp_timesheet # Run linter
pytest # Run testing
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
tp-timesheet-0.4.0.tar.gz
(12.2 kB
view details)
Built Distribution
File details
Details for the file tp-timesheet-0.4.0.tar.gz
.
File metadata
- Download URL: tp-timesheet-0.4.0.tar.gz
- Upload date:
- Size: 12.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a7f8f2616e0f3f49e98464f14463d3f3c3f9ecc91d09cd9ee2c4f1c51cb13627 |
|
MD5 | 0ff738b8be7793738a734e8e1c8ac181 |
|
BLAKE2b-256 | f5059fe30475d5640a8628483348606076beb9888b17d988a9530c99c834938a |
File details
Details for the file tp_timesheet-0.4.0-py3-none-any.whl
.
File metadata
- Download URL: tp_timesheet-0.4.0-py3-none-any.whl
- Upload date:
- Size: 13.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e1d12fec637ade01deb1864cbb33c6309f0c415aa53a0898e7f1914372475164 |
|
MD5 | 13127b26d5c4b416c04f909b81c0aae2 |
|
BLAKE2b-256 | 2f27396fdbe5ca13b729ff50f04469daf49aa2c575119736404744c903f15718 |