Actively maintained. Last release 4 weeks ago. A safe choice.
pip install galileo-coregalileo-core (in Orbit)
Shared schemas and configuration for Galileo's Python packages.
This package is now maintained inside the Orbit monorepo at libs/python/core/.
Package Layout
libs/python/core/
├── BUILD.bazel
├── README.md
├── galileo_core/
│ ├── __init__.py
│ ├── schemas/
│ ├── helpers/
│ ├── constants/
│ ├── exceptions/
│ ├── utils/
│ └── testing/
└── tests/
Running Tests
Orbit is Bazel-first. Run tests with Bazel:
# Run core package tests
bazel test //libs/python/core:core_test
# Or run all tests in orbit
bazel test //...
Building Distribution Artifacts
Build the wheel target with Bazel:
bazel build //libs/python/core:galileo_core_wheel
Custom HTTP Headers (API gateways / IBM APIC)
When the Galileo API is fronted by a gateway (e.g. IBM APIC) that requires extra routing
or auth headers, set GALILEO_EXTRA_HEADERS to a JSON object mapping header names to
values. These headers are sent on every request that goes through galileo_core's
ApiClient — that is, all core-backed flows: login, the pre-auth healthcheck, token
refresh, resource calls, and batch ingestion:
export GALILEO_EXTRA_HEADERS='{"ibm_client_id": "my_client_id", "ibm_client_secret": "my_client_secret"}'
Or pass them programmatically via the extra_headers config argument. Galileo's own
auth/content headers always take precedence on key collisions and cannot be overridden.
Scope: this applies to requests issued through
galileo_core.helpers.api_client.ApiClient. Legacy egress paths that build their own HTTP client (e.g.setgalileo's assistant-tool requests) do not readGalileoConfig.extra_headersand are not covered here.
Import Path
The import path remains:
import galileo_core
This stays the same for both internal Orbit usage and external PyPI consumers.
Publishing
galileo-core is published to public PyPI from Orbit workflows.
Use the Orbit PyPI Release workflow (.github/workflows/orbit-pypi-release.yaml):
- Trigger manually from
mainonly. - Set .