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.3.0.tar.gz
(10.3 kB
view details)
Built Distribution
File details
Details for the file tp-timesheet-0.3.0.tar.gz
.
File metadata
- Download URL: tp-timesheet-0.3.0.tar.gz
- Upload date:
- Size: 10.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 533d645fef17cb027cb91ab13bd693a9abcd013c932cd6b8d322ba8d5b5f64da |
|
MD5 | b005287abff1a3a7f47341218a4c4563 |
|
BLAKE2b-256 | cb5d29c148863ea965d5aec36c299e0923a09ca2988c61badb12c7fa20d3933f |
File details
Details for the file tp_timesheet-0.3.0-py3-none-any.whl
.
File metadata
- Download URL: tp_timesheet-0.3.0-py3-none-any.whl
- Upload date:
- Size: 11.3 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 | 6d9b5e8bf4099a369558bc60260782014fef909214e8bc039c481a0560a89a93 |
|
MD5 | 945aea33a26069743192018b5bf8c210 |
|
BLAKE2b-256 | 600eaad0c3f32eb14f5e72c67544afc37402a2eacd7d0a84135bdfa686fd65a7 |