Lulo API Python client
Project description
Lulo Python Client
A lightweight, modular Python SDK for seamless interaction with the Lulo API.
Installation
Install via pip:
pip install lulo
Usage
-
Set your API key in a
.envfile:API_KEY = "your-api-key-here"
Get your API key (here)
-
Example usage:
from lulo import LuloClient from dotenv import load_dotenv import os load_dotenv() api_key = os.getenv("API_KEY") client = LuloClient(api_key=api_key) rates = client.rates.get_rates() pools = client.pools.get_pools() print("Rates:", rates)
you can find more Examples here
Project Structure
lulo/- Main packagebase.py- Base classes and utilitiesclient.py- Main client implementationexceptions.py- Custom exceptions- Submodules:
account/,instructions/,pool/,rates/,referrals/,transactions/
example.py- Example usage scriptrequirements.txt- Python dependenciessetup.py- Packaging configuration
License
This project is licensed under the MIT License.
Contributions
Contributions are welcome and appreciated! Here’s how you can help:
Fork the repository
Create a new branch for your feature or bugfix
Commit your changes with clear messages
Push to your fork and submit a pull request
Before submitting, make sure:
Ensure your changes don’t break existing functionality
Donations
Your donation supports the future of this project. Every contribution helps stimulate innovation and sustain development!
- SOL / USDC
P3sbkDB3tv3Fo9Ty74SHQX1LPpYQrKQwnDC5U4A7gPv
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 lulo-1.0.tar.gz.
File metadata
- Download URL: lulo-1.0.tar.gz
- Upload date:
- Size: 4.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6add3ec4b2cc85decaac7ead9ab02416706cae857f4eefea1f73bc395aa4c989
|
|
| MD5 |
572f3fa50cd4eaa20e71326a40fe2696
|
|
| BLAKE2b-256 |
0796c55f2f95afc90f40207fb7c18dd00554d135791de11ddbc6e3f997984e72
|
File details
Details for the file lulo-1.0-py3-none-any.whl.
File metadata
- Download URL: lulo-1.0-py3-none-any.whl
- Upload date:
- Size: 4.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
93949cf2fec7ff9151ce52b1c02a3e8647131203b72708606daac819f068d332
|
|
| MD5 |
0267a74b31cf87ee42aa847fef550e77
|
|
| BLAKE2b-256 |
8f2bfdbb2199330d98a076d2aebdca56127d0362b702aa73f5fbe96aa9ea4044
|