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.4.0.tar.gz (14.3 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.4.0-py3-none-any.whl (16.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for memenexus-0.4.0.tar.gz
Algorithm Hash digest
SHA256 245ec1f24e4a7cdf5c03f5cc8791b4484fc1be67587c59d492400b9866f21e31
MD5 6912e6a0e3e50ea85d5383b2fb5ce889
BLAKE2b-256 fa423f6b0147a1e10ac425b4e952e0741896f36c79a5801e36deae015e67574f

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for memenexus-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c04ec4efa99200d0dbbdf03b4e6df8cac6b7948c05bc9e281ecb95e66326d344
MD5 b71e80bb2751f0f77dd50bb38001e32c
BLAKE2b-256 d97ce750ff60829f35e99af3c987be927dbbeec4d21207d1a4a2a87e6d37b897

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