No description
Find a file
2026-04-17 10:31:28 +02:00
examples Add unit tests for authentication and webhook parsing 2026-04-17 10:20:12 +02:00
generated Add unit tests for authentication and webhook parsing 2026-04-17 10:20:12 +02:00
scripts Add unit tests for authentication and webhook parsing 2026-04-17 10:20:12 +02:00
src/easybill_client Enhance EasybillClient and AsyncEasybillClient with new methods for customer and document management, and add unit tests for client functionality. 2026-04-17 10:31:28 +02:00
tests Enhance EasybillClient and AsyncEasybillClient with new methods for customer and document management, and add unit tests for client functionality. 2026-04-17 10:31:28 +02:00
.gitignore Add unit tests for authentication and webhook parsing 2026-04-17 10:20:12 +02:00
pyproject.toml Add unit tests for authentication and webhook parsing 2026-04-17 10:20:12 +02:00
README.md Add unit tests for authentication and webhook parsing 2026-04-17 10:20:12 +02:00
swagger.json Add unit tests for authentication and webhook parsing 2026-04-17 10:20:12 +02:00

easybill client

Python client for the easybill REST API with a generated API layer, Pydantic-based convenience models, and webhook parsing helpers for middleware integration.

Current status

The initial implementation is in place and includes:

  • a project scaffold with packaging and tests
  • sync and async wrapper clients
  • authentication helpers for bearer and basic auth
  • a webhook parser for JSON and form payloads
  • a reproducible generation script based on the provided Swagger specification

Development

Install the local project dependencies and run the tests:

python -m pytest -q

Generate the raw clients from the API description:

python scripts/generate_client.py --mode both

Structure

  • src/easybill_client: public package and middleware-friendly helpers
  • tests: focused verification for auth and webhook behavior
  • scripts/generate_client.py: generation entrypoint for the raw REST layer
  • generated: generated sync and async clients derived from the Swagger description