Skip to main content

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 setup the URL and EMAIL to use for the timesheet submission by running the following:

export TP_EMAIL='<TP EMAIL ADDR>'
export TP_URL='<URL OF TIMESHEET>'

# Add these to your ~/*.rc for this to be persistent

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 '--debug' to any command to get more log messages about what is going on

Development

Install and run tool locally (append --help to see how to use it):

pip install -e .

tp-timesheet ...

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

Uploaded Source

Built Distribution

tp_timesheet-0.1.0-py3-none-any.whl (8.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: tp-timesheet-0.1.0.tar.gz
  • Upload date:
  • Size: 7.2 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.1.0.tar.gz
Algorithm Hash digest
SHA256 7572cc6b07063a1e2ce65e437b7e10f71e471395b4188dcb92d4d8063a78602f
MD5 bc4c0d1c9ddb324e7db1d387f70c1d1c
BLAKE2b-256 f1069593ff15ac3ca1ef4e10652d154da66fbb321b6a9ed396d8970c3aa42f9f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tp_timesheet-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 248b3c95af53b6273213e2c96a0bdc45f5047f41b3415d46fdfdbef24bca689f
MD5 66b31f5f08b7670eb7d2c15997ec779a
BLAKE2b-256 f05d0696012b7b55119e4f5abbe7620c958491d03460c83895cfef08509c352c

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