Giter Club home page Giter Club logo

ro.py's Introduction

ro.py

ro.py is a powerful Python 3 wrapper for the Roblox Web API by @jmkd3v and @iranathan.

ro.py Discord ro.py PyPI ro.py PyPI Downloads ro.py PyPI License ro.py GitHub Commit Activity ro.py GitHub Last Commit

Information | Discord | Requirements | Disclaimer | Documentation | Examples | Credits | License

Information

Welcome, and thank you for using ro.py!
ro.py is an object oriented, asynchronous wrapper for the Roblox Web API (and other Roblox-related APIs) with many new and interesting features.
ro.py allows you to automate much of what you would do on the Roblox website and on other Roblox-related websites.

Update: ro.py rewrite

We are currently working on a complete ro.py rewrite, and as such we are not accepting feature requests until the rewrite branch is on par with the main branch. If you'd like to give suggestions on ro.py design decisions, you can join the ro.py Discord.

Get Started

To begin, first import the client, which is the most essential part of ro.py, and initialize it like so:

from ro_py import Client
client = Client()

Next, import asyncio at the top of your file:

import asyncio

Next, create an async method main() and run it with asyncio:

async def main():
	# keep this empty for the next step!

asyncio.get_event_loop().run_until_complete(main())

Next, read the documentation for the Client to grab objects and interact with the API.

If you are looking for a full tutorial on ro.py, check out the new DevForum article!

Requirements

  • httpx (for sending requests)
  • iso8601 (for parsing dates)
  • signalrcore (for recieving notifications)
  • lxml (for parsing documentation, might be made optional soon)

Previous Requirements

  • cachecontrol (for caching requests)
  • requests-async (for sending requests, might be updated to a new lib soon)
  • pytweening (for animations, see below)
  • wxPython (for the "prompts" extension, optional)
  • wxasync (see above)

Prompts Extension Requirements

You'll need to install wxPython, wxasync and pytweening to use the prompts extension. If it is not present, an error will be raised.

Disclaimer

We are not responsible for any malicious use of this library.
If you use this library in a way that violates the Roblox Terms of Use your account may be punished.
If you use code from ro.py in your own library, please credit us! We're working our hardest to deliver this library, and crediting us is the best way to help support the project.

Documentation

You can view documentation for ro.py at ro.py.jmksite.dev.
If something's missing from docs, feel free to dive into the code and read the docstrings as most things are documented there. The docs are generated from docstrings in the code using pdoc3.

Installation

You can install ro.py from pip:

pip3 install ro.py

If you want the latest bleeding-edge version, clone from git (you'll need git-scm installed):

pip3 install git+git://github.com/rbx-libdev/ro.py.git

Contributors

Other Libraries

ro.py not for you? Come check out these other libraries!

Name Language OOP Async Maintained Developers More Info
ro.py Python 3 Yes Yes Yes @jmkd3v @iranathan You are here!
robloxapi Python 3 Yes Yes No @iranathan Predecessor to ro.py.
robloxlib Python 3 Yes? No No @NoahCristino
pyblox Python 3 Partial No Yes @Sanjay-B
bloxy Node.JS Yes Yes Yes @Visualizememe
noblox.js Node.JS No Yes Yes @suufi
roblox.js Node.JS No Yes? No @sentanos Predecessor to noblox.js.
cblox C++ Yes No? Yes @Meqolo
robloxapi C# Yes Yes Maybe @gamenew09
roblox4j Java Yes No? No @PizzaCrust
javablox Java Yes No? No @Pythonic-Rainbow
robloxkt Kotlin ? ? No ? I have no information on this.
KotlinRoblox Kotlin Yes? No? No @Pythonic-Rainbow
rbx.lua Lua N/A No? Yes? @iiToxicity
robloxcomm Lua N/A ? ? ? Again, no info on this or link.
tsblox TypeScript Yes Yes No @Dionysusnu
roblophp PHP ? ? ? ? Repo seems to be deleted.

ro.py's People

Contributors

jmkd3v avatar iranathan avatar jamesvong avatar

Stargazers

Roman avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.