Getting Started¶
This page will help you install ScurryPy, set up your environment, and get ready to build your first bot.
Installation¶
If you haven't already, you can install ScurryPy with pip:
That's all you need. No extra dependencies.
Setting up¶
In your main bot file, it's recommended to load your environment variables and prepare your constants:
Tip
If you use dotenv, you need to install it using:
Or store it anywhere you like that is not directly in your bot code.
Logging¶
Scurrypy uses Python's standard logging module.
Scurrypy does not configure logging by default. If you do not configure logging in your application, Scurrypy log messages will be discarded.
All loggers use the scurrypy namespace.
The following snippet can be used to enable logging with colored output:
You're now ready to start using ScurryPy!