forked from Echo-Mirror-Butler/echomirror-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path__init__.py
More file actions
75 lines (68 loc) · 1.64 KB
/
Copy path__init__.py
File metadata and controls
75 lines (68 loc) · 1.64 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
"""EchoMirror Python SDK.
Async Python bindings for the EchoMirror API — mood tracking, Stellar wallet
operations, and social features — powered by native Rust (PyO3) bindings over
the same `echomirror-core` / `echomirror-stellar` crates used by the Rust,
JS, and Flutter SDKs.
Quickstart:
import asyncio
from echomirror import EchoMirror, StellarNetwork
async def main():
app = EchoMirror(api_key="your_api_key", network=StellarNetwork.Testnet)
entry = await app.mood.log(score=8, note="Great day", tags=["work"])
print(entry.id, entry.score)
asyncio.run(main())
"""
from ._echomirror import (
AiReflection,
AuthError,
ConfigError,
EchoMirror,
EchoMirrorClient,
EchoMirrorException,
GlobalFeedEntry,
LeaderboardEntry,
MoodClient,
MoodEntry,
MoodHistoryPage,
MoodStreak,
MoodSummary,
NetworkError,
NotFoundError,
RateLimitError,
SocialClient,
StellarBalance,
StellarClient,
StellarNetwork,
StellarTransaction,
TransactionHistoryPage,
UnsignedTransaction,
UserProfile,
__version__,
)
__all__ = [
"AiReflection",
"AuthError",
"ConfigError",
"EchoMirror",
"EchoMirrorClient",
"EchoMirrorException",
"GlobalFeedEntry",
"LeaderboardEntry",
"MoodClient",
"MoodEntry",
"MoodHistoryPage",
"MoodStreak",
"MoodSummary",
"NetworkError",
"NotFoundError",
"RateLimitError",
"SocialClient",
"StellarBalance",
"StellarClient",
"StellarNetwork",
"StellarTransaction",
"TransactionHistoryPage",
"UnsignedTransaction",
"UserProfile",
"__version__",
]