Skip to main content

Train personalities, not commands.

Project description

Pawsona

PyPI version

Train personalities, not commands.

Pawsona is a terminal-based pet personality and training simulator inspired by reinforcement learning, memory, adaptation, generalization, and overfitting.

The first public version focuses on dogs. The behavior model is intentionally simple: it is a small scoring engine for playable training loops, not a biologically realistic simulator.

Current Status

This repository is in the early CLI phase. Pawsona can load built-in pet profiles, inspect their model state, create new YAML profiles, generate simple behavior-model actions, and persist trained skills and memory between CLI runs.

Try It

After release, the main install command will be:

pip install pawsona

Primary CLI:

pawsona --help

Short alias:

paw --help

If paw conflicts with another command on your machine, use pawsona.

Environment

Create and activate the conda environment:

conda create -n paw python=3.11 pip
conda activate paw

Install the project components from requirements.txt:

python -m pip install -r requirements.txt
pawsona --help

Inspect A Pet

pawsona inspect hermes
pawsona inspect hera

Inspect only the raw base YAML profile:

pawsona inspect hermes --base

Create A Pet

pawsona create

Trait questions use a 1 to 5 scale and are normalized into 0.0 to 1.0 YAML values.

Generate An Action

pawsona act hermes
pawsona act hera

Train In The Terminal

pawsona play hermes
pawsona play hera

Training sessions run for 10 rounds by default. Feedback options are reward, praise, ignore, and correct.

Training updates are saved to saves/<pet>.json. Base YAML profiles are not modified.

Run a temporary training session without writing a save file:

pawsona play hermes --no-save

Project Shape

pawsona/
  cli.py
  behavior.py
  pet.py
  simple_yaml.py
  state.py
  training.py
pets/
  hermes.yaml
  hera.yaml
  template.yaml
  community/
saves/
docs/

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

pawsona-0.1.0a2.tar.gz (12.2 kB view details)

Uploaded Source

Built Distribution

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

pawsona-0.1.0a2-py3-none-any.whl (14.2 kB view details)

Uploaded Python 3

File details

Details for the file pawsona-0.1.0a2.tar.gz.

File metadata

  • Download URL: pawsona-0.1.0a2.tar.gz
  • Upload date:
  • Size: 12.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for pawsona-0.1.0a2.tar.gz
Algorithm Hash digest
SHA256 f97e48f3bc1503dc9e9db397ef348768d42fbbb5216c12baa54745f21ce08e1d
MD5 25a9a78f979c720d39193a01fe707b92
BLAKE2b-256 6b1d36cb001069a3c3b49cfdaaf5f170607355925ffd1cca8d8db8f3f11c68e1

See more details on using hashes here.

File details

Details for the file pawsona-0.1.0a2-py3-none-any.whl.

File metadata

  • Download URL: pawsona-0.1.0a2-py3-none-any.whl
  • Upload date:
  • Size: 14.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for pawsona-0.1.0a2-py3-none-any.whl
Algorithm Hash digest
SHA256 338d9c50f8007e265702e6fd71202162eecade0900dafbdbdd35b3ae9e1e1d7a
MD5 e5bf0886ab170f731b3f3246e0cc5aba
BLAKE2b-256 3f6ec4f6838dbb5f6ca4b4c21f637b90963f6eb53f3d18bf633c96a58f003654

See more details on using hashes here.

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