Chillet is a typed Python SDK for the Palworld REST API.
Project description
Chillet is a modern, fully typed Python SDK designed for Palworld REST API.
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0c82339e469c9f9cab258e9793ed7ef30a0388ec832fed0513f8deed62ae6cb1
|
|
| MD5 |
46cb35e76144d3f77b84b065ae1f3db2
|
|
| BLAKE2b-256 |
3fd62228db35c4f5ddba441cf423d9c06b285371b589a599726c68fb8f064eeb
|
Provenance
The following attestation bundles were made for chillet-1.0.0.tar.gz:
Publisher:
pypi-publish.yml on domi2k/chillet
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
chillet-1.0.0.tar.gz -
Subject digest:
0c82339e469c9f9cab258e9793ed7ef30a0388ec832fed0513f8deed62ae6cb1 - Sigstore transparency entry: 659339412
- Sigstore integration time:
-
Permalink:
domi2k/chillet@34eb33782193f36b9d5cf34641f735e9802b1767 -
Branch / Tag:
refs/tags/1.0.0 - Owner: https://github.com/domi2k
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi-publish.yml@34eb33782193f36b9d5cf34641f735e9802b1767 -
Trigger Event:
release
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2ccb2d386c23682294b73832bb5cc307337fa18ac16ec8e62e1d407f3bb4968d
|
|
| MD5 |
e9506faf4e96cd6850921cab42d84d75
|
|
| BLAKE2b-256 |
5ed6ddc986bfd9578f0fa99ba8e605f22612459ee20788180cae954d2e23139d
|
Provenance
The following attestation bundles were made for chillet-1.0.0-py3-none-any.whl:
Publisher:
pypi-publish.yml on domi2k/chillet
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
chillet-1.0.0-py3-none-any.whl -
Subject digest:
2ccb2d386c23682294b73832bb5cc307337fa18ac16ec8e62e1d407f3bb4968d - Sigstore transparency entry: 659339426
- Sigstore integration time:
-
Permalink:
domi2k/chillet@34eb33782193f36b9d5cf34641f735e9802b1767 -
Branch / Tag:
refs/tags/1.0.0 - Owner: https://github.com/domi2k
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi-publish.yml@34eb33782193f36b9d5cf34641f735e9802b1767 -
Trigger Event:
release
-
Statement type: