Skip to main content

A toolbox for meme trading

Project description

MemeNexus

MemeNexus is a Python library for interacting with meme coins. It provides tools for fetching token information, analyzing token performance, and monitoring trading activities.

Installation

pip install memeNexus

Quick Start

import asyncio

from meme_nexus.clients import DexScreenerClient


async def main():
    # Initialize the client
    client = DexScreenerClient()

    # Search for a meme token
    token_address = "2RBko3xoz56aH69isQMUpzZd9NYHahhwC23A5F3Spkin"
    response = await client.search_by_token_address(token_address)

    # Process and analyze the results
    for pair in response.pairs:
        print(f"Chain: {pair.chainId}")
        print(f"DEX: {pair.dexId}")
        print(f"Price: ${pair.priceUsd}")
        print(f"24h Volume: ${pair.volume.h24:,.2f}")
        if pair.liquidity:
            print(f"Liquidity: ${pair.liquidity.usd:,.2f}")
        if pair.info and pair.info.socials:
            print("Social Links:")
            for social in pair.info.socials:
                print(f"- {social.type}: {social.url}")
        print("---")


if __name__ == "__main__":
    asyncio.run(main())

License

This project is licensed under the MIT License - see the LICENSE file for details.

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

Project details


Download files

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

Source Distribution

memenexus-0.3.1.tar.gz (11.6 kB view details)

Uploaded Source

Built Distribution

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

memeNexus-0.3.1-py3-none-any.whl (13.9 kB view details)

Uploaded Python 3

File details

Details for the file memenexus-0.3.1.tar.gz.

File metadata

  • Download URL: memenexus-0.3.1.tar.gz
  • Upload date:
  • Size: 11.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for memenexus-0.3.1.tar.gz
Algorithm Hash digest
SHA256 12af5650afec12788c17e93600b05a14d38e1b374cbde4b6f74b0b5c8512ebf9
MD5 1f7b5e75a4e04ae73ad1dc7a81a31e47
BLAKE2b-256 2051b0cf273827cd879546023f95fa83a9ff0866b79a1474acc61b999ef9939a

See more details on using hashes here.

File details

Details for the file memeNexus-0.3.1-py3-none-any.whl.

File metadata

  • Download URL: memeNexus-0.3.1-py3-none-any.whl
  • Upload date:
  • Size: 13.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for memeNexus-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a1edc6e946fc69c98347ea87b025868f169e8a817be31fa614a2c7d8f0348bbc
MD5 8f6363a0441449fddddada20d76c3292
BLAKE2b-256 be7e9b1240fdeddb7edb8427090d0f8f887f4a0337b90c24919d130925aebf80

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