migration-core
Shared Python library for the N8 Group migration product family.
migration-core packages the GitHub-side adapters, shared target models, exception hierarchy, and identity helpers used by migration tools such as bb2gh and ado2gh.
What This Package Includes
- GitHub target adapter abstractions and implementations under
migration_core.adapters - Shared GitHub-facing data models under
migration_core.models - Shared exception types under
migration_core.exceptions - Enterprise identity helpers and clients under
migration_core.identity - Supporting architecture and specification docs in
docs/and.specify/
This repository is a library package. It does not currently ship a standalone CLI.
Installation
Install the base package from a package index:
python -m pip install migration-core
Install with GitHub App authentication support:
python -m pip install "migration-core[github-app]"
Install from source for local development and release verification:
python -m pip install -e ".[dev,github-app]"
Optional Extras
github-app- addspyjwt[crypto]for GitHub App JWT generation used by the multi-app adapter flowdev- adds local quality and packaging tools, includingpytest,ruff,mypy, andbuild
Local Verification
After installing the development extras, run:
python -m build
python -m pytest -v
ruff check src tests
mypy src
Current Module Surface
Top-level package exports:
from migration_core import __version__
from migration_core.adapters import SourceAdapter, TargetAdapter
from migration_core.adapters.github import (
GitHubAppConfig,
GitHubBaseAdapter,
GitHubCloudAdapter,
GitHubCloudDRAdapter,
GitHubServerAdapter,
MultiAppGitHubAdapter,
)
from migration_core.exceptions import APIError, MigrationError
from migration_core.models import GitHubRulesetConfig, Repository, User
Additional identity clients are available as submodules:
from migration_core.identity.github_saml import GitHubSAMLClient
from migration_core.identity.github_scim import GitHubSCIMClient
Repository Layout
src/migration_core/- package sourcetests/- unit and integration testsdocs/architecture/- architecture reference docs.specify/- shared specification kit assets used by product repos
License
Licensed under the Business Source License 1.1. See LICENSE.
Metadata
Release files for migration-core 0.1.0
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 | Actions |
|---|---|---|---|---|
| migration_core-0.1.0.tar.gz | 54.6 kB | With provenance | Details for migration_core-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| migration_core-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for migration_core-0.1.0-py3-none-any.whl |
Total release size: 88.8 kB
Release files / migration_core-0.1.0.tar.gz
| Download URL | migration_core-0.1.0.tar.gz |
|---|---|
| Size | 54.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
437bed6ef869b1d63e6c0fd0520da3351258a0779b93f154f8ffa083d45c334a
|
|
BLAKE2b-256 checksum How to use checksums |
9acaacb57c75762fcf42df7143d69bd3b0d61c253f00e819e9157d77335feb20
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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 Mar 10, 2026.
Transparency logRelease files / migration_core-0.1.0-py3-none-any.whl
| Download URL | migration_core-0.1.0-py3-none-any.whl |
|---|---|
| Size | 34.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e3b4afc15c26d7eccf22adde28dfe6d63cb9dd878c18115302068ce54ab68202
|
|
BLAKE2b-256 checksum How to use checksums |
d83c6856e136d6f514618d46888233c425d79db0345487a9416bfc42ac93288f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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 Mar 10, 2026.
Transparency logSecurity for migration-core 0.1.0
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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for migration_core-0.1.0.tar.gz
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 Mar 10, 2026.
Transparency logA 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.