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.5.2.tar.gz (16.7 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.5.2-py3-none-any.whl (19.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for memenexus-0.5.2.tar.gz
Algorithm Hash digest
SHA256 ac7a5a9486d3d88fe7cd4634d0bdfff1d02baa080bdb1b309d82bdcc355c0868
MD5 71184d2c3abbfda029f093c2076b6c78
BLAKE2b-256 05f4f5a1a8ca95d1624313078a4f2da6d568a2552a8eb8ce5034b8d2d3610676

See more details on using hashes here.

File details

Details for the file memenexus-0.5.2-py3-none-any.whl.

File metadata

  • Download URL: memenexus-0.5.2-py3-none-any.whl
  • Upload date:
  • Size: 19.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.11

File hashes

Hashes for memenexus-0.5.2-py3-none-any.whl
Algorithm Hash digest
SHA256 b93de9a345715b1427179a459ee14c9dc36645d80e8efcfaf47ec5a7b3f2d636
MD5 748ce45c49cf77e790e2caeb7c20a2e4
BLAKE2b-256 d9ab116e9801ebf52e51e031320bcb4295ceb9ba857b0b8848d8ecf7da7f9403

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