Skip to main content

Utility for programmatically getting and submitting data to Intertec TimePro (

Project description

Intertec TimePro Utils

PyPI version Build status Coverage Python versions Github license


Programmatically get and submit timesheet data to Intertec TimePro (


Install with pip:

pip install timepro-timesheet


Command line

GET data

Once installed, you can use the CLI to get your timesheet data as JSON.

$ timepro get -c CUST -u john.doe -p password123
    "2018-08-04": [
        "customer_code": "EXAMPLE",
        "customer_description": "Example Company Pty Ltd",
        "project_code": "EX-123",
        "project_psid": "EX-123{:}1",
        "project_description": "EXAMPLE - EX-123 - SOW000 - Important Business Stuff - PO 123",
        "task_id": null,
        "task_description": null,
        "hours": 8

You can filter the timesheet period by specifying dates for --start and --end, or by using the --this-week, --this-month, --last-week or --last-month flags. By default, the current week's timesheet entries are returned.

POST data

Data can be submitted by reading from a JSON file.

$ timepro post -c CUST -u john.doe -p password123 -f timesheet_entries.json


$ cat timesheet_entries.json | timepro post -c CUST -u john.doe -p password123


from timepro_timesheet.api import TimesheetAPI

# Log into via the TimesheetAPI class
api = TimesheetAPI()
api.login(customer_id='CUST', username='john.doe', password='password123')

# Get timesheet (defaults to current month)
timesheet = api.get_timesheet()

# Get timesheet for a given date
timesheet = api.get_timesheet(start_date=date(2018, 6, 1), end_date=date(2018, 6, 25))

# Output timesheet

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for timepro-timesheet, version 19.2.1
Filename, size File type Python version Upload date Hashes
Filename, size timepro_timesheet-19.2.1-py2.py3-none-any.whl (11.6 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size timepro-timesheet-19.2.1.tar.gz (11.5 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page