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.0.4.tar.gz (3.5 kB view details)

Uploaded Source

Built Distribution

awakatime-1.0.4-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: awakatime-1.0.4.tar.gz
  • Upload date:
  • Size: 3.5 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.0.4.tar.gz
Algorithm Hash digest
SHA256 c456c04d0a8a37fbe94620a8c68ea3061a65930d44dc34e4374c9f3a0c3e0287
MD5 ce6776b678ba78c8376d00f2f1c8d555
BLAKE2b-256 28ab50466932565365f10c301e1cccc15c05e594531d4c0de59a24f8764ac119

See more details on using hashes here.

File details

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

File metadata

  • Download URL: awakatime-1.0.4-py3-none-any.whl
  • Upload date:
  • Size: 4.1 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.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 7be537a80bf461f396bcd41f7a1d818887aacff3b200e44cfb4d70ba2d2d812e
MD5 cc4b9ad880f7947f370797f9c7ad02a4
BLAKE2b-256 c001be667cb8b1be7b309fc7962897c5b502752e106b8a18a2296907d7be6bf9

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