Skip to main content

CLI tool to automate the submisison of tp timesheets

Project description

TP-Timesheet

Build Status PyPI version PyPI license

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


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.2.tar.gz (11.3 kB view details)

Uploaded Source

Built Distribution

tp_timesheet-0.3.2-py3-none-any.whl (12.5 kB view details)

Uploaded Python 3

File details

Details for the file tp-timesheet-0.3.2.tar.gz.

File metadata

  • Download URL: tp-timesheet-0.3.2.tar.gz
  • Upload date:
  • Size: 11.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.0

File hashes

Hashes for tp-timesheet-0.3.2.tar.gz
Algorithm Hash digest
SHA256 e3e91164877ad34a81a3c1858814ccbc76df3ba04416ed62ad8aa89b03efab12
MD5 ce089020d43e0eb4107faebc52008a4e
BLAKE2b-256 52d20f7fe85765716e2e5292f7be144e331b9f506d510f6c10a5fa439800c8e3

See more details on using hashes here.

File details

Details for the file tp_timesheet-0.3.2-py3-none-any.whl.

File metadata

  • Download URL: tp_timesheet-0.3.2-py3-none-any.whl
  • Upload date:
  • Size: 12.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.0

File hashes

Hashes for tp_timesheet-0.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 d84ca6605c372a3bfd39873fe9d91e61846d4fcb8ae6be1335e8a81e97c3accb
MD5 76dd530ecf3cd48a469f28dc5520ee96
BLAKE2b-256 608062b412ac1f31d8b0de8b87fca1ffbcd863f24c953776262f0b248ddd8827

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page