Skip to main content

Lulo API Python client

Project description

Lulo Python Client

PyPI Python Version License: MIT Issues Downloads

A lightweight, modular Python SDK for seamless interaction with the Lulo API.

Installation

Install via pip:

pip install lulo

Usage

  1. Set your API key in a .env file:

    API_KEY = "your-api-key-here"
    

Get your API key (here)

  1. 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 package
    • base.py - Base classes and utilities
    • client.py - Main client implementation
    • exceptions.py - Custom exceptions
    • Submodules: account/, instructions/, pool/, rates/, referrals/, transactions/
  • example.py - Example usage script
  • requirements.txt - Python dependencies
  • setup.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

This version

1.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

lulo-1.0.tar.gz (4.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

lulo-1.0-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

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

Hashes for lulo-1.0.tar.gz
Algorithm Hash digest
SHA256 6add3ec4b2cc85decaac7ead9ab02416706cae857f4eefea1f73bc395aa4c989
MD5 572f3fa50cd4eaa20e71326a40fe2696
BLAKE2b-256 0796c55f2f95afc90f40207fb7c18dd00554d135791de11ddbc6e3f997984e72

See more details on using hashes here.

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

Hashes for lulo-1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 93949cf2fec7ff9151ce52b1c02a3e8647131203b72708606daac819f068d332
MD5 0267a74b31cf87ee42aa847fef550e77
BLAKE2b-256 8f2bfdbb2199330d98a076d2aebdca56127d0362b702aa73f5fbe96aa9ea4044

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page