File size: 3,498 Bytes
f206b57
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
"""

TorchForge: Enterprise-Grade PyTorch Framework

Author: Anil Prasad

author_email="anil@ambharii.com",

url="https://github.com/anilatambharii/torchforge",

"""

from setuptools import setup, find_packages
from pathlib import Path

# Read long description from README
this_directory = Path(__file__).parent
long_description = (this_directory / "README.md").read_text(encoding="utf-8")

# Read requirements
def read_requirements(filename):
    with open(this_directory / filename) as f:
        return [line.strip() for line in f if line.strip() and not line.startswith("#")]

setup(
    name="pytorchforge",
    version="1.0.0",
    author="Anil Prasad",
    author_email="anil@ambharii.com",
    description="Enterprise-grade PyTorch framework with governance, monitoring, and production deployment capabilities",
    long_description=long_description,
    long_description_content_type="text/markdown",
    url="https://github.com/anilatambharii/torchforge",
    project_urls={
        "Bug Tracker": "https://github.com/anilatambharii/torchforge/issues",
        "Documentation": "https://torchforge.readthedocs.io",
        "Source Code":  "https://github.com/anilatambharii/torchforge",             
    },
    packages=find_packages(exclude=["tests*", "docs*", "examples*"]),
    classifiers=[
        "Development Status :: 4 - Beta",
        "Intended Audience :: Developers",
        "Intended Audience :: Science/Research",
        "License :: OSI Approved :: MIT License",
        "Programming Language :: Python :: 3",
        "Programming Language :: Python :: 3.8",
        "Programming Language :: Python :: 3.9",
        "Programming Language :: Python :: 3.10",
        "Programming Language :: Python :: 3.11",
        "Topic :: Scientific/Engineering :: Artificial Intelligence",
        "Topic :: Software Development :: Libraries :: Python Modules",
    ],
    python_requires=">=3.8",
    install_requires=read_requirements("requirements.txt"),
    extras_require={
        "cloud": [
            "boto3>=1.26.0",
            "azure-ai-ml>=1.11.0",
            "google-cloud-aiplatform>=1.35.0",
            "kubernetes>=27.0.0",
        ],
        "monitoring": [
            "prometheus-client>=0.18.0",
            "grafana-api>=1.0.3",
            "mlflow>=2.8.0",
            "wandb>=0.16.0",
        ],
        "dev": [
            "pytest>=7.4.0",
            "pytest-cov>=4.1.0",
            "pytest-benchmark>=4.0.0",
            "black>=23.9.0",
            "isort>=5.12.0",
            "flake8>=6.1.0",
            "mypy>=1.5.0",
            "pre-commit>=3.4.0",
            "sphinx>=7.2.0",
            "sphinx-rtd-theme>=1.3.0",
        ],
        "all": [
            "boto3>=1.26.0",
            "azure-ai-ml>=1.11.0",
            "google-cloud-aiplatform>=1.35.0",
            "kubernetes>=27.0.0",
            "prometheus-client>=0.18.0",
            "grafana-api>=1.0.3",
            "mlflow>=2.8.0",
            "wandb>=0.16.0",
        ],
    },
    entry_points={
        "console_scripts": [
            "torchforge=torchforge.cli:main",
        ],
    },
    include_package_data=True,
    zip_safe=False,
    keywords=[
        "pytorch",
        "deep-learning",
        "machine-learning",
        "mlops",
        "enterprise-ai",
        "governance",
        "compliance",
        "nist",
        "production",
        "deployment",
    ],
)