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.1.tar.gz
(3.6 kB
view details)
Built Distribution
File details
Details for the file awakatime-1.1.1.tar.gz
.
File metadata
- Download URL: awakatime-1.1.1.tar.gz
- Upload date:
- Size: 3.6 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 | 6d74d88a4c846c732cd35676a6640afdb20e5e47cfce36a8f455567d9c948853 |
|
MD5 | bbed0457cffcf8031fbb4d1a0d94b139 |
|
BLAKE2b-256 | fc6c26a820a4e6817c837540183b4f97af4c0c78f14aa5d0cfcbe40985f72db8 |
File details
Details for the file awakatime-1.1.1-py3-none-any.whl
.
File metadata
- Download URL: awakatime-1.1.1-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 | a1b5e9ec7cb56445002ad7610cbb597aa9428fc7af6bd4740bd21afa0712f68e |
|
MD5 | 46677f7a626916ed3a885770939b2d8f |
|
BLAKE2b-256 | 79a4ad79a81b54901af052f73a543db2ee8520f997c8b03473b064fad74910d9 |