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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

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