Skip to main content

Asynchronous Python library for the Hypixel API

Project description

Asyncpixel

OpenSSF Scorecard Latest Release Test Status

Asyncpixel is an open source asynchronous python wrapper for the Hypixel api with 100% of all endpoints.


✨ Features

  • Asynchronous. Unlike other libraries Asyncpixel is fully asynchronous. This makes it perfect to use in your next discord bot or powerful website without having to worry about blocking.

  • 100% API coverage. Asyncpixel is currently the only python library with full coverage of the Hypixel API meaning that no endpoints are left untouched and out of your reach.

  • Pydantic models. All models are checked and validated by Pydantic meaning that the data is always in the correct format perfect for you to use.

  • Available on pypi. Asyncpixel is available on pypi meaning no building from source, just use pip install asyncpixel to use it in your project.

🏁 Getting Started with Asyncpixel

To get started check out the documentation which lives here and is generously hosted by readthedocs.

Installation

Use the package manager pip or your favourite tool to install asyncpixel.

pip install asyncpixel

Example

import asyncpixel
import asyncio

async def main():
  hypixel = asyncpixel.Hypixel("hypixel_api_key")
  player = await hypixel.player("405dcf08b80f4e23b97d943ad93d14fd")
  print(player.stats.bedwars)
  await hypixel.close()


asyncio.run(main())

❗ Code of Conduct

Darkflame72 is dedicated to providing a welcoming, diverse, and harassment-free experience for everyone. We expect everyone in the Darkflame72 community to abide by our Code of Conduct. Please read it.

🙌 Contributing to Asyncpixel

From opening a bug report to creating a pull request: every contribution is appreciated and welcomed. If you are planning to implement a new feature or change the library please create an issue first. This way we can ensure your work is not in vain.

Not Sure Where to Start?

A good place to start contributing, are the Good first issues.

📝 License

Asyncpixel is open-source. The library is licensed GPL v3.

💬 Get in touch

If you have a question or would like to discuss anything related to the library, please hop over to Github discussions or join our room on Matrix.

Contributors ✨

Thanks goes to these wonderful people (emoji key):

AjayACST
AjayACST

🚧
Alex
Alex

💻 🐛
Damian Grzanka
Damian Grzanka

💻
satyamedh hulyalkar
satyamedh hulyalkar

🐛
dubs
dubs

🐛
Amund Eggen Svandal
Amund Eggen Svandal

💻 🐛
wald0040
wald0040

🐛
MillionthOdin16
MillionthOdin16

🐛
ch-iv
ch-iv

🐛 💻

This project follows the all-contributors specification. Contributions of any kind are welcome!

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

asyncpixel-1.7.0.tar.gz (463.2 kB view details)

Uploaded Source

Built Distribution

asyncpixel-1.7.0-py3-none-any.whl (449.0 kB view details)

Uploaded Python 3

File details

Details for the file asyncpixel-1.7.0.tar.gz.

File metadata

  • Download URL: asyncpixel-1.7.0.tar.gz
  • Upload date:
  • Size: 463.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: pdm/2.8.2 CPython/3.11.1

File hashes

Hashes for asyncpixel-1.7.0.tar.gz
Algorithm Hash digest
SHA256 138fb8f1e964b499072b004f088fcade3b8bf3eb91dbcd6a1bfd3aa3809207af
MD5 8181364c6dc6df74abc52deed7488836
BLAKE2b-256 3a7780fec50629aff775b56a4d53703840aae67abbe970671ec05d46a0781f0e

See more details on using hashes here.

File details

Details for the file asyncpixel-1.7.0-py3-none-any.whl.

File metadata

  • Download URL: asyncpixel-1.7.0-py3-none-any.whl
  • Upload date:
  • Size: 449.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: pdm/2.8.2 CPython/3.11.1

File hashes

Hashes for asyncpixel-1.7.0-py3-none-any.whl
Algorithm Hash digest
SHA256 92c5c75e9838c9e90d78a08cf0bc98b07ae03f1690ccdce08e2d596e085e1eeb
MD5 8d5b36df7bcb12702185a9e8be5e949b
BLAKE2b-256 5cdd9497fb80016d75482500e13702ca34f75b02546c641ac51b023f6c243896

See more details on using hashes here.

Supported by

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