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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file tp-timesheet-1.0.1.tar.gz.
File metadata
- Download URL: tp-timesheet-1.0.1.tar.gz
- Upload date:
- Size: 13.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c04e81a0a33be4d457ace4e93d67f336964af0a52ee50ee6f47d9e9768b618ee
|
|
| MD5 |
a683b250f5727468ecda7255f8aaf05d
|
|
| BLAKE2b-256 |
ed66ccda57fe30a4f60939de4db245a060ae90c6809006afa0e91af150f81e1f
|
File details
Details for the file tp_timesheet-1.0.1-py3-none-any.whl.
File metadata
- Download URL: tp_timesheet-1.0.1-py3-none-any.whl
- Upload date:
- Size: 15.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 |
3c5bf6b3a6ecbbcf05a1ab8928f7f859b6709d97f24991808950b9cb2e276543
|
|
| MD5 |
304cbc8b496135f58dde02125f8a4ac4
|
|
| BLAKE2b-256 |
3e305062a7b04ecdcf8762cc3a7d87f88afa8533e865efa42537c011a1a093ec
|