Skip to main content

agar.io python client library

Project description

pyagar is a client implementation of http://agar.io for Python 3.4.

This package allows you to play as in the original site, see the game as an spectator and also play automatically with a simple bot.

Screenshot

Dependencies

In order to run this software you’ll need:

  • Python 3.4+

  • SDL2 (you may found in your distribution as libsdl2)

Installation

It is recomended to install this package into a virtualenv.

Stable version

$ pip install pyagar

Develop version

$ git clone https://github.com/nilp0inter/pyagar
$ cd pyagar
$ python setup.py develop

Play

$ agar.io --help
usage: agar.io [-h] [--no-visualize] [-n NICK] [--auto] [--debug] [--spectate]

 optional arguments:
   -h, --help            show this help message and exit
   --no-visualize
   -n NICK, --nick NICK
   --auto
   --debug
   --spectate

Play setting a custom nick

$ agar.io -n doge

Just watch the game

$ agar.io --spectate

Play automatically using the default bot

$ agar.io --auto

Play using the bot, but without a window

Please, do not abuse the system with this!

$ agar.io --auto --no-visualize

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

pyagar-0.0.2.tar.gz (9.7 kB view hashes)

Uploaded Source

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