Skip to main content

Generate PDF report from toggl

Project description

CircleCI

Script to generate pdf report for GULP (Leistungsnachweis)

Motivation: Those, who work together with Gulp, need to provide report at the end of the month with performance records. In case, Toggl tracker is used, the report generation can be automated using current script.

Local install

Install Pipenv

Project use Pipenv as package manager.

> pip install pipenv

Create virtual environment

> pipenv --python 3.8

Install dependencies

> pipenv install

Generate detailed report

Local run

> ./cli.py \
  --api-key {KEY}  \
  --workspace Test \
  --year 5 \
  --month-number 5 \
  --name "Max Mustermann" \
  --project-number Test \
  --client-name "Muster GmbH" \
  --order-no 123456

Run with docker

> make run \
    api_key={KEY} \
    workspace=Test \
    month_number=5 \
    year=5 \
    name="Max Mustermann" \
    project_number="Test" \
    client_name="Muster GmbH" \
    order_no=123456

Result

report sample

Development

Lint

> make lint

Tests

> make test

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

toggl-report-1.0.3.tar.gz (10.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

toggl_report-1.0.3-py3-none-any.whl (9.9 kB view details)

Uploaded Python 3

File details

Details for the file toggl-report-1.0.3.tar.gz.

File metadata

  • Download URL: toggl-report-1.0.3.tar.gz
  • Upload date:
  • Size: 10.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.2

File hashes

Hashes for toggl-report-1.0.3.tar.gz
Algorithm Hash digest
SHA256 56f0d24ac801c1f37ef293beadb980e4817d0415109c6c1b562d1752f8597fc7
MD5 ff246442747cc0f6ad4a631e01651c55
BLAKE2b-256 cc7bbfc2901e41d8a93629353b463430484c9149021aea6ca971bba31f88a54d

See more details on using hashes here.

File details

Details for the file toggl_report-1.0.3-py3-none-any.whl.

File metadata

  • Download URL: toggl_report-1.0.3-py3-none-any.whl
  • Upload date:
  • Size: 9.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.2

File hashes

Hashes for toggl_report-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 cc6230117c3cd3b0de750db8063402dbaf3eba1d8607ac1f6d15376bcc94811a
MD5 ea62f0f6a0f6a4d49171d9e77bc60e98
BLAKE2b-256 33df459711b2a22529f0444a4fe1740e26944b8297f88a1e5e51b5ea0d5afb29

See more details on using hashes here.

Supported by

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