diff --git a/README.md b/README.md index 6f0b83f..2100cbf 100644 --- a/README.md +++ b/README.md @@ -45,7 +45,9 @@ What Makes threadx Interesting? - [TODO](#TODO) ## Install -TODO +```bash +pip install threadx +``` ## Usage @@ -180,6 +182,8 @@ thread('./data.log', *pipeline) # works jsut like any other function. ## Why I Built This After spending a few years working with Clojure, I found myself missing its threading macros when I returned to Python (for a side project). Sure, Python has some tools for chaining operations, but nothing quite as elegant or powerful as what I was used to. -## TODO -- Benchmarking code for performance both time and memory (if possible). -- Publish it on pypi + + + + + diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..c782f90 --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,34 @@ +[build-system] +requires = ["hatchling"] +build-backend = "hatchling.build" + +[project] +name = "threadx" +version = "0.1.0a1" +authors = [ + { name="Akshay Patel", email="akshaybishnoi@protonmail.com" }, +] +description = "Chaining function calls on steroids" +readme = "README.md" +keywords = [ + "chain", + "chaining", + "threading", + "pipeline", + "pipe", + "function chaining", + "data transformation", + "functional programming", + "compose functions", + "clojure" +] +requires-python = ">=3.8" +classifiers = [ + "Programming Language :: Python :: 3", + "License :: OSI Approved :: Apache Software License", + "Operating System :: OS Independent", +] + +[project.urls] +Homepage = "https://github.com/withjak/threadx" +Issues = "https://github.com/withjak/threadx/issues" \ No newline at end of file