A simple async wrapper for the Wakatime API
Project description
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
Release history Release notifications | RSS feed
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)
Built Distribution
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4555a61326b2fc528a9d61c22a6fcafa253e42e22cf825b6594f5693f6c5e604 |
|
MD5 | fdd55378521a0da554f7269fe5aecfa8 |
|
BLAKE2b-256 | 9945eb04edf3cd3ab247c6bc1e4cebbd991d2bc4d63cc7eb344286896a0ac293 |
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9a096a645467266e03803d1eeae8cfa44a18b590a40ca948848ca29ed83949da |
|
MD5 | e0039753c8255ef23dd41f46cae305b4 |
|
BLAKE2b-256 | b46e7d3545b753247cd0290c0409c65aa0f7d2f089bcb417d23d961bb90d1bda |