fpbase 0.0.1rc0__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,8 @@
1
+ # Do not edit - changes here will be overwritten by Copier
2
+ _commit: v1
3
+ _src_path: gh:tlambert03/pyrepo
4
+ mode: simple
5
+ module_name: fpbase
6
+ project_name: fpbase
7
+ project_short_description: Stub for future FPbase API
8
+
@@ -0,0 +1,15 @@
1
+ * fpbase version:
2
+ * Python version:
3
+ * Operating System:
4
+
5
+ ### Description
6
+
7
+ Describe what you were trying to get done.
8
+ Tell us what happened, what went wrong, and what you expected to happen.
9
+
10
+ ### What I Did
11
+
12
+ ```
13
+ Paste the command(s) you ran and the output.
14
+ If there was a crash, please include the traceback here.
15
+ ```
@@ -0,0 +1,12 @@
1
+ ---
2
+ title: "{{ env.TITLE }}"
3
+ labels: [bug]
4
+ ---
5
+ The {{ workflow }} workflow failed on {{ date | date("YYYY-MM-DD HH:mm") }} UTC
6
+
7
+ The most recent failing test was on {{ env.PLATFORM }} py{{ env.PYTHON }}
8
+ with commit: {{ sha }}
9
+
10
+ Full run: https://github.com/{{ repo }}/actions/runs/{{ env.RUN_ID }}
11
+
12
+ (This post will be updated if another test fails, as long as this issue remains open.)
@@ -0,0 +1,10 @@
1
+ # https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
2
+
3
+ version: 2
4
+ updates:
5
+ - package-ecosystem: "github-actions"
6
+ directory: "/"
7
+ schedule:
8
+ interval: "weekly"
9
+ commit-message:
10
+ prefix: "ci(dependabot):"
@@ -0,0 +1,79 @@
1
+ name: CI
2
+
3
+ on:
4
+ push:
5
+ branches:
6
+ - main
7
+ tags:
8
+ - "v*"
9
+ pull_request:
10
+ workflow_dispatch:
11
+
12
+
13
+ concurrency:
14
+ group: ${{ github.workflow }}-${{ github.ref }}
15
+ cancel-in-progress: true
16
+
17
+ jobs:
18
+ test:
19
+ name: ${{ matrix.platform }} (${{ matrix.python-version }})
20
+ runs-on: ${{ matrix.platform }}
21
+ strategy:
22
+ fail-fast: false
23
+ matrix:
24
+ python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
25
+ platform: [ubuntu-latest, macos-latest, windows-latest]
26
+
27
+ steps:
28
+ - uses: actions/checkout@v4
29
+
30
+ - name: ๐Ÿ Set up Python ${{ matrix.python-version }}
31
+ uses: actions/setup-python@v4
32
+ with:
33
+ python-version: ${{ matrix.python-version }}
34
+ cache-dependency-path: "pyproject.toml"
35
+ cache: "pip"
36
+
37
+ - name: Install Dependencies
38
+ run: |
39
+ python -m pip install -U pip
40
+ python -m pip install .[test]
41
+
42
+ - name: ๐Ÿงช Run Tests
43
+ run: pytest --color=yes --cov --cov-report=xml --cov-report=term-missing
44
+
45
+ - name: Coverage
46
+ uses: codecov/codecov-action@v3
47
+
48
+ deploy:
49
+ name: Deploy
50
+ needs: test
51
+ if: success() && startsWith(github.ref, 'refs/tags/')
52
+ runs-on: ubuntu-latest
53
+
54
+ permissions:
55
+ id-token: write
56
+ contents: write
57
+
58
+ steps:
59
+ - uses: actions/checkout@v4
60
+ with:
61
+ fetch-depth: 0
62
+
63
+ - name: ๐Ÿ Set up Python
64
+ uses: actions/setup-python@v4
65
+ with:
66
+ python-version: "3.x"
67
+
68
+ - name: ๐Ÿ‘ท Build
69
+ run: |
70
+ python -m pip install build
71
+ python -m build
72
+
73
+ - name: ๐Ÿšข Publish to PyPI
74
+ uses: pypa/gh-action-pypi-publish@release/v1
75
+
76
+ - uses: softprops/action-gh-release@v1
77
+ with:
78
+ generate_release_notes: true
79
+ files: './dist/*'
@@ -0,0 +1,111 @@
1
+ # Byte-compiled / optimized / DLL files
2
+ __pycache__/
3
+ *.py[cod]
4
+ *$py.class
5
+
6
+ # C extensions
7
+ *.so
8
+
9
+ # Distribution / packaging
10
+ .Python
11
+ env/
12
+ build/
13
+ develop-eggs/
14
+ dist/
15
+ downloads/
16
+ eggs/
17
+ .eggs/
18
+ lib/
19
+ lib64/
20
+ parts/
21
+ sdist/
22
+ var/
23
+ wheels/
24
+ *.egg-info/
25
+ .installed.cfg
26
+ *.egg
27
+
28
+ .DS_Store
29
+
30
+ # PyInstaller
31
+ # Usually these files are written by a python script from a template
32
+ # before PyInstaller builds the exe, so as to inject date/other infos into it.
33
+ *.manifest
34
+ *.spec
35
+
36
+ # Installer logs
37
+ pip-log.txt
38
+ pip-delete-this-directory.txt
39
+
40
+ # Unit test / coverage reports
41
+ htmlcov/
42
+ .tox/
43
+ .coverage
44
+ .coverage.*
45
+ .cache
46
+ nosetests.xml
47
+ coverage.xml
48
+ *.cover
49
+ .hypothesis/
50
+ .pytest_cache/
51
+
52
+ # Translations
53
+ *.mo
54
+ *.pot
55
+
56
+ # Django stuff:
57
+ *.log
58
+ local_settings.py
59
+
60
+ # Flask stuff:
61
+ instance/
62
+ .webassets-cache
63
+
64
+ # Scrapy stuff:
65
+ .scrapy
66
+
67
+ # Sphinx documentation
68
+ docs/_build/
69
+
70
+ # PyBuilder
71
+ target/
72
+
73
+ # Jupyter Notebook
74
+ .ipynb_checkpoints
75
+
76
+ # pyenv
77
+ .python-version
78
+
79
+ # celery beat schedule file
80
+ celerybeat-schedule
81
+
82
+ # SageMath parsed files
83
+ *.sage.py
84
+
85
+ # dotenv
86
+ .env
87
+
88
+ # virtualenv
89
+ .venv
90
+ venv/
91
+ ENV/
92
+
93
+ # Spyder project settings
94
+ .spyderproject
95
+ .spyproject
96
+
97
+ # Rope project settings
98
+ .ropeproject
99
+
100
+ # mkdocs documentation
101
+ /site
102
+
103
+ # mypy
104
+ .mypy_cache/
105
+
106
+ # ruff
107
+ .ruff_cache/
108
+
109
+ # IDE settings
110
+ .vscode/
111
+ .idea/
@@ -0,0 +1,28 @@
1
+ BSD 3-Clause License
2
+
3
+ Copyright (c) 2023, Talley Lambert
4
+
5
+ Redistribution and use in source and binary forms, with or without
6
+ modification, are permitted provided that the following conditions are met:
7
+
8
+ 1. Redistributions of source code must retain the above copyright notice, this
9
+ list of conditions and the following disclaimer.
10
+
11
+ 2. Redistributions in binary form must reproduce the above copyright notice,
12
+ this list of conditions and the following disclaimer in the documentation
13
+ and/or other materials provided with the distribution.
14
+
15
+ 3. Neither the name of the copyright holder nor the names of its
16
+ contributors may be used to endorse or promote products derived from
17
+ this software without specific prior written permission.
18
+
19
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
20
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
21
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
22
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
23
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
24
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
25
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
26
+ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
27
+ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
@@ -0,0 +1,37 @@
1
+ Metadata-Version: 2.1
2
+ Name: fpbase
3
+ Version: 0.0.1rc0
4
+ Summary: Stub for future FPbase API
5
+ Project-URL: homepage, https://github.com/tlambert03/fpbase
6
+ Project-URL: repository, https://github.com/tlambert03/fpbase
7
+ Author-email: Talley Lambert <talley.lambert@example.com>
8
+ License: BSD-3-Clause
9
+ License-File: LICENSE
10
+ Classifier: Development Status :: 3 - Alpha
11
+ Classifier: License :: OSI Approved :: BSD License
12
+ Classifier: Programming Language :: Python :: 3
13
+ Classifier: Programming Language :: Python :: 3.8
14
+ Classifier: Programming Language :: Python :: 3.9
15
+ Classifier: Programming Language :: Python :: 3.10
16
+ Classifier: Programming Language :: Python :: 3.11
17
+ Classifier: Programming Language :: Python :: 3.12
18
+ Classifier: Typing :: Typed
19
+ Requires-Python: >=3.8
20
+ Provides-Extra: dev
21
+ Requires-Dist: ipython; extra == 'dev'
22
+ Requires-Dist: pdbpp; extra == 'dev'
23
+ Requires-Dist: rich; extra == 'dev'
24
+ Provides-Extra: test
25
+ Requires-Dist: pytest; extra == 'test'
26
+ Requires-Dist: pytest-cov; extra == 'test'
27
+ Description-Content-Type: text/markdown
28
+
29
+ # fpbase
30
+
31
+ [![License](https://img.shields.io/pypi/l/fpbase.svg?color=green)](https://github.com/tlambert03/fpbase/raw/main/LICENSE)
32
+ [![PyPI](https://img.shields.io/pypi/v/fpbase.svg?color=green)](https://pypi.org/project/fpbase)
33
+ [![Python Version](https://img.shields.io/pypi/pyversions/fpbase.svg?color=green)](https://python.org)
34
+ [![CI](https://github.com/tlambert03/fpbase/actions/workflows/ci.yml/badge.svg)](https://github.com/tlambert03/fpbase/actions/workflows/ci.yml)
35
+ [![codecov](https://codecov.io/gh/tlambert03/fpbase/branch/main/graph/badge.svg)](https://codecov.io/gh/tlambert03/fpbase)
36
+
37
+ Stub for future FPbase API
@@ -0,0 +1,9 @@
1
+ # fpbase
2
+
3
+ [![License](https://img.shields.io/pypi/l/fpbase.svg?color=green)](https://github.com/tlambert03/fpbase/raw/main/LICENSE)
4
+ [![PyPI](https://img.shields.io/pypi/v/fpbase.svg?color=green)](https://pypi.org/project/fpbase)
5
+ [![Python Version](https://img.shields.io/pypi/pyversions/fpbase.svg?color=green)](https://python.org)
6
+ [![CI](https://github.com/tlambert03/fpbase/actions/workflows/ci.yml/badge.svg)](https://github.com/tlambert03/fpbase/actions/workflows/ci.yml)
7
+ [![codecov](https://codecov.io/gh/tlambert03/fpbase/branch/main/graph/badge.svg)](https://codecov.io/gh/tlambert03/fpbase)
8
+
9
+ Stub for future FPbase API
@@ -0,0 +1,76 @@
1
+ # https://peps.python.org/pep-0517/
2
+ [build-system]
3
+ requires = ["hatchling"]
4
+ build-backend = "hatchling.build"
5
+
6
+ # read more about configuring hatch at:
7
+ # https://hatch.pypa.io/latest/config/build/
8
+ [tool.hatch.build.targets.wheel]
9
+ only-include = ["src"]
10
+ sources = ["src"]
11
+
12
+ # https://peps.python.org/pep-0621/
13
+ [project]
14
+ name = "fpbase"
15
+ version = "0.0.1rc0"
16
+ description = "Stub for future FPbase API"
17
+ readme = "README.md"
18
+ requires-python = ">=3.8"
19
+ license = { text = "BSD-3-Clause" }
20
+ authors = [{ name = "Talley Lambert", email = "talley.lambert@example.com" }]
21
+ classifiers = [
22
+ "Development Status :: 3 - Alpha",
23
+ "License :: OSI Approved :: BSD License",
24
+ "Programming Language :: Python :: 3",
25
+ "Programming Language :: Python :: 3.8",
26
+ "Programming Language :: Python :: 3.9",
27
+ "Programming Language :: Python :: 3.10",
28
+ "Programming Language :: Python :: 3.11",
29
+ "Programming Language :: Python :: 3.12",
30
+ "Typing :: Typed",
31
+ ]
32
+ dependencies = []
33
+
34
+ # https://peps.python.org/pep-0621/#dependencies-optional-dependencies
35
+ [project.optional-dependencies]
36
+ test = ["pytest", "pytest-cov"]
37
+ dev = [
38
+ "ipython",
39
+ "pdbpp", # https://github.com/pdbpp/pdbpp
40
+ "rich", # https://github.com/Textualize/rich
41
+ ]
42
+
43
+ [project.urls]
44
+ homepage = "https://github.com/tlambert03/fpbase"
45
+ repository = "https://github.com/tlambert03/fpbase"
46
+
47
+
48
+
49
+ # https://docs.pytest.org/en/6.2.x/customize.html
50
+ [tool.pytest.ini_options]
51
+ minversion = "6.0"
52
+ testpaths = ["tests"]
53
+ filterwarnings = ["error"]
54
+
55
+ # https://coverage.readthedocs.io/en/6.4/config.html
56
+ [tool.coverage.report]
57
+ exclude_lines = [
58
+ "pragma: no cover",
59
+ "if TYPE_CHECKING:",
60
+ "@overload",
61
+ "except ImportError",
62
+ "\\.\\.\\.",
63
+ "raise NotImplementedError()",
64
+ "pass",
65
+ ]
66
+ show_missing = true
67
+
68
+ [tool.coverage.run]
69
+ source = ["fpbase"]
70
+
71
+ [tool.check-manifest]
72
+ ignore = [
73
+ ".pre-commit-config.yaml",
74
+ ".ruff_cache/**/*",
75
+ "tests/**/*",
76
+ ]
@@ -0,0 +1,5 @@
1
+ """Stub for future FPbase API"""
2
+
3
+ __version__ = '0.1.0'
4
+ __author__ = "Talley Lambert"
5
+ __email__ = "talley.lambert@example.com"
@@ -0,0 +1,5 @@
1
+ You may remove this file if you don't intend to add types to your package
2
+
3
+ Details at:
4
+
5
+ https://mypy.readthedocs.io/en/stable/installed_packages.html#creating-pep-561-compatible-packages
@@ -0,0 +1,2 @@
1
+ def test_something():
2
+ pass