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

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


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

Uploaded Source

Built Distribution

tp_timesheet-1.1.2-py3-none-any.whl (16.3 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for tp-timesheet-1.1.2.tar.gz
Algorithm Hash digest
SHA256 6fdf2ebe9c2240584a61fa104cf3b79090651f70b80c4f619ce4ccbbb6957b93
MD5 e604f83b5c04063a2dc6ed3a5235d425
BLAKE2b-256 6c2d01e7a12d6ec44eefa81bdc2062d447cb2e318adb91780492b7e01ec07130

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tp_timesheet-1.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 aaf5d26879a24737b45e11f83fece480666e86a8ebfdbd7830bccc5f771746a1
MD5 6a14fba3149e536d852b07e3a510fc77
BLAKE2b-256 dd79dffaef1d817f9bff593650c80605e9c1f9e276c8dd31e7f9585afa91195a

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