Skip to main content

A python package for FatCat Hosting

Project description

fatcat

https://discord.gg/74VkcwV https://pypi.python.org/pypi/fatcat https://pypi.python.org/pypi/discord.py

A package written in Python to manage your servers, pterodactyl servers, and more for FatCat Hosting.

Features

  • Created using requests via api
  • Customizable
  • Optimized for speed

Installing

Python 3.6 or higher is required

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

# Linux/macOS
python3 -m pip install -U fatcat

# Windows
py -3 -m pip install -U fatcat

Examples

Get Server Memory Usage

# Getting the package
from fatcat import Server

# Creating a server class with our base URL and declaring some variables, plain & text are optional
server = Server(url="http://server_ip/", plain=False, text=True)

# Printing total server memory
print(server.total_memory())

Get Active Server Memory Usage

# Getting the package
from fatcat import Server

# Creating a server class with our base URL
server = Server(url="http://server_ip/")

# Printing active server memory
print(server.active_memory())

Links

Contact & Support

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

fatcat-0.0.7.1.tar.gz (4.1 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