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
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.15
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| otree-6.0.15.tar.gz | 479.7 kB | Without provenance | Details |
Release files / otree-6.0.15.tar.gz
| Download URL | otree-6.0.15.tar.gz |
|---|---|
| Size | 479.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
928e649cbad2fa6200e49c8d7cae2ee2ec87e0c2fa3bcfd59d1a0df5fc66dc2a
|
|
BLAKE2b-256 checksum How to use checksums |
706bf065ecd134b9eba43635c622a4ac209219b48ffe28950ea635d9e2aefa4f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.10.4
|
Security for otree 6.0.15
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.