-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* added mkdocstrings * divided content into larger categories
- Loading branch information
Showing
31 changed files
with
126 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# Benchmark Module | ||
|
||
::: prediction_market_agent_tooling.benchmark | ||
handler: python |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# Configuration Module | ||
|
||
::: prediction_market_agent_tooling.config | ||
handler: python |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# Deploy Module | ||
|
||
::: prediction_market_agent_tooling.deploy | ||
handler: python |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# Global Types | ||
|
||
::: prediction_market_agent_tooling.gtypes | ||
handler: python |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# Reference | ||
|
||
Welcome to the API Reference for **Prediction Market Agent Tooling**. | ||
|
||
This section provides detailed documentation of all modules. It is recommended to use the search function to quickly navigate to the function/module you want to learn about. | ||
|
||
## Core Modules | ||
|
||
- [Benchmark](benchmark.md) | ||
- [Deploy](deploy.md) | ||
- [Markets](markets.md) | ||
- [Monitor](monitor.md) | ||
- [Tools](tools.md) | ||
- [Configuration](config.md) | ||
- [Global Types](gtypes.md) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# Markets Module | ||
|
||
::: prediction_market_agent_tooling.markets | ||
handler: python |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# Monitor Module | ||
|
||
::: prediction_market_agent_tooling.monitor | ||
handler: python |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# Tools Module | ||
|
||
::: prediction_market_agent_tooling.tools | ||
handler: python |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,5 @@ | ||
mkdocs | ||
mkdocs-material | ||
mkdocstrings | ||
mkdocstrings-python | ||
ruff |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
""" | ||
Prediction Market Agent Tooling | ||
This package provides tools and utilities for interacting with prediction markets. | ||
""" | ||
|
||
import pkgutil | ||
import importlib | ||
import sys | ||
|
||
# Define all modules that should be available | ||
__all__ = [] | ||
|
||
# Ensure package is importable from subdirectories | ||
package_name = __name__ | ||
|
||
for loader, module_name, is_pkg in pkgutil.walk_packages(__path__, prefix=package_name + "."): | ||
try: | ||
imported_module = importlib.import_module(module_name) | ||
globals()[module_name.split(".")[-1]] = imported_module | ||
__all__.append(module_name.split(".")[-1]) | ||
except ImportError as e: | ||
print(f"Warning: Could not import {module_name}: {e}") | ||
|
||
# Recursively ensure all submodules are imported | ||
def recursive_import(package): | ||
for loader, module_name, is_pkg in pkgutil.walk_packages(package.__path__, prefix=package.__name__ + "."): | ||
try: | ||
imported_module = importlib.import_module(module_name) | ||
globals()[module_name.split(".")[-1]] = imported_module | ||
__all__.append(module_name.split(".")[-1]) | ||
if is_pkg: | ||
recursive_import(imported_module) # Recursively import nested submodules | ||
except ImportError as e: | ||
print(f"Warning: Could not import {module_name}: {e}") | ||
|
||
# Import all submodules recursively | ||
recursive_import(importlib.import_module(package_name)) | ||
|
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.