python-wfirma 0.0.0__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,21 @@
1
+ MIT License
2
+
3
+ Copyright © 2023 Dominik Kozaczko
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,97 @@
1
+ Metadata-Version: 2.1
2
+ Name: python-wfirma
3
+ Version: 0.0.0
4
+ Summary: Python wrapper for wFirma API.
5
+ Home-page: https://github.com/gromobrody/python-wfirma
6
+ License: MIT
7
+ Author: Dominik Kozaczko
8
+ Author-email: dominik@kozaczko.info
9
+ Requires-Python: >=3.11,<4.0
10
+ Classifier: Development Status :: 1 - Planning
11
+ Classifier: License :: OSI Approved :: MIT License
12
+ Classifier: Programming Language :: Python :: 3
13
+ Classifier: Programming Language :: Python :: 3.11
14
+ Classifier: Programming Language :: Python :: 3.12
15
+ Requires-Dist: anyio[trio] (>=4.3.0,<5.0.0)
16
+ Requires-Dist: httpx (>=0.27.0,<0.28.0)
17
+ Requires-Dist: pydantic (>=2.7.0,<3.0.0)
18
+ Requires-Dist: typer (>=0.12.3,<0.13.0)
19
+ Project-URL: Changelog, https://github.com/gromobrody/python-wfirma/releases
20
+ Project-URL: Documentation, https://python-wfirma.readthedocs.io
21
+ Project-URL: Repository, https://github.com/gromobrody/python-wfirma
22
+ Description-Content-Type: text/markdown
23
+
24
+ # wFirma
25
+
26
+ [![PyPI](https://img.shields.io/pypi/v/python-wfirma.svg)][pypi_]
27
+ [![Status](https://img.shields.io/pypi/status/python-wfirma.svg)][status]
28
+ [![Python Version](https://img.shields.io/pypi/pyversions/python-wfirma)][python version]
29
+ [![License](https://img.shields.io/pypi/l/python-wfirma)][license]
30
+
31
+ [![Read the documentation at https://python-wfirma.readthedocs.io/](https://img.shields.io/readthedocs/python-wfirma/latest.svg?label=Read%20the%20Docs)][read the docs]
32
+ [![Tests](https://github.com/dekoza/python-wfirma/workflows/Tests/badge.svg)][tests]
33
+ [![Codecov](https://codecov.io/gh/dekoza/python-wfirma/branch/main/graph/badge.svg)][codecov]
34
+
35
+ [![pre-commit](https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit&logoColor=white)][pre-commit]
36
+ [![Black](https://img.shields.io/badge/code%20style-black-000000.svg)][black]
37
+
38
+ [pypi_]: https://pypi.org/project/python-wfirma/
39
+ [status]: https://pypi.org/project/python-wfirma/
40
+ [python version]: https://pypi.org/project/python-wfirma
41
+ [read the docs]: https://python-wfirma.readthedocs.io/
42
+ [tests]: https://github.com/dekoza/python-wfirma/actions?workflow=Tests
43
+ [codecov]: https://app.codecov.io/gh/dekoza/python-wfirma
44
+ [pre-commit]: https://github.com/pre-commit/pre-commit
45
+ [black]: https://github.com/psf/black
46
+
47
+ ## Features
48
+
49
+ - TODO
50
+
51
+ ## Requirements
52
+
53
+ - TODO
54
+
55
+ ## Installation
56
+
57
+ You can install _wFirma_ via [pip] from [PyPI]:
58
+
59
+ ```console
60
+ $ pip install python-wfirma
61
+ ```
62
+
63
+ ## Usage
64
+
65
+ Please see the [Command-line Reference] for details.
66
+
67
+ ## Contributing
68
+
69
+ Contributions are very welcome.
70
+ To learn more, see the [Contributor Guide].
71
+
72
+ ## License
73
+
74
+ Distributed under the terms of the [MIT license][license],
75
+ _wFirma_ is free and open source software.
76
+
77
+ ## Issues
78
+
79
+ If you encounter any problems,
80
+ please [file an issue] along with a detailed description.
81
+
82
+ ## Credits
83
+
84
+ This project was generated from [@cjolowicz]'s [Hypermodern Python Cookiecutter] template.
85
+
86
+ [@cjolowicz]: https://github.com/cjolowicz
87
+ [pypi]: https://pypi.org/
88
+ [hypermodern python cookiecutter]: https://github.com/cjolowicz/cookiecutter-hypermodern-python
89
+ [file an issue]: https://github.com/dekoza/python-wfirma/issues
90
+ [pip]: https://pip.pypa.io/
91
+
92
+ <!-- github-only -->
93
+
94
+ [license]: https://github.com/dekoza/python-wfirma/blob/main/LICENSE
95
+ [contributor guide]: https://github.com/dekoza/python-wfirma/blob/main/CONTRIBUTING.md
96
+ [command-line reference]: https://python-wfirma.readthedocs.io/en/latest/usage.html
97
+
@@ -0,0 +1,73 @@
1
+ # wFirma
2
+
3
+ [![PyPI](https://img.shields.io/pypi/v/python-wfirma.svg)][pypi_]
4
+ [![Status](https://img.shields.io/pypi/status/python-wfirma.svg)][status]
5
+ [![Python Version](https://img.shields.io/pypi/pyversions/python-wfirma)][python version]
6
+ [![License](https://img.shields.io/pypi/l/python-wfirma)][license]
7
+
8
+ [![Read the documentation at https://python-wfirma.readthedocs.io/](https://img.shields.io/readthedocs/python-wfirma/latest.svg?label=Read%20the%20Docs)][read the docs]
9
+ [![Tests](https://github.com/dekoza/python-wfirma/workflows/Tests/badge.svg)][tests]
10
+ [![Codecov](https://codecov.io/gh/dekoza/python-wfirma/branch/main/graph/badge.svg)][codecov]
11
+
12
+ [![pre-commit](https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit&logoColor=white)][pre-commit]
13
+ [![Black](https://img.shields.io/badge/code%20style-black-000000.svg)][black]
14
+
15
+ [pypi_]: https://pypi.org/project/python-wfirma/
16
+ [status]: https://pypi.org/project/python-wfirma/
17
+ [python version]: https://pypi.org/project/python-wfirma
18
+ [read the docs]: https://python-wfirma.readthedocs.io/
19
+ [tests]: https://github.com/dekoza/python-wfirma/actions?workflow=Tests
20
+ [codecov]: https://app.codecov.io/gh/dekoza/python-wfirma
21
+ [pre-commit]: https://github.com/pre-commit/pre-commit
22
+ [black]: https://github.com/psf/black
23
+
24
+ ## Features
25
+
26
+ - TODO
27
+
28
+ ## Requirements
29
+
30
+ - TODO
31
+
32
+ ## Installation
33
+
34
+ You can install _wFirma_ via [pip] from [PyPI]:
35
+
36
+ ```console
37
+ $ pip install python-wfirma
38
+ ```
39
+
40
+ ## Usage
41
+
42
+ Please see the [Command-line Reference] for details.
43
+
44
+ ## Contributing
45
+
46
+ Contributions are very welcome.
47
+ To learn more, see the [Contributor Guide].
48
+
49
+ ## License
50
+
51
+ Distributed under the terms of the [MIT license][license],
52
+ _wFirma_ is free and open source software.
53
+
54
+ ## Issues
55
+
56
+ If you encounter any problems,
57
+ please [file an issue] along with a detailed description.
58
+
59
+ ## Credits
60
+
61
+ This project was generated from [@cjolowicz]'s [Hypermodern Python Cookiecutter] template.
62
+
63
+ [@cjolowicz]: https://github.com/cjolowicz
64
+ [pypi]: https://pypi.org/
65
+ [hypermodern python cookiecutter]: https://github.com/cjolowicz/cookiecutter-hypermodern-python
66
+ [file an issue]: https://github.com/dekoza/python-wfirma/issues
67
+ [pip]: https://pip.pypa.io/
68
+
69
+ <!-- github-only -->
70
+
71
+ [license]: https://github.com/dekoza/python-wfirma/blob/main/LICENSE
72
+ [contributor guide]: https://github.com/dekoza/python-wfirma/blob/main/CONTRIBUTING.md
73
+ [command-line reference]: https://python-wfirma.readthedocs.io/en/latest/usage.html
@@ -0,0 +1,154 @@
1
+ [tool.poetry]
2
+ name = "python-wfirma"
3
+ version = "0.0.0"
4
+ description = "Python wrapper for wFirma API."
5
+ authors = ["Dominik Kozaczko <dominik@kozaczko.info>"]
6
+ license = "MIT"
7
+ readme = "README.md"
8
+ homepage = "https://github.com/gromobrody/python-wfirma"
9
+ repository = "https://github.com/gromobrody/python-wfirma"
10
+ documentation = "https://python-wfirma.readthedocs.io"
11
+ packages = [
12
+ { include = "wfirma", from = "src" },
13
+ ]
14
+ classifiers = [
15
+ "Development Status :: 1 - Planning",
16
+ ]
17
+
18
+ [tool.poetry.urls]
19
+ Changelog = "https://github.com/gromobrody/python-wfirma/releases"
20
+
21
+ [tool.poetry.dependencies]
22
+ python = "^3.11"
23
+ typer = "^0.12.3"
24
+ pydantic = "^2.7.0"
25
+ httpx = "^0.27.0"
26
+ anyio = {version = "^4.3.0", extras = ["trio"]}
27
+
28
+
29
+ [tool.poetry.group.dev.dependencies]
30
+ Pygments = ">=2.10.0"
31
+ coverage = {extras = ["toml"], version = ">=6.2"}
32
+ darglint = ">=1.8.1"
33
+ furo = "^2023.5.20"
34
+ mypy = "^1.4.1"
35
+ pep8-naming = ">=0.12.1"
36
+ pre-commit = "^3.7.0"
37
+ pre-commit-hooks = "^4.4.0"
38
+ pytest = "^7.4.0"
39
+ pyupgrade = "^3.9.0"
40
+ safety = ">=1.10.3"
41
+ sphinx = ">=4.3.2"
42
+ sphinx-autobuild = ">=2021.3.14"
43
+ sphinx-click = ">=3.0.2"
44
+ typeguard = ">=2.13.3"
45
+ xdoctest = {extras = ["colors"], version = ">=0.15.10"}
46
+ myst-parser = {version = ">=0.16.1"}
47
+ ruff = "^0.4.1"
48
+
49
+ [tool.coverage.paths]
50
+ source = ["src", "*/site-packages"]
51
+ tests = ["tests", "*/tests"]
52
+
53
+ [tool.coverage.run]
54
+ branch = true
55
+ source = ["wfirma", "tests"]
56
+
57
+ [tool.coverage.report]
58
+ show_missing = true
59
+ fail_under = 100
60
+
61
+ [tool.mypy]
62
+ strict = true
63
+ warn_unreachable = true
64
+ pretty = true
65
+ show_column_numbers = true
66
+ show_error_codes = true
67
+ show_error_context = true
68
+
69
+ [tool.ruff]
70
+ # Exclude a variety of commonly ignored directories.
71
+ exclude = [
72
+ ".bzr",
73
+ ".direnv",
74
+ ".eggs",
75
+ ".git",
76
+ ".git-rewrite",
77
+ ".hg",
78
+ ".ipynb_checkpoints",
79
+ ".mypy_cache",
80
+ ".nox",
81
+ ".pants.d",
82
+ ".pyenv",
83
+ ".pytest_cache",
84
+ ".pytype",
85
+ ".ruff_cache",
86
+ ".svn",
87
+ ".tox",
88
+ ".venv",
89
+ ".vscode",
90
+ "__pypackages__",
91
+ "_build",
92
+ "buck-out",
93
+ "build",
94
+ "dist",
95
+ "node_modules",
96
+ "site-packages",
97
+ "venv",
98
+ ]
99
+
100
+ # Same as Black.
101
+ line-length = 88
102
+ indent-width = 4
103
+
104
+ # Assume Python 3.8
105
+ target-version = "py311"
106
+
107
+ [tool.ruff.lint]
108
+ # Enable Pyflakes (`F`) and a subset of the pycodestyle (`E`) codes by default.
109
+ # Unlike Flake8, Ruff doesn't enable pycodestyle warnings (`W`) or
110
+ # McCabe complexity (`C901`) by default.
111
+ select = ["B","B9","C","D","E","F","N","S","W"]
112
+ ignore = ["E203","E501", "D203", "D213"]
113
+
114
+ # Allow fix for all enabled rules (when `--fix`) is provided.
115
+ fixable = ["ALL"]
116
+ unfixable = []
117
+
118
+ # Allow unused variables when underscore-prefixed.
119
+ dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$"
120
+
121
+ [tool.ruff.format]
122
+ # Like Black, use double quotes for strings.
123
+ quote-style = "double"
124
+
125
+ # Like Black, indent with spaces, rather than tabs.
126
+ indent-style = "space"
127
+
128
+ # Like Black, respect magic trailing commas.
129
+ skip-magic-trailing-comma = false
130
+
131
+ # Like Black, automatically detect the appropriate line ending.
132
+ line-ending = "auto"
133
+
134
+ # Enable auto-formatting of code examples in docstrings. Markdown,
135
+ # reStructuredText code/literal blocks and doctests are all supported.
136
+ #
137
+ # This is currently disabled by default, but it is planned for this
138
+ # to be opt-out in the future.
139
+ docstring-code-format = false
140
+
141
+ # Set the line length limit used when formatting code snippets in
142
+ # docstrings.
143
+ #
144
+ # This only has an effect when the `docstring-code-format` setting is
145
+ # enabled.
146
+ docstring-code-line-length = "dynamic"
147
+
148
+
149
+
150
+
151
+
152
+ [build-system]
153
+ requires = ["poetry-core>=1.0.0"]
154
+ build-backend = "poetry.core.masonry.api"
@@ -0,0 +1 @@
1
+ """wFirma."""
@@ -0,0 +1,13 @@
1
+ """Command-line interface."""
2
+
3
+ import click
4
+
5
+
6
+ @click.command()
7
+ @click.version_option()
8
+ def main() -> None:
9
+ """WFirma."""
10
+
11
+
12
+ if __name__ == "__main__":
13
+ main(prog_name="python-wfirma") # pragma: no cover
File without changes
File without changes