Skip to main content

Fast data into Odoo — high-performance Polars-backed ETL.

Project description

Fluvo

PyPI Status Python Version License

Read the documentation at https://fluvo.readthedocs.io/ Tests Codecov

pre-commit Ruff codestyle

Fluvo gets data into Odoo, fast. A high-performance, Polars-backed ETL toolkit that replaces fragile, manual data prep with declarative, repeatable, configuration-as-code workflows.


Why Fluvo?

  • Fast at scale — a Polars-backed, multi-threaded engine for importing and exporting large Odoo datasets.
  • 🛟 Imports that don't lose data — a loadcreate fallback rescues the good records from a failing batch and writes the rest to a fail file with the exact error, so a few bad rows never sink the whole import.
  • 🔗 No import-order headaches — automatically detects relational and parent/child data and runs a two-pass import, so you don't have to hand-order your files.
  • 🧩 Configuration-as-code — define transforms as plain Python with a rich mapper library: readable, repeatable, and version-controlled.
  • 🔄 Server-to-server migration — export, transform, and import between two Odoo instances in a single in-memory step.
  • Clean data before it lands — built-in cleaning and validation catch bad values before they ever reach Odoo.

Installation

You can install Fluvo via uv or pip from PyPI:

$ uv pip install fluvo

Quick Usage Example

The core workflow involves two simple steps:

1. Transform your source data with a Python script. Create a transform.py file to define the mapping from your source file to Odoo's format.

# transform.py
from fluvo.lib.transform import Processor
from fluvo.lib import mapper

my_mapping = {
    'id': mapper.concat('prod_', 'SKU'),
    'name': mapper.val('ProductName'),
    'list_price': mapper.num('Price'),
}

processor = Processor('origin/products.csv')
processor.process(my_mapping, 'data/products_clean.csv', {'model': 'product.product'})
processor.write_to_file("load.sh")

...

$ python transform.py

2. Load the clean data into Odoo using the CLI. The transform.py script generates a load.sh file containing the correct CLI command.

# Contents of the generated load.sh
fluvo import --connection-file conf/connection.conf --file data/products_clean.csv --model product.product ...

Then execute the script.

$ bash load.sh

When the import command runs, it automatically detects the data structure. If it finds relational data like parent_id fields, it will automatically switch to a robust two-pass strategy to ensure the import succeeds.

Documentation

For a complete user guide, tutorials, and API reference, please see the full documentation on Read the Docs. Please see the Command-line Reference for details.

Contributing

Contributions are very welcome. To learn more, see the Contributor Guide.

License

Distributed under the terms of the LGPL 3.0 license, Fluvo is free and open source software.

Issues

If you encounter any problems, please file an issue along with a detailed description.

Credits

This development of project is financially supported by stefcy.com.

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

fluvo-0.0.1.tar.gz (316.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fluvo-0.0.1-py3-none-any.whl (198.9 kB view details)

Uploaded Python 3

File details

Details for the file fluvo-0.0.1.tar.gz.

File metadata

  • Download URL: fluvo-0.0.1.tar.gz
  • Upload date:
  • Size: 316.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for fluvo-0.0.1.tar.gz
Algorithm Hash digest
SHA256 169f5d262f377ad403f8094bea5f6d854fc76ef759aad5b0094e963466ae6175
MD5 b9b6d493dd55162bedc71d1c5c9f0a7a
BLAKE2b-256 b40141a2bec24ad75d3dc08c2e30d7d9c488c22e7da29101ec6704cf176c33a1

See more details on using hashes here.

Provenance

The following attestation bundles were made for fluvo-0.0.1.tar.gz:

Publisher: release.yml on GetFluvo/fluvo

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file fluvo-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: fluvo-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 198.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for fluvo-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4f55e294c7374ea3bb75888f67d6bfecd92b52e1488764e8415966594adadea8
MD5 f4471a17a3184a2829132e6f85cad5a7
BLAKE2b-256 c3a0c3534df5505e7052fb9124eb0b2c6360885eb8503fbe9c85d06e0107c2d9

See more details on using hashes here.

Provenance

The following attestation bundles were made for fluvo-0.0.1-py3-none-any.whl:

Publisher: release.yml on GetFluvo/fluvo

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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