Skip to main content

Homepage

These are the core oTree libraries.

Before you fork this project, keep in mind that otree is updated frequently, and over time you might get upstream merge conflicts, as your local project diverges from the oTree mainline version.

Instead, consider creating a project with otree startproject and making your modifications in an app, using oTree’s public API. You can create custom URLs, channels, override settings, etc.

Docs

http://otree.readthedocs.io/en/latest/index.html

Quickstart

Typical setup

pip install -U otree
otree startproject oTree
cd oTree
otree devserver

Core dev setup

If you are modifying otree-core locally, clone or download this repo, then run this from the project root:

pip install -e .
cd .. # or wherever you will start your project
otree startproject oTree
cd oTree
otree devserver

i18n

To generate .pot and update .po files:

cd tests  # or whatever your project is called
pybabel extract "../otree" -o "../otree/locale/django.pot" -F "..\otree\locale\babel.ini" -k core_gettext -c Translators:
cd ..
pybabel update -D django -i otree/locale/django.pot -d otree/locale

To compile .po to .mo:

pybabel compile -d otree/locale -f -D django

Note, beware of the issue here

To add a new language (e.g. Polish):

pybabel init -D django -i otree/locale/django.pot -d otree/locale -l pl

Metadata

Release files for otree 6.0.19

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

Source distribution (sdist)

Source distribution for otree 6.0.19
File Size Uploaded Provenance Actions
otree-6.0.19.tar.gz 482.1 kB Without provenance Details for otree-6.0.19.tar.gz

Release files / otree-6.0.19.tar.gz

Download URL otree-6.0.19.tar.gz
Size 482.1 kB
Tags Source
SHA-256 checksum
How to use checksums
aec13a1ba869355454832d9f4fd3a9107f54a0b1d318be58e511b0c8a8d74c7b
BLAKE2b-256 checksum
How to use checksums
c62cbdd26e59be4ecf630eb9a8100edb38bf04e1db34001765aa719a7abe7c4a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.7

Security for otree 6.0.19

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

6.0.19 This release

1 release file No provenance

0.1

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