A orjson wrapper for use in Apache Airflow
Project description
airflow-orjson-serialization
A fast and simple drop-in JSON serialization module for Apache Airflow, using orjson.
🚀 Features
- Drop-in replacement for Airflow's JSON handling
- Based on
orjsonfor maximum performance - Easy integration via
airflow_local_settings.py
🔧 Installation
pip install airflow-orjson-serialization
⚙️ Usage
After installing, run the following command to generate your airflow_local_settings.py:
airflow-orjson init
Optionally specify a custom home directory:
airflow-orjson init -H /path/to/your/airflow/home
This will create a file like:
from airflow_orjson_serialization.json import ORJson
json = ORJson()
Make sure this file is located in $AIRFLOW_HOME/airflow_local_settings.py or set via:
export AIRFLOW__CORE__AIRFLOW_LOCAL_SETTINGS=/your/path/airflow_local_settings.py
Then restart your Airflow components
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file airflow_orjson_serialization-0.1.0.tar.gz.
File metadata
- Download URL: airflow_orjson_serialization-0.1.0.tar.gz
- Upload date:
- Size: 2.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
77c6f9403f4bd31ba2b6e86abf59f8f60859430ab9edb447bb6014f9cdfb2dae
|
|
| MD5 |
81d1806184dfc80e993d9e4ba03a956f
|
|
| BLAKE2b-256 |
a17c0eed3224787620b16f1d4bc6a8a3604b7b6c24915b80e344997c3bde2f8f
|
File details
Details for the file airflow_orjson_serialization-0.1.0-py3-none-any.whl.
File metadata
- Download URL: airflow_orjson_serialization-0.1.0-py3-none-any.whl
- Upload date:
- Size: 3.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d920698dda5b2f11c06d0bb80feca64fc15a9302d7547858e249247e18975ee0
|
|
| MD5 |
c9da9dc8c892f90ffcae28ea6e68e566
|
|
| BLAKE2b-256 |
207aa37456ddb89b8c0ffb6e3d394007178c416ad5e8ae74320f60a4ee14acd5
|