Skip to main content

🔃 Awakatime

An asynchronous API wrapper for Wakatime

wakatime discord
report documentation english português
pypi license

Installation

pip install awakatime

Usage

It's recommended to use a context manager to create an instance of the client.

import asyncio

from awakatime import Awakatime


async def main():
    async with Awakatime("your_api_key") as awakatime:
        tasks = [awakatime.get_all_time(), awakatime.get_projects()]
        all_time, projects = await asyncio.gather(*tasks)
        print(all_time)
        print(projects)


if __name__ == "__main__":
    coro = main()
    asyncio.run(coro)

Development

git clone https://github.com/controlado/awakatime.git
cd awakatime
With Poetry
poetry install --with dev
Without Poetry
python -m venv .venv
source .venv/bin/activate
pip install -r requirements-dev.txt

Metadata

Release files for awakatime 1.1.10

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

Source distribution (sdist)

Source distribution for awakatime 1.1.10
File Size Uploaded
awakatime-1.1.10.tar.gz 4.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for awakatime 1.1.10
File Interpreter ABI Platform
awakatime-1.1.10-py3-none-any.whl Python 3 none any Details

Total release size: 9.0 kB

Release files / awakatime-1.1.10.tar.gz

Download URL awakatime-1.1.10.tar.gz
Size 4.4 kB
Tags Source
SHA-256 checksum
How to use checksums
27edbfc3e9f4f15458b35e182aa85c8a87933c2a1da0f82ad32b19e92f8b2792
BLAKE2b-256 checksum
How to use checksums
5dae5974ccf1ee5da53d59048452322945609d013e62327014815a9e9d080647
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.5.1 CPython/3.11.4 Windows/10

Release files / awakatime-1.1.10-py3-none-any.whl

Download URL awakatime-1.1.10-py3-none-any.whl
Size 4.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
409326de082194335052b70d04542c0f61eceafd1efafd7d82cedcff694be3eb
BLAKE2b-256 checksum
How to use checksums
61b3426fb81d876960e16c471ccec9a37e7890261f889d33c928fd910c2652fc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.5.1 CPython/3.11.4 Windows/10

Release history Release notifications | RSS feed

This release

1.1.10 This release

2 release files

1.1.9

2 release files

1.1.8

2 release files

1.1.6

2 release files

1.1.5

2 release files

1.1.1

2 release files

1.0.4

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.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