Coverage for youversion/__init__.py: 100%
5 statements
« prev ^ index » next coverage.py v7.14.3, created at 2026-06-26 11:31 +0100
« prev ^ index » next coverage.py v7.14.3, created at 2026-06-26 11:31 +0100
1"""YouVersion Bible Client Library
3A Python client library for accessing the YouVersion Bible API.
4Supports both synchronous and asynchronous operations.
6Example usage:
8Synchronous:
9 from youversion import SyncClient
11 with SyncClient() as client:
12 votd = client.verse_of_the_day()
13 print(votd)
15Asynchronous:
16 import asyncio
17 from youversion import AsyncClient
19 async def main():
20 async with AsyncClient() as client:
21 votd = await client.verse_of_the_day()
22 print(votd)
24 asyncio.run(main())
25"""
27from .clients import AsyncClient, SyncClient
29# Backward compatibility aliases
30AClient = AsyncClient
31Client = SyncClient
33__version__ = "0.4.0"
34__all__ = ["AsyncClient", "SyncClient", "AClient", "Client"]