diff --git a/.gitignore b/.gitignore index 68bc17f..0752eef 100644 --- a/.gitignore +++ b/.gitignore @@ -157,4 +157,7 @@ cython_debug/ # be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore # and can be added to the global gitignore or merged into this file. For a more nuclear # option (not recommended) you can uncomment the following to ignore the entire idea folder. -#.idea/ +.idea/ + +# Linter +.ruff_cache diff --git a/examples/main.py b/examples/main.py new file mode 100644 index 0000000..e69de29 diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..48f3438 --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,49 @@ +[build-system] +requires = ["setuptools"] +build-backend = "setuptools.build_meta" + + +[project] +name = "RestyClient" +version = "0.0.1" +authors = [ + { name = "crazyproger1", email = "crazyproger1@gmail.com" }, +] +description = "RestyClient is a simple, easy-to-use Python library for interacting with REST APIs usingPydantic's powerful data validation and deserialization tools." +readme = "README.md" +requires-python = ">=3.7" +license = { text = "MIT" } +dependencies = [ + "pydantic", +] + +[tool.ruff] +exclude = [ + ".bzr", + ".direnv", + ".eggs", + ".git", + ".git-rewrite", + ".hg", + ".mypy_cache", + ".nox", + ".pants.d", + ".pytype", + ".ruff_cache", + ".svn", + ".tox", + ".venv", + "__pypackages__", + "_build", + "buck-out", + "build", + "dist", + "node_modules", + "venv" +] + +[tool.mypy] +files = ["resty"] +show_error_codes = true +strict = true + diff --git a/resty/__init__.py b/resty/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..25e7d42 --- /dev/null +++ b/setup.py @@ -0,0 +1,5 @@ +import setuptools + +if __name__ == "__main__": + setuptools.setup() +