Code Monkey home page Code Monkey logo

growtopia.py's Introduction

growtopia.py

Discord server PyPI version Python versions Tests Lint

Warning

Growtopia.py is still unfinished and is not ready for proper-project use. It is advised to not expect any stability from this project until it reaches a stable release (>=v0.1.6)

A simple asynchronous API for Growtopia, capable of creating servers, clients, and more!

Installation

Requirements

Installing from source

  1. Clone the repository.
  2. Open a terminal in the repository's directory
  3. Install it using pip.
git clone https://github.com/kaJob-dev/growtopia.py.git
cd growtopia.py

pip(3) install -U .

Installing from PyPI

Please do note that installing growtopia.py from PyPI will require you to install PyENet yourself, as PyPI does not support direct dependencies. This'll be resolved in the future by simply having PyENet available in PyPI too.

pip(3) install growtopia.py

Contributing

All contributions are welcome! If you'd like to contribute, please make a pull request.

Please make sure that your code is formatted correctly before making a new pull request. This project is formatted using black and isort to sort imports. Read through open and closed pull requests and ensure that no one else has already made a similar pull request.

To install and format your code using black and isort, run the following commands:

pip(3) install black
pip(3) install isort
black ./growtopia
isort ./growtopia

License

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

Thanks to

growtopia.py's People

Contributors

biggus-developerus avatar majestic-dev avatar marseel-e avatar zeeetu avatar zoxorer avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

growtopia.py's Issues

Documentation

Can you push a complete guide to each function to operate the library?
A directory named 'documentation' containing files of co responding files may be useful,
or, a simple iterative documentation on the readme covering each function can be useful.

Question about examples

I tried to run the simple_example server to understand the module better. I added 127.0.0.1 growtopia1.com to the hosts file and started the server and also the client, but when I connect to the game, I can't see any message on the python screen. What could I be doing wrong?

AttributeError when try to create new client

Hello. I was trying to create a client and I am getting this error:

Traceback (most recent call last): File "<pyshell#5>", line 1, in <module> client = growtopia.Client() File "C:\Users\Furkan\AppData\Local\Programs\Python\Python311\Lib\site-packages\growtopia\client.py", line 27, in __init__ self.checksum = enet.ENET_CRC32 AttributeError: module 'enet' has no attribute 'ENET_CRC32'

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.