Library to communicate with EVduty REST api
Project description
evduty-api
Library to communicate with EVduty REST API.
Usage
import aiohttp
import asyncio
import os
from evdutyapi import EVDutyApi
async def run():
async with aiohttp.ClientSession() as session:
api = EVDutyApi(os.environ['EMAIL'], os.environ['PASSWORD'], session)
stations = await api.async_get_stations()
print(stations)
asyncio.run(run())
Build and test locally
make venv
source .venv/bin/activate
make test
make build
Logging
Enable debug level to log API requests and responses.
import logging
logging.basicConfig(level=logging.DEBUG)
Release version
make release bump=patch|minor|major
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file evduty_api-1.0.2.tar.gz.
File metadata
- Download URL: evduty_api-1.0.2.tar.gz
- Upload date:
- Size: 9.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e91e1da90d806cf75ede17fd4b1957c7f2a452358264c2fc32fac2509fae8d66
|
|
| MD5 |
a5f54ace090d79e28f4331dd4a83ba17
|
|
| BLAKE2b-256 |
de77234a4bf29167982aca6394f519c457ed746c7208d01aa247a9603b1eeba4
|
Provenance
The following attestation bundles were made for evduty_api-1.0.2.tar.gz:
Publisher:
publish.yml on happydev-ca/evduty-api
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
evduty_api-1.0.2.tar.gz -
Subject digest:
e91e1da90d806cf75ede17fd4b1957c7f2a452358264c2fc32fac2509fae8d66 - Sigstore transparency entry: 219891933
- Sigstore integration time:
-
Permalink:
happydev-ca/evduty-api@9797786f0344608d7f4c38cff8b23d303b27cf77 -
Branch / Tag:
refs/tags/1.0.2 - Owner: https://github.com/happydev-ca
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@9797786f0344608d7f4c38cff8b23d303b27cf77 -
Trigger Event:
push
-
Statement type:
File details
Details for the file evduty_api-1.0.2-py3-none-any.whl.
File metadata
- Download URL: evduty_api-1.0.2-py3-none-any.whl
- Upload date:
- Size: 8.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
df89a4ac22c67d9d9209080da57f0fa4f665d905d65bf24c4d38590f08236602
|
|
| MD5 |
5d5c4141bb9d5eff42425588b97e07be
|
|
| BLAKE2b-256 |
079cbdbefa7f0d2e13d0132b34c324e5b7a096e45d6320c72860fe19c29538eb
|
Provenance
The following attestation bundles were made for evduty_api-1.0.2-py3-none-any.whl:
Publisher:
publish.yml on happydev-ca/evduty-api
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
evduty_api-1.0.2-py3-none-any.whl -
Subject digest:
df89a4ac22c67d9d9209080da57f0fa4f665d905d65bf24c4d38590f08236602 - Sigstore transparency entry: 219891935
- Sigstore integration time:
-
Permalink:
happydev-ca/evduty-api@9797786f0344608d7f4c38cff8b23d303b27cf77 -
Branch / Tag:
refs/tags/1.0.2 - Owner: https://github.com/happydev-ca
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@9797786f0344608d7f4c38cff8b23d303b27cf77 -
Trigger Event:
push
-
Statement type: