Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
173 commits
Select commit Hold shift + click to select a range
eb2e11e
dataflex-preview first commit
MOLYHECI Aug 17, 2025
0baeaec
some fix
MOLYHECI Aug 17, 2025
85f3254
debug
MOLYHECI Aug 18, 2025
55c441d
[debug] fix bugs for trainer import, logger, and params update
MOLYHECI Aug 20, 2025
c00c8c0
fix bug
zzy1127 Aug 20, 2025
4e0c41f
less selector
TheRoadQaQ Aug 29, 2025
bdd40c5
Merge pull request #1 from TheRoadQaQ/main
MOLYHECI Sep 2, 2025
a99f056
fix bugs, refactor trainers and add mix_trainer for dynamic data mixture
zzy1127 Sep 3, 2025
4dbeea2
merged less
zzy1127 Sep 3, 2025
7f55f42
ignore
TheRoadQaQ Sep 4, 2025
84156f4
debug
TheRoadQaQ Sep 4, 2025
56248bc
less debug and improve
TheRoadQaQ Sep 4, 2025
2dc99c3
scripts
TheRoadQaQ Sep 5, 2025
6be71dd
debug
TheRoadQaQ Sep 5, 2025
606c082
Merge pull request #2 from TheRoadQaQ/main
MOLYHECI Sep 5, 2025
24d0657
scripts
TheRoadQaQ Sep 5, 2025
7adfb6f
small fix
catnanami Sep 5, 2025
4e0f044
Update select_trainer.py
zzy1127 Sep 9, 2025
8fb4e99
Update mix_trainer.py
zzy1127 Sep 9, 2025
f158306
fix bug for loss selector
Sep 12, 2025
1658178
add registery
zzy1127 Sep 13, 2025
9c0fbd1
Change the loss sampling method to distributed sampling and increase …
zzy1127 Sep 13, 2025
88f5cc4
fix bug for trainer
Sep 13, 2025
1f133ef
Merge pull request #3 from zzy1127/main
TheRoadQaQ Sep 14, 2025
f518b19
Merge pull request #1 from catnanami/main
TheRoadQaQ Sep 14, 2025
a39eef0
Merge branch 'OpenDCAI:main' into main
TheRoadQaQ Sep 14, 2025
cf713e2
debug
TheRoadQaQ Sep 14, 2025
72ad07b
custom selector
TheRoadQaQ Sep 14, 2025
76ea49a
Merge pull request #4 from TheRoadQaQ/main
TheRoadQaQ Sep 14, 2025
eb0ff1d
add delta loss selector
zzy1127 Sep 14, 2025
2c48138
merged
zzy1127 Sep 14, 2025
e710a9d
merged
zzy1127 Sep 15, 2025
5b72251
adapt to base selector
zzy1127 Sep 15, 2025
bc555e0
del warmup in delta_loss
zzy1127 Sep 15, 2025
c88116d
Merge pull request #5 from zzy1127/main
zzy1127 Sep 15, 2025
d12dfcf
delect unnecessary files, add readme, and fix requirements (#6)
haolpku Sep 18, 2025
5f9c38f
feat: unify io interface for selectors; add unified logger
zzy1127 Sep 18, 2025
2aa1d40
Merge branch 'main' of github.com:OpenDCAI/DataFlex-Preview
zzy1127 Sep 18, 2025
5b79f45
fix bug for trainer
zzy1127 Sep 18, 2025
9a41d6f
fix: bug in delta_loss_selector
zzy1127 Sep 18, 2025
253af33
ignore /examples/train_lora/develop/
TheRoadQaQ Sep 20, 2025
0d75f65
remove develop path in examples
TheRoadQaQ Sep 20, 2025
deb835d
detele path info and revise less about io
TheRoadQaQ Sep 20, 2025
552523e
Merge pull request #1 from TheRoadQaQ/main
zzy1127 Sep 21, 2025
af8c236
Merge pull request #7 from zzy1127/main
zzy1127 Sep 21, 2025
cab82d5
feat: add loss weighter
zzy1127 Sep 21, 2025
8c7fcf6
fix: bugs in weight trainer
zzy1127 Sep 21, 2025
245e93d
fix:bug in load_component
zzy1127 Sep 21, 2025
10f8b51
feat:add value check in loss weighter
zzy1127 Sep 21, 2025
eb7d9d6
fix: bug in mix trainer
zzy1127 Sep 21, 2025
8024272
Merge pull request #8 from zzy1127/main
zzy1127 Sep 21, 2025
4869b04
add mix_trainer_base_mixer
TheRoadQaQ Sep 22, 2025
4a4c1c9
Merge pull request #9 from TheRoadQaQ/main
TheRoadQaQ Sep 22, 2025
22a2741
feat: modify param "weighting_step" to "train_step"
zzy1127 Sep 22, 2025
f09c9bd
feat: add static mixer
zzy1127 Sep 22, 2025
ca12636
Merge branch 'main' of github.com:OpenDCAI/DataFlex-Preview
zzy1127 Sep 22, 2025
9ef8fe8
chore: del some comments
zzy1127 Sep 22, 2025
7dc9dd9
Merge pull request #10 from zzy1127/main
zzy1127 Sep 22, 2025
9332b49
Update README.md
haolpku Sep 26, 2025
19a08bd
update readme
haolpku Sep 26, 2025
3e5ca84
add auto test and version
haolpku Sep 26, 2025
c34aef7
add custom weighter and base weighter (#11)
zzy1127 Sep 28, 2025
ca98e34
Update YAML configuration files
zzy1127 Sep 29, 2025
7a5b714
Merge pull request #12 from zzy1127/main
zzy1127 Sep 29, 2025
5833aad
Update README.md
Qmeiyi Oct 5, 2025
405b8e9
Update README.md
Qmeiyi Oct 5, 2025
f0cf711
less debug and revise examples (#13)
TheRoadQaQ Oct 17, 2025
7b9afd1
Fix gradient_type reference in less_selector.py
TheRoadQaQ Oct 19, 2025
c59d5a9
Merge pull request #15 from TheRoadQaQ/main
TheRoadQaQ Oct 19, 2025
60e3424
add nice selector and revise parameter path (#14)
Qmeiyi Oct 20, 2025
035b794
Add TSDS selector implementation (#17)
yrywill Oct 25, 2025
234a82a
revise nice parameter path (#16)
Qmeiyi Oct 25, 2025
2548e34
Update requirements.txt
haolpku Oct 25, 2025
e91a300
add doremi mixer for pretraining (#18)
Walnutes Oct 29, 2025
6b9a326
add zeroth selector (#19)
YangBigMn Oct 29, 2025
d21e297
add merge_lora yaml (#22)
Qmeiyi Oct 30, 2025
ea5bfdf
Fixed the embedding method and add tqdm for tracking (#21)
yrywill Nov 3, 2025
6509038
update readme
haolpku Nov 3, 2025
56b88c0
Update README.md
haolpku Nov 3, 2025
488915e
Update README-zh.md
haolpku Nov 3, 2025
bd282b1
Update README.md
haolpku Nov 4, 2025
e355a3c
Update README-zh.md
haolpku Nov 4, 2025
97cdab4
Update offline_tsds_selector (#24)
yrywill Nov 6, 2025
396215a
Update README.md
haolpku Nov 9, 2025
e0e9a32
Update README-zh.md
haolpku Nov 9, 2025
dc6e865
add random selector & revise static & revise nice selector (#25)
Qmeiyi Nov 10, 2025
b7f56eb
Add offline_ near_selector and Revise offline_tsds_selector (#26)
yrywill Nov 17, 2025
3618657
Revise the offline_selector (#28)
yrywill Nov 26, 2025
ea0aa89
update doremi/static mixer (#29)
Walnutes Nov 26, 2025
65aec8a
add online data mixing (ODM) (#30)
Walnutes Dec 3, 2025
199d0e0
add early stop to dynamic training (#31)
Qmeiyi Dec 10, 2025
5c2b31c
update save_interval
Qmeiyi Dec 15, 2025
0a996db
Merge pull request #32 from Qmeiyi/main
Qmeiyi Dec 15, 2025
d2f548f
Update installation
Qmeiyi Dec 17, 2025
d21b963
Update installation
Qmeiyi Dec 17, 2025
573b973
add three embed method (#34)
yrywill Dec 22, 2025
3226f39
update dataflex readme
haolpku Dec 23, 2025
e08ffc7
update dataflex readme
haolpku Dec 23, 2025
a347c71
update dataflex readme
haolpku Dec 23, 2025
4832f56
update dataflex readme
haolpku Dec 23, 2025
11b08a9
Update README.md
haolpku Dec 23, 2025
a4bbb65
Update README-zh.md
haolpku Dec 23, 2025
7a52ff9
Update README.md
haolpku Dec 24, 2025
5a4ade5
Update README-zh.md
haolpku Dec 24, 2025
fd0b02e
Update README.md
haolpku Dec 24, 2025
3104db8
revise weight (#35)
Qmeiyi Dec 25, 2025
958c5c2
Update README.md
haolpku Dec 25, 2025
7ce75fb
Update README-zh.md
haolpku Dec 25, 2025
54579ba
Update README.md
haolpku Dec 25, 2025
9a72640
Update README-zh.md
haolpku Dec 25, 2025
561d1ed
Update README.md
haolpku Dec 25, 2025
89f974f
Update README.md
haolpku Dec 25, 2025
9980313
Update README.md
haolpku Dec 25, 2025
66fbcd0
Update README.md
haolpku Dec 25, 2025
b7862b0
Update README-zh.md
haolpku Dec 25, 2025
3f5b7a0
Update README.md
haolpku Dec 26, 2025
6b5c05b
Update README-zh.md
haolpku Dec 26, 2025
335d76a
Update README.md
haolpku Dec 26, 2025
e4f0bc0
update selector setting (#36)
Qmeiyi Jan 3, 2026
eb51671
Update README.md
haolpku Feb 4, 2026
bdad5ff
Update README.md
haolpku Mar 8, 2026
1e1fd4c
refine readme
haolpku Mar 12, 2026
e8879e4
refine readme
haolpku Mar 12, 2026
e902430
Update requirements.txt
haolpku Mar 16, 2026
f20102a
add support to DeepSpeed Zero3
haolpku Mar 16, 2026
c2f1853
update readme
haolpku Mar 17, 2026
0d06f37
Update README.md
haolpku Mar 19, 2026
64834e1
Update README-zh.md
haolpku Mar 19, 2026
57dae32
update readme
haolpku Mar 20, 2026
b68cfca
optimize cuda memory
haolpku Mar 20, 2026
48b9fb2
remove zeroth
haolpku Mar 22, 2026
31cd0a9
Fix bugs in mix trainer and update DoReMi/ODM's implementation (#37)
Walnutes Mar 23, 2026
51597f5
update auto test
haolpku Mar 23, 2026
8104aae
add dataflex version
haolpku Mar 23, 2026
184e765
add Licence for publish
haolpku Mar 23, 2026
b063aeb
Update README.md
haolpku Mar 25, 2026
17d29fc
Update README-zh.md
haolpku Mar 25, 2026
d822d1e
Update README.md
haolpku Mar 25, 2026
7086001
Update README-zh.md
haolpku Mar 25, 2026
c198c2a
add DataFlex
haolpku Mar 31, 2026
a006d18
add dataflex paper
haolpku Mar 31, 2026
e273383
Update README.md
haolpku Apr 3, 2026
4911b50
Update README-zh.md
haolpku Apr 3, 2026
e6998e7
Update README.md
haolpku Apr 3, 2026
b950faf
Update README-zh.md
haolpku Apr 3, 2026
d63f0fd
Update README-zh.md
haolpku Apr 3, 2026
9c310ac
Update README.md
haolpku Apr 3, 2026
3e991dc
update readme
haolpku Apr 3, 2026
e4da04e
Update README.md
haolpku Apr 3, 2026
67af55c
Update README-zh.md
haolpku Apr 3, 2026
c6f79f0
Update README.md
haolpku Apr 3, 2026
03b4858
Update README-zh.md
haolpku Apr 3, 2026
645b489
Fix typo: vaildation -> validation (#39)
luojiyin1987 Apr 3, 2026
c14b436
add dynamic_moe mixer
Walnutes Apr 5, 2026
675f251
update dynamic_moe mixer
Walnutes Apr 6, 2026
832dbf5
feat: update requirements and installation guide for LF 0.9.4 & Py3.1…
Heinz217 Apr 8, 2026
303410c
fix: Modify dependency issues related to DataFlow pdf2model (#46)
Heinz217 Apr 8, 2026
afad083
fix: resolve moe-sft mixer import error
Walnutes Apr 9, 2026
4067211
add: config for dynamic_moe mixer
Walnutes Apr 9, 2026
17f8db2
feat: support independent eval datasets for mixer
Walnutes Apr 9, 2026
0afcae6
add: config for freeze gate in MoE-SFT mixer
Walnutes Apr 9, 2026
2deb6ef
fix: config/params for mixer
Walnutes Apr 10, 2026
8390e7a
update mix trainer
Walnutes Apr 10, 2026
1a4fbd6
update: refine python-publish.yml
Walnutes Apr 14, 2026
dc10ffe
update: revise project URLs in pyproject.toml
Walnutes Apr 16, 2026
69cc4cf
update dependencies in pyproject.toml
Walnutes Apr 16, 2026
8113ddf
[deps] Update pyproject.toml and requirements.txt
Walnutes Apr 16, 2026
1a87c34
[deps] fix build error for python 3.11
Walnutes Apr 16, 2026
2179388
[deps] fix CI failures
Walnutes Apr 16, 2026
9a6a729
[deps] remove deepspeed from requirements.txt
Walnutes Apr 16, 2026
d81c971
[update] cli.py
Walnutes Apr 16, 2026
4475d6d
update pypi
haolpku Apr 17, 2026
0cea003
Add ClusterLESS selector
May 12, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
53 changes: 53 additions & 0 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
name: Publish Python Package

on:
release:
types: [published]

jobs:
release-build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- uses: actions/setup-python@v5
with:
python-version: "3.12"

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install build twine

- name: Build sdist and wheel
run: python -m build --sdist --wheel

- name: Check dist
run: twine check dist/*

- name: Upload dists
uses: actions/upload-artifact@v4
with:
name: release-dists
path: dist/

pypi-publish:
name: Publish to PyPI
needs: release-build
runs-on: ubuntu-latest
environment: pypi
permissions:
id-token: write
contents: read
steps:
- name: Download dists
uses: actions/download-artifact@v4
with:
name: release-dists
path: dist/

- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
packages-dir: dist/
83 changes: 83 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
name: Python tests

on:
push:
branches: ["main"]
paths:
- "**/*.py"
- "requirements.txt"
- "pyproject.toml"
- ".github/workflows/*.yml"
pull_request:
branches: ["main"]
paths:
- "**/*.py"
- "requirements.txt"
- "pyproject.toml"
- ".github/workflows/*.yml"

jobs:
test:
name: Run tests on ${{ matrix.os }} with Python ${{ matrix.python }}
strategy:
fail-fast: false
matrix:
os: ["ubuntu-latest", "macos-latest", "windows-latest"]
python: ["3.10", "3.11", "3.12"]

runs-on: ${{ matrix.os }}
defaults:
run:
shell: bash
steps:
- uses: actions/checkout@v4

- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python }}

- name: Free up disk space on Linux
if: runner.os == 'Linux'
run: |
sudo rm -rf /usr/local/lib/android || true
sudo rm -rf /usr/share/dotnet || true
sudo rm -rf /opt/ghc || true
sudo rm -rf /opt/hostedtoolcache/CodeQL || true
docker system prune -af || true
sudo apt-get clean

- name: Install uv
uses: astral-sh/setup-uv@v7
with:
enable-cache: true

- name: Install dependencies
env:
UV_SYSTEM_PYTHON: "1"
run: |
uv pip install --no-cache -r requirements.txt
uv pip install -e ".[dev]"
uv pip install llamafactory

- name: Smoke test CLI
env:
PYTHONDONTWRITEBYTECODE: 1
PYTHONIOENCODING: utf-8
run: |
python -m dataflex.cli version
dataflex-cli version
llamafactory-cli version

- name: Import check
run: |
python -c "from dataflex import __version__; print(__version__)"
python -c "from dataflex.core.registry import Registry"
python -c "from dataflex.train.selector import *"
python -c "from dataflex.train.mixer import *"
python -c "from dataflex.train.weighter import *"
python -c "from dataflex.train.dataset import MixedProportionManager"

# - name: Run pytest
# env:
# PYTHONDONTWRITEBYTECODE: 1
# run: pytest
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
__pycache__/
*.egg-info/
output.txt
**/.ipynb_checkpoints/
/examples/train_lora/develop/
/examples/zzytest/
200 changes: 200 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,200 @@

Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/

TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION

1. Definitions.

"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.

"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.

"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.

"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.

"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.

"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.

"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).

"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.

"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to the Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."

"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by the Licensor and
subsequently incorporated within the Work.

2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.

3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.

4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:

(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and

(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and

(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and

(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding any notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.

You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.

5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.

6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.

7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.

8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.

9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.

END OF TERMS AND CONDITIONS

APPENDIX: How to apply the Apache License to your work.

To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets "[]"
replaced with your own identifying information. (Don't include
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. Please also get an
individualized contributor license agreement from each contributor.

Copyright 2025 DataFlex Team

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

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
14 changes: 14 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
recursive-include src/dataflex *.py
recursive-include src/dataflex *.yaml
recursive-include src/dataflex *.json
recursive-include src/dataflex *.sh
recursive-include src/dataflex *.txt

include README.md
include requirements.txt
include LICENSE

global-exclude *.py[cod]
global-exclude __pycache__/
global-exclude *.so
global-exclude *.egg-info/
Loading