8000 feat: maximum consistent package set (graphs, solvers, CLI, real data) by dominicusin · Pull Request #111 · dominicusin/package-maximizer · GitHub
[go: up one dir, main page]

Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 27 additions & 1 deletion package_maximizer/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,17 @@

# Core components
from .core.enums import PackageManagerType, PackageStatus, SolverType
from .core.graph_builder import (
GraphBuilder,
PackageGraph,
build_buildtime_graph,
build_runtime_graph,
detect_cycles,
)
from .core.interfaces import ConstraintSolver, PackageParser
from .core.interfaces import ResultAnalyzer as ResultAnalyzerInterface
from .core.maximizer import PackageMaximizer
from .core.objective import Objective, get_default_weights
from .core.package import Package, PackageConstraint

# Integrations
Expand All @@ -63,9 +71,13 @@
get_parser,
)

8000 # Manifest parsing (YAML/JSON/CSV + remote HTTP inventory)
from .parsing import ManifestLoader, ManifestParseException, RemoteManifestSource

# Solvers
from .solvers import (
SOLVER_REGISTRY,
BacktrackingSolver,
EnhancedGreedySolver,
GreedySolver,
MaxSatSolver,
Expand All @@ -77,7 +89,7 @@
)

# Utilities
from .utils import BenchmarkRunner, CacheManager
from .utils import BenchmarkRunner, CacheManager, ResourceMonitor, ResourceSnapshot

__all__ = [
# Version info
Expand All @@ -101,6 +113,13 @@
"ConflictConstraint",
"ConstraintParser",
"PackageMaximizer",
"GraphBuilder",
"PackageGraph",
"build_runtime_graph",
"build_buildtime_graph",
"detect_cycles",
"Objective",
"get_default_weights",
# Solvers
"GreedySolver",
"Z3Solver",
Expand All @@ -109,8 +128,13 @@
"MaxSatSolver",
"MiniSatSolver",
"EnhancedGreedySolver",
"BacktrackingSolver",
"get_solver",
"SOLVER_REGISTRY",
# Manifest parsing
"ManifestLoader",
"RemoteManifestSource",
"ManifestParseException",
# Parsers
"APTParser",
"PacmanParser",
Expand All @@ -125,6 +149,8 @@
# Utilities
"CacheManager",
"BenchmarkRunner",
"ResourceMonitor",
"ResourceSnapshot",
# Integrations
"RealRepoIntegration",
# CLI
Expand Down
Loading
Loading
0