hani 0.1.0__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.
- hani-0.1.0/PKG-INFO +50 -0
- hani-0.1.0/README.md +20 -0
- hani-0.1.0/pyproject.toml +82 -0
- hani-0.1.0/setup.cfg +4 -0
- hani-0.1.0/src/hani/__init__.py +0 -0
- hani-0.1.0/src/hani/app.py +1316 -0
- hani-0.1.0/src/hani/common.py +82 -0
- hani-0.1.0/src/hani/helpers.py +234 -0
- hani-0.1.0/src/hani/negotiator.py +141 -0
- hani-0.1.0/src/hani/run.py +37 -0
- hani-0.1.0/src/hani/sample_scenarios/Trade/display.py +16 -0
- hani-0.1.0/src/hani/scenario_makers.py +131 -0
- hani-0.1.0/src/hani/scenarios/__init__.py +0 -0
- hani-0.1.0/src/hani/scenarios/base.py +8 -0
- hani-0.1.0/src/hani/scenarios/trade.py +200 -0
- hani-0.1.0/src/hani/tools/__init__.py +3 -0
- hani-0.1.0/src/hani/tools/helpers/__init__.py +0 -0
- hani-0.1.0/src/hani/tools/histograms.py +146 -0
- hani-0.1.0/src/hani/tools/history.py +100 -0
- hani-0.1.0/src/hani/tools/outcome_plot.py +167 -0
- hani-0.1.0/src/hani/tools/preferences.py +123 -0
- hani-0.1.0/src/hani/tools/random.py +8 -0
- hani-0.1.0/src/hani/tools/results.py +191 -0
- hani-0.1.0/src/hani/tools/scenario_info.py +88 -0
- hani-0.1.0/src/hani/tools/tool.py +142 -0
- hani-0.1.0/src/hani/tools/urange.py +111 -0
- hani-0.1.0/src/hani/tools/utility_plot2d.py +167 -0
- hani-0.1.0/src/hani.egg-info/PKG-INFO +50 -0
- hani-0.1.0/src/hani.egg-info/SOURCES.txt +31 -0
- hani-0.1.0/src/hani.egg-info/dependency_links.txt +1 -0
- hani-0.1.0/src/hani.egg-info/entry_points.txt +2 -0
- hani-0.1.0/src/hani.egg-info/requires.txt +19 -0
- hani-0.1.0/src/hani.egg-info/top_level.txt +1 -0
hani-0.1.0/PKG-INFO
ADDED
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: hani
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Summary: Run Human-Agent Negotiations
|
|
5
|
+
Author-email: Yasser Mohammad <yasserfarouk@gmail.com>
|
|
6
|
+
License: GNU General Public License v2 or later (GPLv2+)
|
|
7
|
+
Classifier: Programming Language :: Python :: 3
|
|
8
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
9
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
10
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
11
|
+
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
12
|
+
Requires-Python: >=3.13
|
|
13
|
+
Description-Content-Type: text/markdown
|
|
14
|
+
Requires-Dist: hvplot>=0.11.2
|
|
15
|
+
Requires-Dist: negmas>=0.10.23
|
|
16
|
+
Requires-Dist: panel>=1.6.1
|
|
17
|
+
Requires-Dist: plotly>=6.0.0
|
|
18
|
+
Requires-Dist: sqlalchemy>=2.0.39
|
|
19
|
+
Provides-Extra: dev
|
|
20
|
+
Requires-Dist: bumpversion>=0.6.0; extra == "dev"
|
|
21
|
+
Requires-Dist: watchfiles>=1.0.4; extra == "dev"
|
|
22
|
+
Provides-Extra: doc
|
|
23
|
+
Requires-Dist: mkdocs-gen-files>=0.5.0; extra == "doc"
|
|
24
|
+
Requires-Dist: mkdocs-include-markdown-plugin>=7.1.4; extra == "doc"
|
|
25
|
+
Requires-Dist: mkdocs-material>=9.6.5; extra == "doc"
|
|
26
|
+
Requires-Dist: mkdocs>=1.6.1; extra == "doc"
|
|
27
|
+
Requires-Dist: mkdocstrings-python>=1.16.1; extra == "doc"
|
|
28
|
+
Provides-Extra: docs
|
|
29
|
+
Requires-Dist: mkdocs-jupyter>=0.25.1; extra == "docs"
|
|
30
|
+
|
|
31
|
+
# Human-Agent Negotiation Interface (HANI)
|
|
32
|
+

|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
## Installation
|
|
36
|
+
|
|
37
|
+
You can install the interface from pypi using:
|
|
38
|
+
|
|
39
|
+
```bash
|
|
40
|
+
pip install hani
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
## Contribution
|
|
44
|
+
|
|
45
|
+
To contribute, clone this repo then run:
|
|
46
|
+
|
|
47
|
+
```bash
|
|
48
|
+
uv sync --dev
|
|
49
|
+
```
|
|
50
|
+
|
hani-0.1.0/README.md
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# Human-Agent Negotiation Interface (HANI)
|
|
2
|
+

|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Installation
|
|
6
|
+
|
|
7
|
+
You can install the interface from pypi using:
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
pip install hani
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
## Contribution
|
|
14
|
+
|
|
15
|
+
To contribute, clone this repo then run:
|
|
16
|
+
|
|
17
|
+
```bash
|
|
18
|
+
uv sync --dev
|
|
19
|
+
```
|
|
20
|
+
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
[project]
|
|
2
|
+
name = "hani"
|
|
3
|
+
version = "0.1.0"
|
|
4
|
+
description = "Run Human-Agent Negotiations"
|
|
5
|
+
license = { text = "GNU General Public License v2 or later (GPLv2+)" }
|
|
6
|
+
authors = [
|
|
7
|
+
{ name = "Yasser Mohammad", email = "yasserfarouk@gmail.com" },
|
|
8
|
+
]
|
|
9
|
+
classifiers = [
|
|
10
|
+
"Programming Language :: Python :: 3",
|
|
11
|
+
"Programming Language :: Python :: 3.11",
|
|
12
|
+
"Programming Language :: Python :: 3.12",
|
|
13
|
+
"Programming Language :: Python :: 3.13",
|
|
14
|
+
"Programming Language :: Python :: Implementation :: CPython",
|
|
15
|
+
]
|
|
16
|
+
readme = "README.md"
|
|
17
|
+
requires-python = ">=3.13"
|
|
18
|
+
dependencies = [
|
|
19
|
+
"hvplot>=0.11.2",
|
|
20
|
+
"negmas>=0.10.23",
|
|
21
|
+
"panel>=1.6.1",
|
|
22
|
+
"plotly>=6.0.0",
|
|
23
|
+
"sqlalchemy>=2.0.39",
|
|
24
|
+
]
|
|
25
|
+
|
|
26
|
+
[build-system]
|
|
27
|
+
# requires = ["hatchling"]
|
|
28
|
+
# build-backend = "hatchling.build"
|
|
29
|
+
requires = ["setuptools >= 40.6.0", "wheel"]
|
|
30
|
+
build-backend = "setuptools.build_meta"
|
|
31
|
+
|
|
32
|
+
[project.scripts]
|
|
33
|
+
hani = "hani.run:main"
|
|
34
|
+
|
|
35
|
+
[project.optional-dependencies]
|
|
36
|
+
dev = [
|
|
37
|
+
"bumpversion>=0.6.0",
|
|
38
|
+
"watchfiles>=1.0.4",
|
|
39
|
+
]
|
|
40
|
+
doc = [
|
|
41
|
+
"mkdocs-gen-files>=0.5.0",
|
|
42
|
+
"mkdocs-include-markdown-plugin>=7.1.4",
|
|
43
|
+
"mkdocs-material>=9.6.5",
|
|
44
|
+
"mkdocs>=1.6.1",
|
|
45
|
+
"mkdocstrings-python>=1.16.1",
|
|
46
|
+
]
|
|
47
|
+
docs = [
|
|
48
|
+
"mkdocs-jupyter>=0.25.1",
|
|
49
|
+
]
|
|
50
|
+
|
|
51
|
+
[tool.bumpversion] # bumpversion config
|
|
52
|
+
current_version = "0.1.0"
|
|
53
|
+
delete_bookmark = true
|
|
54
|
+
commit = false
|
|
55
|
+
tag = false
|
|
56
|
+
|
|
57
|
+
[tool.pytest.ini_options] # pytest config
|
|
58
|
+
# addopts = "--doctest-modules" # Example: If you use doctest
|
|
59
|
+
# testpaths = ["tests"] # Example: If you have a tests directory
|
|
60
|
+
collect_ignore = ['setup.py']
|
|
61
|
+
|
|
62
|
+
[tool.mypy]
|
|
63
|
+
warn_unused_configs = false
|
|
64
|
+
warn_incomplete_stub = true
|
|
65
|
+
check_untyped_defs = true
|
|
66
|
+
python_version = "3.10"
|
|
67
|
+
strict_optional = false
|
|
68
|
+
ignore_missing_imports = false
|
|
69
|
+
|
|
70
|
+
[[tool.mypy.overrides]] # mypy overrides
|
|
71
|
+
module = ["setup.*"]
|
|
72
|
+
check_untyped_defs = false
|
|
73
|
+
|
|
74
|
+
[tool.flake8]
|
|
75
|
+
exclude = ["docs"]
|
|
76
|
+
|
|
77
|
+
[dependency-groups]
|
|
78
|
+
dev = [
|
|
79
|
+
"alembic>=1.15.1",
|
|
80
|
+
"sqlalchemy-schemadisplay>=2.0",
|
|
81
|
+
"twine>=6.1.0",
|
|
82
|
+
]
|
hani-0.1.0/setup.cfg
ADDED
|
File without changes
|