Skip to main content

This library can be used to control the Tiima web UI through a simple Python API. It uses MechanicalSoup for mimicing browser actions.

PyPI

Installing

TiimaWeb is in PyPI and can be installed simply by:

pip install tiimaweb

or if you use Poetry:

poetry add tiimaweb

Usage

The library can be used from Python code like this:

from datetime import date, datetime

import tiimaweb

client = tiimaweb.Client()

with client.login('username', 'password', 'company') as tiima:
    # Get all time blocks of 2020-02-29
    time_blocks = tiima.get_time_blocks_of_date(date(2020, 2, 29))

    # Print and delete all those time blocks
    for time_block in time_blocks:
        print(time_block)
        tiima.delete_time_block(time_block)

    # Add new time block
    tiima.add_time_block(
        start=datetime(2020, 3, 1, 8, 30),
        end=datetime(2020, 3, 1, 11, 45))

Metadata

Release files for tiimaweb 0.4.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for tiimaweb 0.4.0
File Size Uploaded
tiimaweb-0.4.0.tar.gz 9.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for tiimaweb 0.4.0
File Interpreter ABI Platform
tiimaweb-0.4.0-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 19.1 kB

Release files / tiimaweb-0.4.0.tar.gz

Download URL tiimaweb-0.4.0.tar.gz
Size 9.2 kB
Tags Source
SHA-256 checksum
How to use checksums
1210efc8db908f7ddc371ff04985fbb504042268c8da012a30f903e8ddb6b205
BLAKE2b-256 checksum
How to use checksums
50898cbd8b574ce3163502dd4e55761edca3c172129d1c4e715e862d52fbdc4f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.4 CPython/3.5.10 Linux/5.10.0-1050-oem

Release files / tiimaweb-0.4.0-py2.py3-none-any.whl

Download URL tiimaweb-0.4.0-py2.py3-none-any.whl
Size 9.9 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
a4fe1b7f262417a7e1042544760782229b05f2a6649e60dae9381e8b3b06906c
BLAKE2b-256 checksum
How to use checksums
9ef660b17cbae88b512fcc6eaaa2ec24aefc716a1912dcd6cba259c8e50067d1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.4 CPython/3.5.10 Linux/5.10.0-1050-oem

Release history Release notifications | RSS feed

This release

0.4.0 This release

2 release files

0.3.2

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page