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
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.2.2.tar.gz
(9.7 kB
view details)
Built Distribution
File details
Details for the file tp-timesheet-0.2.2.tar.gz
.
File metadata
- Download URL: tp-timesheet-0.2.2.tar.gz
- Upload date:
- Size: 9.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9d707eceb86b275c1b4888ac987b80d3fa6bf2d5d19a0d322a27191823d61f25 |
|
MD5 | 4f4ae1a55d67b57169e2dc069948e2e2 |
|
BLAKE2b-256 | 872629dd06735aa838f8b8bfa87d107a5ea5e9c2d25b1b8ef9f16544ca176fd6 |
File details
Details for the file tp_timesheet-0.2.2-py3-none-any.whl
.
File metadata
- Download URL: tp_timesheet-0.2.2-py3-none-any.whl
- Upload date:
- Size: 10.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7b45f17941100344f2b0942fd6f44188a4e6936376d998e27b7100791abe1032 |
|
MD5 | cbbb0943df09e0a5c385fcdd0027f146 |
|
BLAKE2b-256 | 23a262b1da00c8f881c3e1bbc0ffc4fecc30098b3b7cd198e6098d9faf7b6987 |