youversion-bible-client 0.1.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
youversion/__init__.py ADDED
@@ -0,0 +1,34 @@
1
+ """YouVersion Bible Client Library
2
+
3
+ A Python client library for accessing the YouVersion Bible API.
4
+ Supports both synchronous and asynchronous operations.
5
+
6
+ Example usage:
7
+
8
+ Synchronous:
9
+ from youversion import SyncClient
10
+
11
+ with SyncClient() as client:
12
+ votd = client.verse_of_the_day()
13
+ print(votd)
14
+
15
+ Asynchronous:
16
+ import asyncio
17
+ from youversion import AsyncClient
18
+
19
+ async def main():
20
+ async with AsyncClient() as client:
21
+ votd = await client.verse_of_the_day()
22
+ print(votd)
23
+
24
+ asyncio.run(main())
25
+ """
26
+
27
+ from .clients import AsyncClient, SyncClient
28
+
29
+ # Backward compatibility aliases
30
+ AClient = AsyncClient
31
+ Client = SyncClient
32
+
33
+ __version__ = "0.3.0"
34
+ __all__ = ["AsyncClient", "SyncClient", "AClient", "Client"]