Movatterモバイル変換


[0]ホーム

URL:


Skip to content
DEV Community
Log in Create account

DEV Community

Cover image for fluxpoint.py
Dhruva Shaw
Dhruva Shaw

Posted on

     

fluxpoint.py

fluxpoint.py

============

Discord server invitePyPI version infoPyPI supported Python versions

A modern, easy to use, feature-rich, and async ready API wrapper for
Fluxpoint written in Python.

Key Features

  • Modern Pythonic API usingasync andawait.
  • Proper rate limit handling.
  • Optimised in both speed and memory.

Installing

Python 3.8 or higher is required

To install the library, you can just run the following command:

# Linux/macOSpython3 -m pip install -U fluxpoint.py# Windowspy -3 -m pip install -U fluxpoint.py
Enter fullscreen modeExit fullscreen mode

To speedup the api wrapper you should run the following command:

# Linux/macOSpython3 -m pip install -U "fluxpoint.py[speed]"# Windowspy -3 -m pip install -U fluxpoint.py[speed]
Enter fullscreen modeExit fullscreen mode

To install the development version, do the following:

$ git clone https://github.com/Dhruvacube/fluxpoint.py$ cd fluxpoint.py$ python3 -m pip install -U .[speed]
Enter fullscreen modeExit fullscreen mode

Quick Example

from fluxpoint import FluxpointClientimport asyncioimport sys# setting up the fluxpoint client handlera = FluxpointClient(api_token="get api token from https://fluxpoint.dev/api/access")# setting up the windows loop policy according to the operating systemif sys.platform.startswith('win32') or sys.platform.startswith('cygwin'):    asyncio.set_event_loop_policy(asyncio.WindowsSelectorEventLoopPolicy())# getting the image url of AZURLANE imageprint(asyncio.run(a.azurlane()))
Enter fullscreen modeExit fullscreen mode

You can find more examples in theexamples
directory
.


Links

GitHub logo Creatrix-Net / fluxpoint.py

Async python wrapper for the fluxpoint api

fluxpoint.py

Discord server invite
PyPI version info

PyPI supported Python versions

A modern, easy to use, feature-rich, and async ready API wrapper for Fluxpoint written in Python.

Key Features

  • Modern Pythonic API usingasync andawait.
  • Proper rate limit handling.
  • Optimised in both speed and memory.

Installing

Python 3.8 or higher is required

To install the library, you can just run the following command:

# Linux/macOSpython3 -m pip install -U fluxpoint.py# Windowspy -3 -m pip install -U fluxpoint.py
Enter fullscreen modeExit fullscreen mode

To speedup the api wrapper you should run the following command:

# Linux/macOSpython3 -m pip install -U"fluxpoint.py[speed]"# Windowspy -3 -m pip install -U fluxpoint.py[speed]
Enter fullscreen modeExit fullscreen mode

To install the development version, do the following:

$ git clone https://github.com/Dhruvacube/fluxpoint.py$cd fluxpoint.py$ python3 -m pip install -U .[speed]
Enter fullscreen modeExit fullscreen mode

Quick Example

fromfluxpointimportFluxpointClientimportasyncioimportsys# setting up the fluxpoint client handlera=FluxpointClient(api_token="get api token
Enter fullscreen modeExit fullscreen mode

Top comments(0)

Subscribe
pic
Create template

Templates let you quickly answer FAQs or store snippets for re-use.

Dismiss

Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment'spermalink.

For further actions, you may consider blocking this person and/orreporting abuse

A discord.py bot & full-stack developer on python myself a Robotics & Automation Engg undergrad student.
  • Location
    Konohagakure
  • Work
    Student
  • Joined

More fromDhruva Shaw

DEV Community

We're a place where coders share, stay up-to-date and grow their careers.

Log in Create account

[8]ページ先頭

©2009-2025 Movatter.jp