Skip to main content

A simple async wrapper for the Wakatime API

Project description

🔃 Awakatime

An asynchronous API wrapper for Wakatime

wakatime discord
documentation english português
report pypi license

Installation

pip install awakatime

Usage

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)

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

awakatime-1.1.5.tar.gz (3.7 kB view details)

Uploaded Source

Built Distribution

awakatime-1.1.5-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

File details

Details for the file awakatime-1.1.5.tar.gz.

File metadata

  • Download URL: awakatime-1.1.5.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.11.4 Windows/10

File hashes

Hashes for awakatime-1.1.5.tar.gz
Algorithm Hash digest
SHA256 4555a61326b2fc528a9d61c22a6fcafa253e42e22cf825b6594f5693f6c5e604
MD5 fdd55378521a0da554f7269fe5aecfa8
BLAKE2b-256 9945eb04edf3cd3ab247c6bc1e4cebbd991d2bc4d63cc7eb344286896a0ac293

See more details on using hashes here.

File details

Details for the file awakatime-1.1.5-py3-none-any.whl.

File metadata

  • Download URL: awakatime-1.1.5-py3-none-any.whl
  • Upload date:
  • Size: 4.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.11.4 Windows/10

File hashes

Hashes for awakatime-1.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 9a096a645467266e03803d1eeae8cfa44a18b590a40ca948848ca29ed83949da
MD5 e0039753c8255ef23dd41f46cae305b4
BLAKE2b-256 b46e7d3545b753247cd0290c0409c65aa0f7d2f089bcb417d23d961bb90d1bda

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