Skip to main content

An asynchronous Python client for interacting with the X API.

Project description

Xify

PyPI PyPI - Python Version License

Xify is a Python client for interacting with the X (formerly Twitter) API. This library provides an asynchronous interface to perform common tasks like creating tweets as well as providing authentication and custom error handling.

Features

  • Send Tweets: Contains functionality to send tweets.
  • OAuth 1.0a Authentication: Sign and authenticate requests to the X API.
  • Async HTTP Requests: Uses aiohttp for efficient, non-blocking network operations.
  • Developer Experience: Includes ruff, mypy, pre-commit, and commitizen for high-quality code.

Installation

From PyPI (Recommended)

pip install xify

From Source

You can install Xify by cloning the repository directly or using pre-built wheel files.

Prerequisites: This project requires uv for dependency management.

Option 1: Clone and Build

  1. Clone the repository:

    git clone https://github.com/filming/xify.git
    cd xify
    
  2. Install the project and its dependencies:

    uv sync
    

Option 2: Install from Pre-built Wheels

Pre-built wheel files are attached to each GitHub release. You can download and install them directly:

  1. Go to the GitHub releases page
  2. Download the .whl file from the latest release
  3. Install using pip:
    pip install path/to/downloaded/xify-*.whl
    

Usage

Usage examples wiil be added later.

Development

This project uses modern Python development tools:

Setting up for development:

  1. Clone the repository:

    git clone https://github.com/filming/xify.git
    cd xify
    
  2. Install dependencies (including dev tools):

    uv sync --extra dev
    
  3. Set up pre-commit hooks:

    uv run pre-commit install
    
  4. Start developing!


Dependencies

All project dependencies are managed via pyproject.toml and use Python 3.10+.


License

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


Contributing

Contributions, bug reports, and feature requests are welcome! Please open an issue or submit a pull request on GitHub.

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

xify-2.0.0.tar.gz (57.2 kB view details)

Uploaded Source

Built Distribution

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

xify-2.0.0-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

File details

Details for the file xify-2.0.0.tar.gz.

File metadata

  • Download URL: xify-2.0.0.tar.gz
  • Upload date:
  • Size: 57.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for xify-2.0.0.tar.gz
Algorithm Hash digest
SHA256 763957b10a6de13e30ba0792145a9334949f561d9736b7dc801a73a84687e824
MD5 edf58873f332fa06f9e3e53dc2deca5f
BLAKE2b-256 8e5c30f427eeadce4b3ce9d7f498d2efb2c54dd9dc5cd3473f4365d7439886b8

See more details on using hashes here.

Provenance

The following attestation bundles were made for xify-2.0.0.tar.gz:

Publisher: release.yml on filming/xify

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file xify-2.0.0-py3-none-any.whl.

File metadata

  • Download URL: xify-2.0.0-py3-none-any.whl
  • Upload date:
  • Size: 4.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for xify-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f492641ee9b1cb9cc05938a29056ce9ebfa5ffb43062a5502fc9b870cd5318dd
MD5 adfa6f8c16deeb8d5725a6d2252b7705
BLAKE2b-256 0dd6b43b080dff8ccf156c1f8f9626bed3113155e5141d74e4ae102ad1e227f7

See more details on using hashes here.

Provenance

The following attestation bundles were made for xify-2.0.0-py3-none-any.whl:

Publisher: release.yml on filming/xify

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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