Skip to main content

Youca Setup for Odoo

CI PyPI version Python versions License: MIT

Youca Setup for Odoo is a command-line tool that creates, configures and manages Odoo development environments backed by Docker and PostgreSQL. It turns a blank machine into a working Odoo project in one command.

Features

  • youca-setup init — scaffold a full Odoo project (Compose file, odoo.conf, .env, addons directories); --odoo-version/--postgres-version pick the image majors (defaults: latest supported); --template reuses a custom template directory and a git repository is initialised by default
  • youca-setup start / stop / restart — environment lifecycle via Docker Compose
  • youca-setup status — running state, ports and health at a glance
  • youca-setup logs — container logs without touching Docker directly
  • youca-setup shell — interactive shell (/bin/bash or psql) inside a container
  • youca-setup doctor — diagnose Docker, PostgreSQL, ports and configuration; --fix applies corrections
  • youca-setup module create — scaffold Odoo addon modules with an optional base model
  • youca-setup backup / restore — database + filestore + configuration archives
  • youca-setup export / import — portable environment snapshots (config + .env + addons)
  • youca-setup info / projects / remove — inspect, list or unregister known projects

Installation

Requires Python 3.10+ and Docker with Compose v2.

pip install youca-setup

Quick start

# Create a project (Odoo 18, PostgreSQL 16, a custom addons directory)
youca-setup init school --odoo-version 18 --postgres-version 16 --postgres docker --addons custom-addons

# Run the environment
cd school
youca-setup start        # http://localhost:8069

# Scaffold a module with a base model
youca-setup module create school_management --model student

# Check that everything is healthy
youca-setup doctor

Commands

Command Purpose
youca-setup init Create a new Odoo project (interactive or scripted)
youca-setup start Start the environment via Docker Compose
youca-setup stop Stop the environment
youca-setup restart Restart the environment
youca-setup status Show service state and host ports
youca-setup logs Show service logs
youca-setup info Show details of the current project
youca-setup projects List all known projects
youca-setup remove Unregister (and optionally delete) a project
youca-setup doctor Diagnose and (optionally) fix the environment
youca-setup module create Scaffold an Odoo addon module
youca-setup backup Create a database + filestore + config archive
youca-setup restore Restore from a backup archive
youca-setup shell Open an interactive shell in a container
youca-setup export Export the environment to a portable .tar.gz
youca-setup import Import an environment archive into a new project

Documentation

Full guides (user and developer) are available in docs/. Release notes are tracked in CHANGELOG.md.

Development

pip install -e ".[dev]"
pre-commit install
ruff check .
mypy src/youca_setup
pytest

License

Distributed under the MIT License.

Release files for youca-setup 0.1.0

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

Source distribution (sdist)

Source distribution for youca-setup 0.1.0
File Size Uploaded
youca_setup-0.1.0.tar.gz 63.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for youca-setup 0.1.0
File Interpreter ABI Platform
youca_setup-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 123.4 kB

Release files / youca_setup-0.1.0.tar.gz

Download URL youca_setup-0.1.0.tar.gz
Size 63.9 kB
Tags Source
SHA-256 checksum
How to use checksums
59dde5cc30c1ffadd6472a1f7c3874922b156bfcaa73ee1fda6e7e477988f6c0
BLAKE2b-256 checksum
How to use checksums
55fca1ca0eefb791c5d713a34394aa9d6cfc4040248637aa4abdb6e0a6b33434
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Sep 18, 2026.

Transparency log

Release files / youca_setup-0.1.0-py3-none-any.whl

Download URL youca_setup-0.1.0-py3-none-any.whl
Size 59.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9e6c55826f85ad7d8d6c46f9a6a37bdfa7f775e4fc56f9b5b6f957dd04301134
BLAKE2b-256 checksum
How to use checksums
661de40a4b8cb4d2858ad075633c6810b3e72f0d515d879b1a6b3a795b10f636
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Sep 18, 2026.

Transparency log

Release history Release notifications | RSS feed

0.1.1

2 release files

This release

0.1.0 This release

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