Skip to main content

Chillet is a typed Python SDK for the Palworld REST API.

Project description


Chillet


Chillet is a modern, fully typed Python SDK designed for Palworld REST API.

    Docs   PyPI


Chillet provides both synchronous and asynchronous clients, allowing developers to manage servers, query metrics, and perform administrative actions with clean, predictable interfaces. Chillet is built with httpx and pydantic, so it focuses on reliability and type safety.

Installation

From PyPI (recommended)

pip install chillet

From source (this repository)

# clone
git clone https://github.com/domi2k/chillet.git
cd chillet

# create env + install (uv)
uv sync --all-extras

Quickstart

Synchronous

from chillet import PalworldClient

with PalworldClient(password="YOUR_PASSWORD") as client:
    info = client.get_info()
    print(info.servername, info.version)

    metrics = client.get_metrics()
    print("FPS:", metrics.serverfps, "Players:", metrics.currentplayernum)

    client.post_announce("Welcome to the server!")

Asynchronous

import asyncio
from chillet import AsyncPalworldClient

async def main():
    async with AsyncPalworldClient(password="YOUR_PASSWORD") as client:
        info = await client.get_info()
        print(info.servername, info.version)

        metrics = await client.get_metrics()
        print("FPS:", metrics.serverfps, "Players:", metrics.currentplayernum)

        await client.post_announce("Welcome to the server!")

asyncio.run(main())

Documentation

Full documentation with tutorials and API reference is available here.

Contact

If you have any questions about this project, feel free to contact me on Discord.

 

⚠︎ Disclaimer ⚠︎

This project isn’t endorsed by Pocket Pair, Inc., and doesn’t reflect the views or opinions of Pocket Pair or anyone officially involved in producing or managing Pocket Pair’s products. Pocket Pair, Inc. and its products are trademarks or registered trademarks of Pocket Pair, Inc. Use at your own risk; provided AS IS per the license.

 

Footer

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

chillet-1.0.0.tar.gz (7.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

chillet-1.0.0-py3-none-any.whl (8.0 kB view details)

Uploaded Python 3

File details

Details for the file chillet-1.0.0.tar.gz.

File metadata

  • Download URL: chillet-1.0.0.tar.gz
  • Upload date:
  • Size: 7.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for chillet-1.0.0.tar.gz
Algorithm Hash digest
SHA256 0c82339e469c9f9cab258e9793ed7ef30a0388ec832fed0513f8deed62ae6cb1
MD5 46cb35e76144d3f77b84b065ae1f3db2
BLAKE2b-256 3fd62228db35c4f5ddba441cf423d9c06b285371b589a599726c68fb8f064eeb

See more details on using hashes here.

Provenance

The following attestation bundles were made for chillet-1.0.0.tar.gz:

Publisher: pypi-publish.yml on domi2k/chillet

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file chillet-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: chillet-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 8.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for chillet-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2ccb2d386c23682294b73832bb5cc307337fa18ac16ec8e62e1d407f3bb4968d
MD5 e9506faf4e96cd6850921cab42d84d75
BLAKE2b-256 5ed6ddc986bfd9578f0fa99ba8e605f22612459ee20788180cae954d2e23139d

See more details on using hashes here.

Provenance

The following attestation bundles were made for chillet-1.0.0-py3-none-any.whl:

Publisher: pypi-publish.yml on domi2k/chillet

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page