CLI tool to automate the submisison of tp timesheets
Project description
TP-Timesheet
Automated submission of TP timesheets
Installation
Install
This tool is published on pypi so from any terminal with python3 installed run:
pip install tp-timesheet
Note: some outdated OS's still require pip3 instead of pip. If you get an error Unknown command: pip
then try the following:
pip3 install tp-timesheet
Upgrade
pip install --upgrade tp-timesheet
Uninstall
pip uninstall tp-timesheet
Usage
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-1.2.0.tar.gz
(14.9 kB
view details)
Built Distribution
File details
Details for the file tp-timesheet-1.2.0.tar.gz
.
File metadata
- Download URL: tp-timesheet-1.2.0.tar.gz
- Upload date:
- Size: 14.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0fa3c54b88b004a1407958e26e2d1622d7ef30d15a73cd833d8b0c991d9343de |
|
MD5 | 30e8a2ab4571e4c1cf250d06c4821660 |
|
BLAKE2b-256 | bb36ea37e39b6d98a4f710370e2692f2176408e34f449cae7252b3e85221fb19 |
File details
Details for the file tp_timesheet-1.2.0-py3-none-any.whl
.
File metadata
- Download URL: tp_timesheet-1.2.0-py3-none-any.whl
- Upload date:
- Size: 16.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c78471cac772c7e86d9cf87912e4c700db64c7510782b3c057859f60aa3652e4 |
|
MD5 | ff317aabe4939b08280031bd2189796c |
|
BLAKE2b-256 | b640c9f2bf2c7ec3393de9a821414f0f294f9f97faf6c070008920c4d23c3e0d |