humalab 0.0.2__tar.gz → 0.0.3__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of humalab might be problematic. Click here for more details.

Files changed (43) hide show
  1. {humalab-0.0.2/humalab.egg-info → humalab-0.0.3}/PKG-INFO +1 -1
  2. humalab-0.0.3/VERSION +1 -0
  3. {humalab-0.0.2 → humalab-0.0.3/humalab.egg-info}/PKG-INFO +1 -1
  4. {humalab-0.0.2 → humalab-0.0.3}/humalab.egg-info/SOURCES.txt +3 -0
  5. {humalab-0.0.2 → humalab-0.0.3}/pyproject.toml +5 -16
  6. humalab-0.0.3/requirements-dev.txt +5 -0
  7. humalab-0.0.3/requirements.txt +4 -0
  8. {humalab-0.0.2 → humalab-0.0.3}/setup.py +11 -17
  9. {humalab-0.0.2 → humalab-0.0.3}/.gitignore +0 -0
  10. {humalab-0.0.2 → humalab-0.0.3}/LICENSE +0 -0
  11. {humalab-0.0.2 → humalab-0.0.3}/README.md +0 -0
  12. {humalab-0.0.2 → humalab-0.0.3}/humalab/__init__.py +0 -0
  13. {humalab-0.0.2 → humalab-0.0.3}/humalab/assets/__init__.py +0 -0
  14. {humalab-0.0.2 → humalab-0.0.3}/humalab/assets/archive.py +0 -0
  15. {humalab-0.0.2 → humalab-0.0.3}/humalab/assets/resource_file.py +0 -0
  16. {humalab-0.0.2 → humalab-0.0.3}/humalab/assets/resource_handler.py +0 -0
  17. {humalab-0.0.2 → humalab-0.0.3}/humalab/constants.py +0 -0
  18. {humalab-0.0.2 → humalab-0.0.3}/humalab/dists/__init__.py +0 -0
  19. {humalab-0.0.2 → humalab-0.0.3}/humalab/dists/bernoulli.py +0 -0
  20. {humalab-0.0.2 → humalab-0.0.3}/humalab/dists/categorical.py +0 -0
  21. {humalab-0.0.2 → humalab-0.0.3}/humalab/dists/discrete.py +0 -0
  22. {humalab-0.0.2 → humalab-0.0.3}/humalab/dists/distribution.py +0 -0
  23. {humalab-0.0.2 → humalab-0.0.3}/humalab/dists/gaussian.py +0 -0
  24. {humalab-0.0.2 → humalab-0.0.3}/humalab/dists/log_uniform.py +0 -0
  25. {humalab-0.0.2 → humalab-0.0.3}/humalab/dists/truncated_gaussian.py +0 -0
  26. {humalab-0.0.2 → humalab-0.0.3}/humalab/dists/uniform.py +0 -0
  27. {humalab-0.0.2 → humalab-0.0.3}/humalab/humalab.py +0 -0
  28. {humalab-0.0.2 → humalab-0.0.3}/humalab/humalab_api_client.py +0 -0
  29. {humalab-0.0.2 → humalab-0.0.3}/humalab/humalab_config.py +0 -0
  30. {humalab-0.0.2 → humalab-0.0.3}/humalab/humalab_test.py +0 -0
  31. {humalab-0.0.2 → humalab-0.0.3}/humalab/metrics/__init__.py +0 -0
  32. {humalab-0.0.2 → humalab-0.0.3}/humalab/metrics/dist_metric.py +0 -0
  33. {humalab-0.0.2 → humalab-0.0.3}/humalab/metrics/metric.py +0 -0
  34. {humalab-0.0.2 → humalab-0.0.3}/humalab/metrics/summary.py +0 -0
  35. {humalab-0.0.2 → humalab-0.0.3}/humalab/run.py +0 -0
  36. {humalab-0.0.2 → humalab-0.0.3}/humalab/scenario.py +0 -0
  37. {humalab-0.0.2 → humalab-0.0.3}/humalab/scenario_test.py +0 -0
  38. {humalab-0.0.2 → humalab-0.0.3}/humalab.egg-info/dependency_links.txt +0 -0
  39. {humalab-0.0.2 → humalab-0.0.3}/humalab.egg-info/entry_points.txt +0 -0
  40. {humalab-0.0.2 → humalab-0.0.3}/humalab.egg-info/not-zip-safe +0 -0
  41. {humalab-0.0.2 → humalab-0.0.3}/humalab.egg-info/requires.txt +0 -0
  42. {humalab-0.0.2 → humalab-0.0.3}/humalab.egg-info/top_level.txt +0 -0
  43. {humalab-0.0.2 → humalab-0.0.3}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: humalab
3
- Version: 0.0.2
3
+ Version: 0.0.3
4
4
  Summary: Python SDK for HumaLab - A platform for adaptive AI validation.
5
5
  Home-page: https://github.com/humalab/humalab_sdk
6
6
  Author: HumaLab Team
humalab-0.0.3/VERSION ADDED
@@ -0,0 +1 @@
1
+ 0.0.3
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: humalab
3
- Version: 0.0.2
3
+ Version: 0.0.3
4
4
  Summary: Python SDK for HumaLab - A platform for adaptive AI validation.
5
5
  Home-page: https://github.com/humalab/humalab_sdk
6
6
  Author: HumaLab Team
@@ -1,7 +1,10 @@
1
1
  .gitignore
2
2
  LICENSE
3
3
  README.md
4
+ VERSION
4
5
  pyproject.toml
6
+ requirements-dev.txt
7
+ requirements.txt
5
8
  setup.py
6
9
  humalab/__init__.py
7
10
  humalab/constants.py
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "humalab"
7
- version = "0.0.2"
7
+ dynamic = ["version", "dependencies", "optional-dependencies"]
8
8
  description = "Python SDK for HumaLab - A platform for adaptive AI validation."
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.8"
@@ -25,21 +25,10 @@ classifiers = [
25
25
  "Programming Language :: Python :: 3.10",
26
26
  "Programming Language :: Python :: 3.11",
27
27
  ]
28
- dependencies = [
29
- "numpy>=1.20.0",
30
- "omegaconf>=2.1.0",
31
- "requests>=2.25.0",
32
- "pyyaml>=5.4.0",
33
- ]
34
-
35
- [project.optional-dependencies]
36
- dev = [
37
- "pytest>=6.0.0",
38
- "pytest-cov>=2.10.0",
39
- "black>=21.0",
40
- "flake8>=3.9.0",
41
- "mypy>=0.910",
42
- ]
28
+ [tool.setuptools.dynamic]
29
+ version = {file = "VERSION"}
30
+ dependencies = {file = ["requirements.txt"]}
31
+ optional-dependencies.dev = {file = ["requirements-dev.txt"]}
43
32
 
44
33
  [project.urls]
45
34
  Homepage = "https://github.com/humalab/humalab_sdk"
@@ -0,0 +1,5 @@
1
+ pytest>=6.0.0
2
+ pytest-cov>=2.10.0
3
+ black>=21.0
4
+ flake8>=3.9.0
5
+ mypy>=0.910
@@ -0,0 +1,4 @@
1
+ numpy>=1.20.0
2
+ omegaconf>=2.1.0
3
+ requests>=2.25.0
4
+ pyyaml>=5.4.0
@@ -8,15 +8,12 @@ the package to be installed via pip.
8
8
  from setuptools import setup, find_packages
9
9
  import os
10
10
 
11
- # Read version from __init__.py
11
+ # Read version from VERSION file
12
12
  version = "0.0.1"
13
- init_file = os.path.join(os.path.dirname(__file__), "__init__.py")
14
- if os.path.exists(init_file):
15
- with open(init_file, "r") as f:
16
- for line in f:
17
- if line.startswith("__version__"):
18
- version = line.split("=")[1].strip().strip('"').strip("'")
19
- break
13
+ version_file = os.path.join(os.path.dirname(__file__), "VERSION")
14
+ if os.path.exists(version_file):
15
+ with open(version_file, "r") as f:
16
+ version = f.read().strip()
20
17
 
21
18
  # Read long description from README
22
19
  long_description = ""
@@ -50,18 +47,15 @@ setup(
50
47
  ],
51
48
  python_requires=">=3.8",
52
49
  install_requires=[
53
- "numpy>=1.20.0",
54
- "omegaconf>=2.1.0",
55
- "requests>=2.25.0",
56
- "pyyaml>=5.4.0",
50
+ line.strip()
51
+ for line in open("requirements.txt")
52
+ if line.strip() and not line.startswith("#")
57
53
  ],
58
54
  extras_require={
59
55
  "dev": [
60
- "pytest>=6.0.0",
61
- "pytest-cov>=2.10.0",
62
- "black>=21.0",
63
- "flake8>=3.9.0",
64
- "mypy>=0.910",
56
+ line.strip()
57
+ for line in open("requirements-dev.txt")
58
+ if line.strip() and not line.startswith("#") and not line.startswith("-r")
65
59
  ],
66
60
  },
67
61
  entry_points={
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes