Restructuring for packaging

This commit is contained in:
Kumi 2022-07-19 11:39:39 +02:00
parent 39060babd4
commit 464f8ad2da
Signed by: kumi
GPG key ID: 6C2B851B15DF1681
8 changed files with 48 additions and 1 deletions

2
.gitignore vendored
View file

@ -1,2 +1,4 @@
*.pyc *.pyc
pycache/ pycache/
venv/
dist/

19
LICENSE Normal file
View file

@ -0,0 +1,19 @@
Copyright (c) 2022 Kumi Systems e.U. <office@kumi.systems>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

3
README.md Normal file
View file

@ -0,0 +1,3 @@
# ReportMonster Client
This package contains a simple client class for connections to the ReportMonster server.

View file

22
pyproject.toml Normal file
View file

@ -0,0 +1,22 @@
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "reportmonster_client"
version = "0.0.1"
authors = [
{ name="Kumi Systems e.U.", email="office@kumi.systems" },
]
description = "A simple client for the ReportMonster server"
readme = "README.md"
license = { file="LICENSE" }
requires-python = ">=3.8"
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
]
[project.urls]
"Homepage" = "https://kumig.it/kumisystems/reportmonster-client"

View file

@ -0,0 +1 @@
from reportmonster_client.client import ReportMonsterClient, ReportMonsterResponse

View file

@ -1,4 +1,4 @@
from client import ReportMonsterClient from reportmonster_client import ReportMonsterClient
import asyncio import asyncio