Skip to main content

Train personalities, not commands.

Project description

Pawsona

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, and generate the first simple behavior-model actions.

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

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 session-only until persistence lands in the next milestone.

Project Shape

pawsona/
  cli.py
  behavior.py
  pet.py
  simple_yaml.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.0a1.tar.gz (10.4 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.0a1-py3-none-any.whl (12.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pawsona-0.1.0a1.tar.gz
  • Upload date:
  • Size: 10.4 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.0a1.tar.gz
Algorithm Hash digest
SHA256 22df9df3a0aec49fcd07cbc3f73ff7d3f2832d7e4df9323ff0fcd51fd3130c5b
MD5 1cbac919866de6587dcba197253d20bb
BLAKE2b-256 69b949f3871d12e0f611b2f62ade4f1ab3a249f99fb81ba101e9f7919550b67a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pawsona-0.1.0a1-py3-none-any.whl
  • Upload date:
  • Size: 12.0 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.0a1-py3-none-any.whl
Algorithm Hash digest
SHA256 70b8a024ec0a1dcbbc2823a6eba0c5e64563b473778da803026138ffed8c7c03
MD5 6419c6b38f2509e037580e50931c8f17
BLAKE2b-256 aebc2c5e465b4d13d2ebc03a84d0e30b94ecfa7bae7ca1b2bb1e2a40834b122a

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