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

Uploaded Source

Built Distribution

tp_timesheet-0.2.3-py3-none-any.whl (11.2 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for tp-timesheet-0.2.3.tar.gz
Algorithm Hash digest
SHA256 8c28cde700f7dcde386236dde94bac7ae3dec4c9a12dd0d22859fe581aea09f7
MD5 d971b034941a234dd38cdf370ff9c4f7
BLAKE2b-256 570d5c82c27b20ed3fb785a2a1771620258611e2881ea1fe90d305c3e41695d4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tp_timesheet-0.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 2a58ec0501ce0cd35097229f67df25ab08afbc8a9924666baf523506b3c59622
MD5 6312ffa60b0df0fad1bf0a48e9e12217
BLAKE2b-256 6bf7c250621f7030abce4c6c05b3186fba75fa0f1a7a90c9f8794d2acc1109f3

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