From ef6c4b0ea95f997c78f97279c8ddbad80f5a43f2 Mon Sep 17 00:00:00 2001 From: Michael Chen Date: Mon, 17 Apr 2023 14:23:52 +0200 Subject: [PATCH] Created installable project --- LICENSE | 21 +++++++++++++++++++++ README.md | 9 +++++++++ pyproject.toml | 22 ++++++++++++++++++++++ {hasher => src/hasher}/__init__.py | 0 {hasher => src/hasher}/__main__.py | 0 5 files changed, 52 insertions(+) create mode 100644 LICENSE create mode 100644 README.md create mode 100644 pyproject.toml rename {hasher => src/hasher}/__init__.py (100%) rename {hasher => src/hasher}/__main__.py (100%) diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..11a3f8a --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2023 Michael Chen + +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. diff --git a/README.md b/README.md new file mode 100644 index 0000000..2d62fbd --- /dev/null +++ b/README.md @@ -0,0 +1,9 @@ +# Hasher + +![GitHub](https://img.shields.io/github/license/cn-ml/hasher?logoColor=%23&style=for-the-badge) + +Command line interface to the hashlib library. + +## Authors + +- [@cn-ml](https://www.github.com/cn-ml) diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..f7ecd5a --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,22 @@ +[build-system] +requires = ["setuptools>=61.0"] +build-backend = "setuptools.build_meta" + +[project] +name = "hasher_cnml" +version = "0.0.1" +authors = [ + { name="Michael Chen", email="mail@cnml.de" }, +] +description = "Command line interface to the hashlib library." +readme = "README.md" +requires-python = ">=3.11" +classifiers = [ + "Programming Language :: Python :: 3", + "License :: OSI Approved :: MIT License", + "Operating System :: OS Independent", +] + +[project.urls] +"Homepage" = "https://github.com/cn-ml/hasher" +"Bug Tracker" = "https://github.com/cn-ml/hasher/issues" diff --git a/hasher/__init__.py b/src/hasher/__init__.py similarity index 100% rename from hasher/__init__.py rename to src/hasher/__init__.py diff --git a/hasher/__main__.py b/src/hasher/__main__.py similarity index 100% rename from hasher/__main__.py rename to src/hasher/__main__.py