diff --git a/.gitignore b/.gitignore index d5ac7638..be4071bb 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,39 @@ .aider* .env +# Python +__pycache__/ +*.py[cod] +*$py.class +*.so +.Python +build/ +develop-eggs/ +dist/ +downloads/ +eggs/ +.eggs/ +lib/ +lib64/ +parts/ +sdist/ +var/ +wheels/ +*.egg-info/ +.installed.cfg +*.egg + +# Virtual Environment +venv/ +env/ +ENV/ + +# IDE +.idea/ +.vscode/ +*.swp +*.swo + +# Testing +.coverage +htmlcov/ +.pytest_cache/ diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 00000000..e0f349df --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,22 @@ +[build-system] +requires = ["hatchling"] +build-backend = "hatchling.build" + +[project] +name = "reasoning_gym" +version = "0.1.0" +authors = [ + { name="GPU Mode Community", email="info@gpumode.com" }, +] +description = "A library of procedural dataset generators for training reasoning models" +readme = "README.md" +requires-python = ">=3.12" +classifiers = [ + "Programming Language :: Python :: 3", + "License :: OSI Approved :: MIT License", + "Operating System :: OS Independent", +] + +[project.urls] +"Homepage" = "https://github.com/gpumode/reasoning_gym" +"Bug Tracker" = "https://github.com/gpumode/reasoning_gym/issues" diff --git a/reasoning_gym/__init__.py b/reasoning_gym/__init__.py new file mode 100644 index 00000000..6061a9c8 --- /dev/null +++ b/reasoning_gym/__init__.py @@ -0,0 +1,5 @@ +""" +Reasoning Gym - A library of procedural dataset generators for training reasoning models +""" + +__version__ = "0.1.0" diff --git a/requirements-dev.txt b/requirements-dev.txt new file mode 100644 index 00000000..f3a92e7f --- /dev/null +++ b/requirements-dev.txt @@ -0,0 +1,5 @@ +pytest>=7.4.0 +black>=23.7.0 +isort>=5.12.0 +flake8>=6.1.0 +mypy>=1.5.1 diff --git a/tests/__init__.py b/tests/__init__.py new file mode 100644 index 00000000..73d90cd2 --- /dev/null +++ b/tests/__init__.py @@ -0,0 +1 @@ +# Test package initialization