Shared library for the N8 Group migration product family
Project description
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.
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 migration_core-0.1.0rc1.tar.gz.
File metadata
- Download URL: migration_core-0.1.0rc1.tar.gz
- Upload date:
- Size: 54.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1351b80566904f1cb542512dd32405842783dbdeb9cb9ce6da5db65dd0b23c44
|
|
| MD5 |
b15f2538482c5bdd7b3cfc043a4f6e43
|
|
| BLAKE2b-256 |
31fa8526b31772e8b39dcda1564669143e5795dcbf9bb5953a0a586e7f096eb4
|
Provenance
The following attestation bundles were made for migration_core-0.1.0rc1.tar.gz:
Publisher:
publish.yml on n8group-oss/migration-core
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
migration_core-0.1.0rc1.tar.gz -
Subject digest:
1351b80566904f1cb542512dd32405842783dbdeb9cb9ce6da5db65dd0b23c44 - Sigstore transparency entry: 1071147768
- Sigstore integration time:
-
Permalink:
n8group-oss/migration-core@3bde462f2850f1bff597766033654d6fa608d49e -
Branch / Tag:
refs/tags/v0.1.0rc1 - Owner: https://github.com/n8group-oss
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@3bde462f2850f1bff597766033654d6fa608d49e -
Trigger Event:
release
-
Statement type:
File details
Details for the file migration_core-0.1.0rc1-py3-none-any.whl.
File metadata
- Download URL: migration_core-0.1.0rc1-py3-none-any.whl
- Upload date:
- Size: 34.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
87d4b9dfcfec2cc1c1f0a03fbb326d7bb0d884bdcefb4a2209f77f10e57dc8dc
|
|
| MD5 |
42636b36ca05adc9d1cfaa674fe2492a
|
|
| BLAKE2b-256 |
a41a9d3220fb55ac2bc27e8faed9858e9b711130c11b2edc13c1af05f1a0c801
|
Provenance
The following attestation bundles were made for migration_core-0.1.0rc1-py3-none-any.whl:
Publisher:
publish.yml on n8group-oss/migration-core
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
migration_core-0.1.0rc1-py3-none-any.whl -
Subject digest:
87d4b9dfcfec2cc1c1f0a03fbb326d7bb0d884bdcefb4a2209f77f10e57dc8dc - Sigstore transparency entry: 1071148062
- Sigstore integration time:
-
Permalink:
n8group-oss/migration-core@3bde462f2850f1bff597766033654d6fa608d49e -
Branch / Tag:
refs/tags/v0.1.0rc1 - Owner: https://github.com/n8group-oss
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@3bde462f2850f1bff597766033654d6fa608d49e -
Trigger Event:
release
-
Statement type: