pycodelift
Copyright 2026 Suhwan Choi and pycodelift contributors

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

================================================================================
This product includes software derived from the Hugging Face Transformers
library (https://github.com/huggingface/transformers), Copyright The HuggingFace
Team, licensed under the Apache License, Version 2.0.

Specifically, the build-time class-inheritance flattening engine in
`src/pycodelift/core/` is derived from the following files in transformers:

  * utils/modular_model_converter.py
  * utils/modular_integrations.py
  * utils/create_dependency_mapping.py

The pycodelift project generalizes these utilities into a framework-agnostic
library and decouples them from transformers-specific assumptions. The original
behaviour can still be reproduced via `pycodelift.adapters.transformers`.

The original transformers source files retain their Apache-2.0 copyright
notices in the derived modules where applicable.
================================================================================
