dsff 1.0.5__tar.gz → 1.0.7__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (36) hide show
  1. {dsff-1.0.5 → dsff-1.0.7}/.github/workflows/python-package.yml +109 -79
  2. {dsff-1.0.5 → dsff-1.0.7}/.readthedocs.yml +5 -0
  3. {dsff-1.0.5/src/dsff.egg-info → dsff-1.0.7}/PKG-INFO +8 -3
  4. {dsff-1.0.5 → dsff-1.0.7}/docs/mkdocs.yml +46 -44
  5. dsff-1.0.7/docs/pages/imgs/logo.png +0 -0
  6. {dsff-1.0.5 → dsff-1.0.7}/pyproject.toml +6 -2
  7. dsff-1.0.7/src/dsff/VERSION.txt +1 -0
  8. {dsff-1.0.5 → dsff-1.0.7/src/dsff.egg-info}/PKG-INFO +8 -3
  9. {dsff-1.0.5 → dsff-1.0.7}/src/dsff.egg-info/SOURCES.txt +0 -1
  10. dsff-1.0.5/.github/workflows/pypi-publish.yml +0 -37
  11. dsff-1.0.5/docs/pages/imgs/logo.png +0 -0
  12. dsff-1.0.5/src/dsff/VERSION.txt +0 -1
  13. {dsff-1.0.5 → dsff-1.0.7}/.gitignore +0 -0
  14. {dsff-1.0.5 → dsff-1.0.7}/LICENSE +0 -0
  15. {dsff-1.0.5 → dsff-1.0.7}/README.md +0 -0
  16. {dsff-1.0.5 → dsff-1.0.7}/docs/coverage.svg +0 -0
  17. {dsff-1.0.5 → dsff-1.0.7}/docs/pages/imgs/dsff-from.png +0 -0
  18. {dsff-1.0.5 → dsff-1.0.7}/docs/pages/imgs/dsff-to.png +0 -0
  19. {dsff-1.0.5 → dsff-1.0.7}/docs/pages/imgs/icon.png +0 -0
  20. {dsff-1.0.5 → dsff-1.0.7}/docs/pages/index.md +0 -0
  21. {dsff-1.0.5 → dsff-1.0.7}/docs/pages/usage.md +0 -0
  22. {dsff-1.0.5 → dsff-1.0.7}/docs/requirements.txt +0 -0
  23. {dsff-1.0.5 → dsff-1.0.7}/requirements.txt +0 -0
  24. {dsff-1.0.5 → dsff-1.0.7}/setup.cfg +0 -0
  25. {dsff-1.0.5 → dsff-1.0.7}/src/dsff/__common__.py +0 -0
  26. {dsff-1.0.5 → dsff-1.0.7}/src/dsff/__info__.py +0 -0
  27. {dsff-1.0.5 → dsff-1.0.7}/src/dsff/__init__.py +0 -0
  28. {dsff-1.0.5 → dsff-1.0.7}/src/dsff/arff.py +0 -0
  29. {dsff-1.0.5 → dsff-1.0.7}/src/dsff/csv.py +0 -0
  30. {dsff-1.0.5 → dsff-1.0.7}/src/dsff/dataset.py +0 -0
  31. {dsff-1.0.5 → dsff-1.0.7}/src/dsff.egg-info/dependency_links.txt +0 -0
  32. {dsff-1.0.5 → dsff-1.0.7}/src/dsff.egg-info/requires.txt +0 -0
  33. {dsff-1.0.5 → dsff-1.0.7}/src/dsff.egg-info/top_level.txt +0 -0
  34. {dsff-1.0.5 → dsff-1.0.7}/tests/__init__.py +0 -0
  35. {dsff-1.0.5 → dsff-1.0.7}/tests/test_dsff.py +0 -0
  36. {dsff-1.0.5 → dsff-1.0.7}/tests/utils.py +0 -0
@@ -1,79 +1,109 @@
1
- # This workflow will install Python dependencies, run tests and lint with a variety of Python versions
2
- # For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python
3
-
4
- name: build
5
-
6
- env:
7
- package: dsff
8
-
9
- on:
10
- push:
11
- branches: [ "main" ]
12
- pull_request:
13
- branches: [ "main" ]
14
-
15
- jobs:
16
- build:
17
- runs-on: ${{ matrix.os }}
18
- strategy:
19
- fail-fast: false
20
- matrix:
21
- os: [ubuntu-latest]
22
- python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
23
- steps:
24
- - uses: actions/checkout@v3
25
- - name: Set up Python ${{ matrix.python-version }}
26
- uses: actions/setup-python@v4
27
- with:
28
- python-version: ${{ matrix.python-version }}
29
- - name: Install ${{ env.package }}
30
- run: |
31
- python -m pip install --upgrade pip
32
- python -m pip install flake8 pytest pytest-cov coverage
33
- pip install -r requirements.txt
34
- pip install .
35
- - name: Lint with flake8
36
- run: |
37
- # stop the build if there are Python syntax errors or undefined names
38
- flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
39
- # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
40
- flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
41
- - name: Test ${{ env.package }} with pytest
42
- run: |
43
- pytest --cov=$package
44
- coverage:
45
- needs: build
46
- runs-on: ubuntu-latest
47
- env:
48
- cov_badge_path: docs/coverage.svg
49
- steps:
50
- - uses: actions/checkout@v3
51
- - name: Install ${{ env.package }}
52
- run: |
53
- python -m pip install --upgrade pip
54
- python -m pip install pytest pytest-cov
55
- pip install -r requirements.txt
56
- pip install .
57
- - name: Make coverage badge for ${{ env.package }}
58
- run: |
59
- pip install genbadge[coverage]
60
- pytest --cov=$package --cov-report=xml
61
- genbadge coverage -i coverage.xml -o $cov_badge_path
62
- - name: Verify Changed files
63
- uses: tj-actions/verify-changed-files@v12
64
- id: changed_files
65
- with:
66
- files: ${{ env.cov_badge_path }}
67
- - name: Commit files
68
- if: steps.changed_files.outputs.files_changed == 'true'
69
- run: |
70
- git config --local user.email "github-actions[bot]@users.noreply.github.com"
71
- git config --local user.name "github-actions[bot]"
72
- git add $cov_badge_path
73
- git commit -m "Updated coverage.svg"
74
- - name: Push changes
75
- if: steps.changed_files.outputs.files_changed == 'true'
76
- uses: ad-m/github-push-action@master
77
- with:
78
- github_token: ${{ secrets.github_token }}
79
- branch: ${{ github.ref }}
1
+ # This workflow will install Python dependencies, run tests and lint with a variety of Python versions
2
+ # For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python
3
+
4
+ name: build
5
+
6
+ env:
7
+ package: dsff
8
+
9
+ on:
10
+ push:
11
+ branches: [ "main" ]
12
+ pull_request:
13
+ branches: [ "main" ]
14
+
15
+ jobs:
16
+ build:
17
+ runs-on: ${{ matrix.os }}
18
+ strategy:
19
+ fail-fast: false
20
+ matrix:
21
+ os: [ubuntu-latest]
22
+ python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
23
+ steps:
24
+ - uses: actions/checkout@v3
25
+ - name: Set up Python ${{ matrix.python-version }}
26
+ uses: actions/setup-python@v4
27
+ with:
28
+ python-version: ${{ matrix.python-version }}
29
+ - name: Install ${{ env.package }}
30
+ run: |
31
+ python -m pip install --upgrade pip
32
+ python -m pip install flake8 pytest pytest-cov coverage
33
+ pip install -r requirements.txt
34
+ pip install .
35
+ - name: Lint with flake8
36
+ run: |
37
+ # stop the build if there are Python syntax errors or undefined names
38
+ flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
39
+ # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
40
+ flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
41
+ - name: Test ${{ env.package }} with pytest
42
+ run: |
43
+ pytest --cov=$package
44
+ coverage:
45
+ needs: build
46
+ runs-on: ubuntu-latest
47
+ env:
48
+ cov_badge_path: docs/coverage.svg
49
+ steps:
50
+ - uses: actions/checkout@v3
51
+ - name: Install ${{ env.package }}
52
+ run: |
53
+ python -m pip install --upgrade pip
54
+ python -m pip install pytest pytest-cov
55
+ pip install -r requirements.txt
56
+ pip install .
57
+ - name: Make coverage badge for ${{ env.package }}
58
+ run: |
59
+ pip install genbadge[coverage]
60
+ pytest --cov=$package --cov-report=xml
61
+ genbadge coverage -i coverage.xml -o $cov_badge_path
62
+ - name: Verify Changed files
63
+ uses: tj-actions/verify-changed-files@v12
64
+ id: changed_files
65
+ with:
66
+ files: ${{ env.cov_badge_path }}
67
+ - name: Commit files
68
+ if: steps.changed_files.outputs.files_changed == 'true'
69
+ run: |
70
+ git config --local user.email "github-actions[bot]@users.noreply.github.com"
71
+ git config --local user.name "github-actions[bot]"
72
+ git add $cov_badge_path
73
+ git commit -m "Updated coverage.svg"
74
+ - name: Push changes
75
+ if: steps.changed_files.outputs.files_changed == 'true'
76
+ uses: ad-m/github-push-action@master
77
+ with:
78
+ github_token: ${{ secrets.github_token }}
79
+ branch: ${{ github.ref }}
80
+ deploy:
81
+ runs-on: ubuntu-latest
82
+ needs: coverage
83
+ steps:
84
+ - uses: actions/checkout@v3
85
+ with:
86
+ fetch-depth: 0
87
+ - name: Check for version change
88
+ uses: dorny/paths-filter@v2
89
+ id: filter
90
+ with:
91
+ filters: |
92
+ version:
93
+ - '**/VERSION.txt'
94
+ - if: steps.filter.outputs.version == 'true'
95
+ name: Cleanup README
96
+ run: |
97
+ sed -ri 's/^(##*)\s*:.*:\s*/\1 /g' README.md
98
+ awk '{if (match($0,"## Supporters")) exit; print}' README.md > README
99
+ mv -f README README.md
100
+ - if: steps.filter.outputs.version == 'true'
101
+ name: Build ${{ env.package }} package
102
+ run: python3 -m pip install --upgrade build && python3 -m build
103
+ - if: steps.filter.outputs.version == 'true'
104
+ name: Upload ${{ env.package }} to PyPi
105
+ uses: pypa/gh-action-pypi-publish@release/v1
106
+ with:
107
+ password: ${{ secrets.PYPI_API_TOKEN }}
108
+ verbose: true
109
+ verify_metadata: false
@@ -1,5 +1,10 @@
1
1
  version: 2
2
2
 
3
+ build:
4
+ os: "ubuntu-22.04"
5
+ tools:
6
+ python: "3.11"
7
+
3
8
  mkdocs:
4
9
  configuration: docs/mkdocs.yml
5
10
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: dsff
3
- Version: 1.0.5
3
+ Version: 1.0.7
4
4
  Summary: DataSet File Format (DSFF)
5
5
  Author-email: Alexandre D'Hondt <alexandre.dhondt@gmail.com>
6
6
  License: GNU GENERAL PUBLIC LICENSE
@@ -686,16 +686,21 @@ Keywords: python,programming,dataset-file-format,dsff
686
686
  Classifier: Development Status :: 5 - Production/Stable
687
687
  Classifier: Environment :: Console
688
688
  Classifier: Intended Audience :: Developers
689
+ Classifier: Intended Audience :: Information Technology
690
+ Classifier: Intended Audience :: Other Audience
689
691
  Classifier: License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)
690
- Classifier: Programming Language :: Python :: 3.7
692
+ Classifier: Programming Language :: Python :: 3
693
+ Classifier: Programming Language :: Python :: 3 :: Only
691
694
  Classifier: Programming Language :: Python :: 3.8
692
695
  Classifier: Programming Language :: Python :: 3.9
693
696
  Classifier: Programming Language :: Python :: 3.10
694
697
  Classifier: Programming Language :: Python :: 3.11
698
+ Classifier: Programming Language :: Python :: 3.12
695
699
  Classifier: Topic :: Software Development :: Libraries :: Python Modules
696
- Requires-Python: <4,>=3.7
700
+ Requires-Python: <4,>=3.8
697
701
  Description-Content-Type: text/markdown
698
702
  License-File: LICENSE
703
+ Requires-Dist: openpyxl
699
704
 
700
705
  <p align="center"><img src="https://github.com/packing-box/python-dsff/raw/main/docs/pages/imgs/logo.png"></p>
701
706
  <h1 align="center">DataSet File Format <a href="https://twitter.com/intent/tweet?text=DataSet%20File%20Format%20-%20XSLX-based%20format%20for%20handling%20datasets.%0D%0ATiny%20library%20for%20handling%20a%20dataset%20as%20an%20XSLX%20and%20for%20converting%20it%20to%20ARFF,%20CSV%20or%20a%20FilelessDataset%20structure%20as%20for%20the%20Packing%20Box.%0D%0Ahttps%3a%2f%2fgithub%2ecom%2fpacking-box%2fpython-dsff%0D%0A&hashtags=python,dsff,machinelearning"><img src="https://img.shields.io/badge/Tweet--lightgrey?logo=twitter&style=social" alt="Tweet" height="20"/></a></h1>
@@ -1,44 +1,46 @@
1
- site_author: dhondta
2
- site_name: DSFF - DataSet File Format
3
- site_description: Dedicated file format for exchanging datasets
4
- copyright: Copyright &copy; 2021-2022 Alexandre D'Hondt
5
- repo_url: https://github.com/packing-box/python-dsff
6
- docs_dir: pages
7
- nav:
8
- - Introduction: index.md
9
- - Usage: usage.md
10
- extra:
11
- generator: false
12
- social:
13
- - icon: fontawesome/solid/paper-plane
14
- link: mailto:alexandre.dhondt@gmail.com
15
- name: Contact Alex
16
- - icon: fontawesome/brands/github
17
- link: https://github.com/dhondta
18
- name: Alex on GitHub
19
- - icon: fontawesome/brands/linkedin
20
- link: https://www.linkedin.com/in/alexandre-d-2ab2aa14/
21
- name: Alex on LinkedIn
22
- - icon: fontawesome/brands/twitter
23
- link: https://twitter.com/alex_dhondt
24
- name: Alex on Twitter
25
- theme:
26
- name: material
27
- palette:
28
- - scheme: default
29
- toggle:
30
- icon: material/brightness-7
31
- name: Switch to dark mode
32
- - scheme: slate
33
- toggle:
34
- icon: material/brightness-4
35
- name: Switch to light mode
36
- logo: logo.png
37
- use_directory_urls: false
38
- markdown_extensions:
39
- - admonition
40
- - pymdownx.highlight:
41
- anchor_linenums: true
42
- - tables
43
- - toc:
44
- permalink: true
1
+ site_author: dhondta
2
+ site_name: DSFF - DataSet File Format
3
+ site_description: Dedicated file format for exchanging datasets
4
+ copyright: Copyright &copy; 2021-2022 Alexandre D'Hondt
5
+ repo_url: https://github.com/packing-box/python-dsff
6
+ docs_dir: pages
7
+ nav:
8
+ - Introduction: index.md
9
+ - Usage: usage.md
10
+ extra:
11
+ generator: false
12
+ social:
13
+ - icon: fontawesome/solid/paper-plane
14
+ link: mailto:alexandre.dhondt@gmail.com
15
+ name: Contact Alex
16
+ - icon: fontawesome/brands/github
17
+ link: https://github.com/dhondta
18
+ name: Alex on GitHub
19
+ - icon: fontawesome/brands/linkedin
20
+ link: https://www.linkedin.com/in/alexandre-d-2ab2aa14/
21
+ name: Alex on LinkedIn
22
+ - icon: fontawesome/brands/twitter
23
+ link: https://twitter.com/alex_dhondt
24
+ name: Alex on Twitter
25
+ theme:
26
+ name: material
27
+ palette:
28
+ - scheme: default
29
+ toggle:
30
+ icon: material/brightness-7
31
+ name: Switch to dark mode
32
+ - scheme: slate
33
+ toggle:
34
+ icon: material/brightness-4
35
+ name: Switch to light mode
36
+ logo: imgs/logo.png
37
+ use_directory_urls: false
38
+ markdown_extensions:
39
+ - admonition
40
+ - codehilite:
41
+ linenums: true
42
+ - pymdownx.details
43
+ - pymdownx.superfences
44
+ - tables
45
+ - toc:
46
+ permalink: true
Binary file
@@ -16,17 +16,21 @@ authors = [
16
16
  description = "DataSet File Format (DSFF)"
17
17
  license = {file = "LICENSE"}
18
18
  keywords = ["python", "programming", "dataset-file-format", "dsff"]
19
- requires-python = ">=3.7,<4"
19
+ requires-python = ">=3.8,<4"
20
20
  classifiers = [
21
21
  "Development Status :: 5 - Production/Stable",
22
22
  "Environment :: Console",
23
23
  "Intended Audience :: Developers",
24
+ "Intended Audience :: Information Technology",
25
+ "Intended Audience :: Other Audience",
24
26
  "License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
25
- "Programming Language :: Python :: 3.7",
27
+ "Programming Language :: Python :: 3",
28
+ "Programming Language :: Python :: 3 :: Only",
26
29
  "Programming Language :: Python :: 3.8",
27
30
  "Programming Language :: Python :: 3.9",
28
31
  "Programming Language :: Python :: 3.10",
29
32
  "Programming Language :: Python :: 3.11",
33
+ "Programming Language :: Python :: 3.12",
30
34
  "Topic :: Software Development :: Libraries :: Python Modules",
31
35
  ]
32
36
  dependencies = [
@@ -0,0 +1 @@
1
+ 1.0.7
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: dsff
3
- Version: 1.0.5
3
+ Version: 1.0.7
4
4
  Summary: DataSet File Format (DSFF)
5
5
  Author-email: Alexandre D'Hondt <alexandre.dhondt@gmail.com>
6
6
  License: GNU GENERAL PUBLIC LICENSE
@@ -686,16 +686,21 @@ Keywords: python,programming,dataset-file-format,dsff
686
686
  Classifier: Development Status :: 5 - Production/Stable
687
687
  Classifier: Environment :: Console
688
688
  Classifier: Intended Audience :: Developers
689
+ Classifier: Intended Audience :: Information Technology
690
+ Classifier: Intended Audience :: Other Audience
689
691
  Classifier: License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)
690
- Classifier: Programming Language :: Python :: 3.7
692
+ Classifier: Programming Language :: Python :: 3
693
+ Classifier: Programming Language :: Python :: 3 :: Only
691
694
  Classifier: Programming Language :: Python :: 3.8
692
695
  Classifier: Programming Language :: Python :: 3.9
693
696
  Classifier: Programming Language :: Python :: 3.10
694
697
  Classifier: Programming Language :: Python :: 3.11
698
+ Classifier: Programming Language :: Python :: 3.12
695
699
  Classifier: Topic :: Software Development :: Libraries :: Python Modules
696
- Requires-Python: <4,>=3.7
700
+ Requires-Python: <4,>=3.8
697
701
  Description-Content-Type: text/markdown
698
702
  License-File: LICENSE
703
+ Requires-Dist: openpyxl
699
704
 
700
705
  <p align="center"><img src="https://github.com/packing-box/python-dsff/raw/main/docs/pages/imgs/logo.png"></p>
701
706
  <h1 align="center">DataSet File Format <a href="https://twitter.com/intent/tweet?text=DataSet%20File%20Format%20-%20XSLX-based%20format%20for%20handling%20datasets.%0D%0ATiny%20library%20for%20handling%20a%20dataset%20as%20an%20XSLX%20and%20for%20converting%20it%20to%20ARFF,%20CSV%20or%20a%20FilelessDataset%20structure%20as%20for%20the%20Packing%20Box.%0D%0Ahttps%3a%2f%2fgithub%2ecom%2fpacking-box%2fpython-dsff%0D%0A&hashtags=python,dsff,machinelearning"><img src="https://img.shields.io/badge/Tweet--lightgrey?logo=twitter&style=social" alt="Tweet" height="20"/></a></h1>
@@ -4,7 +4,6 @@ LICENSE
4
4
  README.md
5
5
  pyproject.toml
6
6
  requirements.txt
7
- .github/workflows/pypi-publish.yml
8
7
  .github/workflows/python-package.yml
9
8
  docs/coverage.svg
10
9
  docs/mkdocs.yml
@@ -1,37 +0,0 @@
1
- # This workflow will deploy the Python package to PyPi.org
2
-
3
- name: deploy
4
-
5
- env:
6
- package: dsff
7
-
8
- on:
9
- push:
10
- branches:
11
- - main
12
- paths:
13
- - '**/VERSION.txt'
14
- workflow_run:
15
- workflows: ["build"]
16
- types: [completed]
17
-
18
- jobs:
19
- deploy:
20
- runs-on: ubuntu-latest
21
- if: ${{ github.event.workflow_run.conclusion == 'success' }}
22
- steps:
23
- - uses: actions/checkout@v3
24
- with:
25
- fetch-depth: 0
26
- - name: Cleanup README
27
- run: |
28
- sed -ri 's/^(##*)\s*:.*:\s*/\1 /g' README.md
29
- awk '{if (match($0,"## Supporters")) exit; print}' README.md > README
30
- mv -f README README.md
31
- - run: python3 -m pip install --upgrade build && python3 -m build
32
- - name: Upload ${{ env.package }} to PyPI
33
- uses: pypa/gh-action-pypi-publish@release/v1
34
- with:
35
- password: ${{ secrets.PYPI_API_TOKEN }}
36
- verbose: true
37
- verify_metadata: false
Binary file
@@ -1 +0,0 @@
1
- 1.0.5
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes