Skip to main content

Anima

anima /ˈæn.ɪ.mə/

the soul, especially the irrational part of the soul as distinguished from the rational mind.

Anima extracts a living emotional state from raw text, and outputs a vector that can be broadcast to any downstream consumer.

One example use is generating in-flight modifications to body language and changes in eye-color with the related Reachy Mini Conversational App behavioral adapter for the Reachy Mini robot. To get a better sense of how the affect extraction engine works you can check out this writeup explaining the approach.

You can get a quick sense for how the engine converts text to an emotional vector by running:
uv run pytest tests/smoke.py

Installation

pip install anima-engine

Acknowledgements

This project uses the NRC Valence, Arousal, and Dominance (VAD) Lexicon (v2.1) created by Saif M. Mohammad at the National Research Council Canada.
Project Homepage: http://saifmohammad.com/WebPages/nrc-vad.html
Author Email: saif.mohammad@nrc-cnrc.gc.ca

If you use this project in academic work, please cite: Mohammad, Saif M. (2025). NRC VAD Lexicon v2: Norms for Valence, Arousal, and Dominance for over 55k English Terms. arXiv:2503.23547.

About the Author

Daniel Ritchie is an independent technologist and founder of the Brain Wave Collective.
LinkedIn
Email

Release files for anima-engine 0.0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for anima-engine 0.0.4
File Size Uploaded
anima_engine-0.0.4.tar.gz 143.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for anima-engine 0.0.4
File Interpreter ABI Platform
anima_engine-0.0.4-py3-none-any.whl Python 3 none any Details

Total release size: 166.7 kB

Release files / anima_engine-0.0.4.tar.gz

Download URL anima_engine-0.0.4.tar.gz
Size 143.7 kB
Tags Source
SHA-256 checksum
How to use checksums
7b04452d0507d0a159af29449546f6803324c6369e269171a4e845e2da09d615
BLAKE2b-256 checksum
How to use checksums
2e17f2c8c3af257ecc49a68b953e9efd73d119c08c74989f42bc049dd599f7e8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Mar 14, 2026.

Transparency log

Release files / anima_engine-0.0.4-py3-none-any.whl

Download URL anima_engine-0.0.4-py3-none-any.whl
Size 22.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
eb99adade2ae59100af809c2b9db369c2567d25f8166ef8d77643c6b0fc90ed8
BLAKE2b-256 checksum
How to use checksums
8d75a98ac7298d1d0c54952a1550a829e20bd6b28f13fc166b95b55150d20c1b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Mar 14, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.0.4 This release

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page