Skip to content

Commit

Permalink
✨ feat: Enhance setup configuration with detailed metadata and depend…
Browse files Browse the repository at this point in the history
…encies, and add thinking-dataset.toml for improved project management
  • Loading branch information
p3nGu1nZz committed Jan 26, 2025
1 parent 5b1fdbd commit 0716d8d
Show file tree
Hide file tree
Showing 2 changed files with 249 additions and 10 deletions.
121 changes: 111 additions & 10 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,19 +1,120 @@
"""
Generate real-world insights and business case studies with strategic AI.
"""

from setuptools import setup, find_packages

# Read README for long description
with open("README.md", "r", encoding="utf-8") as fh:
long_description = fh.read()

setup(
name='thinking-dataset',
version='0.0.1',
packages=find_packages(),
name="thinking-dataset",
version="0.0.1",
author="Kara Rawson",
author_email="[email protected]",
maintainer="MultiTonic",
maintainer_email="[email protected]",
description="Real-world business insights and case studies with AI",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/MultiTonic/thinking-dataset",
project_urls={
"Homepage": "https://github.com/MultiTonic/thinking-dataset",
"Documentation":
"https://github.com/MultiTonic/thinking-dataset/tree/main/docs",
"Repository": "https://github.com/MultiTonic/thinking-dataset",
"Issues": "https://github.com/MultiTonic/thinking-dataset/issues",
"Changelog":
"https://github.com/MultiTonic/thinking-dataset/blob/main/CHANGELOG.md", # noqa
"Discord": "https://discord.gg/RgxcdVFjpz",
},
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"Intended Audience :: Financial and Insurance Industry",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Business",
],
packages=find_packages(exclude=["tests*", "docs*"]),
python_requires=">=3.10",
install_requires=[
'huggingface_hub[cli]', 'datasets', 'PyPDF2', 'python-dotenv', 'click',
'requests', 'rich', 'sqlite-utils', 'pytest', 'pytest-html',
'pytest-cov', 'loguru', 'pandas', 'numpy', 'scikit-learn',
'sqlalchemy', 'tqdm', 'pydantic', 'python-statemachine', 'jsonschema',
'ollama', 'tenacity', 'lorem-text'
"huggingface_hub[cli]>=0.19.0",
"datasets>=2.15.0",
"PyPDF2>=3.0.0",
"python-dotenv>=1.0.0",
"click>=8.1.7",
"requests>=2.31.0",
"rich>=13.7.0",
"sqlite-utils>=3.35.1",
"pytest>=7.4.3",
"pytest-html>=4.1.1",
"pytest-cov>=4.1.0",
"loguru>=0.7.2",
"pandas>=2.1.3",
"numpy<2.0.0",
"scikit-learn>=1.3.2",
"sqlalchemy>=2.0.23",
"tqdm>=4.66.1",
"pydantic>=2.5.2",
"python-statemachine>=2.1.2",
"jsonschema>=4.20.0",
"ollama>=0.1.4",
"tenacity>=8.2.3",
"lorem-text>=2.1.1",
],
extras_require={
"dev": [
"black>=23.11.0",
"isort>=5.12.0",
"flake8>=6.1.0",
"mypy>=1.7.1",
"pre-commit>=3.5.0",
],
"test": [
"pytest>=7.4.3",
"pytest-cov>=4.1.0",
"pytest-html>=4.1.1",
"pytest-mock>=3.12.0",
"pytest-asyncio>=0.21.1",
],
"docs": [
"sphinx>=7.2.6",
"sphinx-rtd-theme>=1.3.0",
"sphinx-autodoc-typehints>=1.24.0",
],
"gpu": [
"torch>=2.1.0",
],
},
entry_points={
'console_scripts': [
'thinking-dataset = thinking_dataset.main:cli',
"console_scripts": [
"thinking-dataset=thinking_dataset.main:cli",
],
},
keywords=[
"dataset",
"ai",
"machine-learning",
"business",
"case-studies",
"strategic-ai",
],
package_data={
"thinking_dataset": [
"config/*.yaml",
"assets/templates/*.md",
"assets/prompts/*.md",
],
},
include_package_data=True,
zip_safe=False,
license="MIT",
)
138 changes: 138 additions & 0 deletions thinking-dataset.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,138 @@
[project]
name = "thinking-dataset"
version = "0.0.1"
description = "Generate real-world insights and business case studies with strategic AI"
readme = "README.md"
requires-python = ">=3.10"
license = {text = "MIT"}
keywords = ["dataset", "ai", "machine-learning", "business", "case-studies", "strategic-ai"]
authors = [
{name = "Kara Rawson", email = "[email protected]"},
]
maintainers = [
{name = "MultiTonic", email = "[email protected]"},
]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"Intended Audience :: Financial and Insurance Industry",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Business",
]
dependencies = [
"huggingface_hub[cli]>=0.19.0",
"datasets>=2.15.0",
"PyPDF2>=3.0.0",
"python-dotenv>=1.0.0",
"click>=8.1.7",
"requests>=2.31.0",
"rich>=13.7.0",
"sqlite-utils>=3.35.1",
"pytest>=7.4.3",
"pytest-html>=4.1.1",
"pytest-cov>=4.1.0",
"loguru>=0.7.2",
"pandas>=2.1.3",
"numpy<2.0.0",
"scikit-learn>=1.3.2",
"sqlalchemy>=2.0.23",
"tqdm>=4.66.1",
"pydantic>=2.5.2",
"python-statemachine>=2.1.2",
"jsonschema>=4.20.0",
"ollama>=0.1.4",
"tenacity>=8.2.3",
"lorem-text>=2.1.1",
]

[project.optional-dependencies]
dev = [
"black>=23.11.0",
"isort>=5.12.0",
"flake8>=6.1.0",
"mypy>=1.7.1",
"pre-commit>=3.5.0",
]
test = [
"pytest>=7.4.3",
"pytest-cov>=4.1.0",
"pytest-html>=4.1.1",
"pytest-mock>=3.12.0",
"pytest-asyncio>=0.21.1",
]
docs = [
"sphinx>=7.2.6",
"sphinx-rtd-theme>=1.3.0",
"sphinx-autodoc-typehints>=1.24.0",
]
gpu = [
"torch>=2.1.0",
]

[project.urls]
Homepage = "https://github.com/MultiTonic/thinking-dataset"
Documentation = "https://github.com/MultiTonic/thinking-dataset/tree/main/docs"
Repository = "https://github.com/MultiTonic/thinking-dataset"
Issues = "https://github.com/MultiTonic/thinking-dataset/issues"
Changelog = "https://github.com/MultiTonic/thinking-dataset/blob/main/CHANGELOG.md"
Discord = "https://discord.gg/RgxcdVFjpz"

[project.scripts]
thinking-dataset = "thinking_dataset.main:cli"

[tool.pytest.ini_options]
minversion = "6.0"
addopts = "-ra -q --cov=thinking_dataset --cov-report=html"
testpaths = ["tests"]
python_files = ["test_*.py"]
python_functions = ["test_*"]
python_classes = ["Test*"]

[tool.coverage.run]
branch = true
source = ["thinking_dataset"]

[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"def __repr__",
"if self.debug:",
"raise NotImplementedError",
"if __name__ == .__main__.:",
"pass",
"raise ImportError",
]

[tool.black]
line-length = 79
target-version = ["py310"]
include = '\.pyi?$'

[tool.isort]
profile = "black"
multi_line_output = 3
line_length = 79

[tool.mypy]
python_version = "3.10"
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = true
check_untyped_defs = true

[build-system]
requires = ["hatchling>=1.18.0"]
build-backend = "hatchling.build"

[tool.hatch.build.targets.wheel]
packages = ["thinking_dataset"]

[tool.hatch.metadata]
allow-direct-references = true

0 comments on commit 0716d8d

Please sign in to comment.