fibr 0.0.1__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.
@@ -0,0 +1,11 @@
1
+ root = true
2
+
3
+ [*]
4
+ encoding = utf-8
5
+ end_of_line = lf
6
+ insert_final_newline = true
7
+ indent_style = space
8
+ indent_size = 2
9
+
10
+ [*.py]
11
+ indent_size = 4
@@ -0,0 +1,110 @@
1
+ # SPDX-FileCopyrightText: 2025 René de Hesselle <dehesselle@web.de>
2
+ #
3
+ # SPDX-License-Identifier: GPL-2.0-or-later
4
+
5
+ name: Build
6
+ on:
7
+ push:
8
+ jobs:
9
+
10
+ #-----------------------------------------------------------------------------
11
+
12
+ Build:
13
+ runs-on: ubuntu-latest
14
+ steps:
15
+
16
+ - name: Checkout repository
17
+ uses: actions/checkout@v4
18
+ with:
19
+ fetch-depth: 0
20
+
21
+ - name: Run Black
22
+ uses: psf/black@stable
23
+ with:
24
+ options: "--check --verbose"
25
+
26
+ - name: Install uv
27
+ uses: astral-sh/setup-uv@v5
28
+
29
+ - name: Build project
30
+ run: uv build
31
+
32
+ - name: Upload artifacts
33
+ uses: actions/upload-artifact@v4
34
+ with:
35
+ name: dist
36
+ path: dist/fibr*.*
37
+
38
+ #-----------------------------------------------------------------------------
39
+
40
+ Prerelease:
41
+ runs-on: ubuntu-latest
42
+ permissions:
43
+ contents: write
44
+ needs: Build
45
+ if: startsWith(github.ref, 'refs/heads/develop')
46
+ steps:
47
+
48
+ - name: Download artifacts
49
+ uses: actions/download-artifact@v4
50
+ with:
51
+ name: dist
52
+
53
+ - name: Update prerelease
54
+ uses: ncipollo/release-action@v1
55
+ with:
56
+ name: develop
57
+ artifacts: fibr*.*
58
+ prerelease: true
59
+ allowUpdates: true
60
+ removeArtifacts: true
61
+ tag: latest
62
+ body: |
63
+ This prerelease follows the develop branch.
64
+ For testing purposes only.
65
+
66
+ #-----------------------------------------------------------------------------
67
+
68
+ Release:
69
+ runs-on: ubuntu-latest
70
+ permissions:
71
+ contents: write
72
+ needs: Build
73
+ if: startsWith(github.ref, 'refs/tags/v')
74
+ steps:
75
+
76
+ - name: Download artifacts
77
+ uses: actions/download-artifact@v4
78
+ with:
79
+ name: dist
80
+
81
+ - name: Create release
82
+ uses: ncipollo/release-action@v1
83
+ with:
84
+ artifacts: fibr*.*
85
+ draft: true
86
+
87
+ #-----------------------------------------------------------------------------
88
+
89
+ PyPI:
90
+ runs-on: ubuntu-latest
91
+ permissions:
92
+ id-token: write
93
+ needs:
94
+ - Build
95
+ - Release
96
+ if: startsWith(github.ref, 'refs/tags/v')
97
+ environment:
98
+ name: pypi
99
+ url: https://pypi.org/p/fibr
100
+
101
+ steps:
102
+
103
+ - name: Download artifacts
104
+ uses: actions/download-artifact@v4
105
+ with:
106
+ name: dist
107
+ path: dist/
108
+
109
+ - name: Publish to PyPI
110
+ uses: pypa/gh-action-pypi-publish@release/v1
fibr-0.0.1/.gitignore ADDED
@@ -0,0 +1,13 @@
1
+ # Python-generated files
2
+ __pycache__/
3
+ *.py[oc]
4
+ build/
5
+ dist/
6
+ wheels/
7
+ *.egg-info
8
+ src/fibr/_version.py
9
+
10
+ # Virtual environments
11
+ .venv
12
+
13
+ # custom
@@ -0,0 +1 @@
1
+ 3.12
fibr-0.0.1/PKG-INFO ADDED
@@ -0,0 +1,12 @@
1
+ Metadata-Version: 2.4
2
+ Name: fibr
3
+ Version: 0.0.1
4
+ Summary: Add your description here
5
+ Project-URL: Source, https://github.com/dehesselle/fibr
6
+ Author-email: René de Hesselle <dehesselle@web.de>
7
+ Requires-Python: >=3.12
8
+ Description-Content-Type: text/markdown
9
+
10
+ # fibr [faɪbə]
11
+
12
+ coming soon
fibr-0.0.1/README.md ADDED
@@ -0,0 +1,3 @@
1
+ # fibr [faɪbə]
2
+
3
+ coming soon
@@ -0,0 +1,26 @@
1
+ [project]
2
+ name = "fibr"
3
+ dynamic = ["version"]
4
+ description = "Add your description here"
5
+ readme = "README.md"
6
+ authors = [
7
+ { name = "René de Hesselle", email = "dehesselle@web.de" }
8
+ ]
9
+ requires-python = ">=3.12"
10
+ dependencies = []
11
+
12
+ [project.scripts]
13
+ fibr = "fibr:main"
14
+
15
+ [build-system]
16
+ requires = ["hatchling", "hatch-vcs"]
17
+ build-backend = "hatchling.build"
18
+
19
+ [project.urls]
20
+ "Source" = "https://github.com/dehesselle/fibr"
21
+
22
+ [tool.hatch.version]
23
+ source = "vcs"
24
+
25
+ [tool.hatch.build.hooks.vcs]
26
+ version-file = "src/fibr/_version.py"
@@ -0,0 +1,2 @@
1
+ def main() -> None:
2
+ print("Hello from fibr!")
@@ -0,0 +1,34 @@
1
+ # file generated by setuptools-scm
2
+ # don't change, don't track in version control
3
+
4
+ __all__ = [
5
+ "__version__",
6
+ "__version_tuple__",
7
+ "version",
8
+ "version_tuple",
9
+ "__commit_id__",
10
+ "commit_id",
11
+ ]
12
+
13
+ TYPE_CHECKING = False
14
+ if TYPE_CHECKING:
15
+ from typing import Tuple
16
+ from typing import Union
17
+
18
+ VERSION_TUPLE = Tuple[Union[int, str], ...]
19
+ COMMIT_ID = Union[str, None]
20
+ else:
21
+ VERSION_TUPLE = object
22
+ COMMIT_ID = object
23
+
24
+ version: str
25
+ __version__: str
26
+ __version_tuple__: VERSION_TUPLE
27
+ version_tuple: VERSION_TUPLE
28
+ commit_id: COMMIT_ID
29
+ __commit_id__: COMMIT_ID
30
+
31
+ __version__ = version = '0.0.1'
32
+ __version_tuple__ = version_tuple = (0, 0, 1)
33
+
34
+ __commit_id__ = commit_id = None
fibr-0.0.1/uv.lock ADDED
@@ -0,0 +1,8 @@
1
+ version = 1
2
+ revision = 3
3
+ requires-python = ">=3.12"
4
+
5
+ [[package]]
6
+ name = "fibr"
7
+ version = "0.0.1"
8
+ source = { editable = "." }