Skip to main content

Crate pro_core

Crate pro_core 

Source
Expand description

pro-core: Core library for Pro Python package manager

This crate provides the core functionality for Pro:

  • Dependency resolution (using pubgrub)
  • Package installation with caching
  • Native wheel/sdist building
  • Virtual environment management
  • Security auditing (CVE checking)
  • PEP standards compliance
  • Python version management
  • Tool runner for ephemeral tool execution
  • PEP 723 script support

Re-exports§

pub use affected::build_dependency_graph;
pub use affected::detect_affected;
pub use affected::detect_affected_with_transitive;
pub use affected::get_transitive_affected;
pub use affected::AffectedConfig;
pub use affected::AffectedResult;
pub use audit::AuditConfig;
pub use audit::AuditReport;
pub use audit::Auditor;
pub use audit::FixRecommendation;
pub use audit::FixResult;
pub use audit::IgnoredVulnerability;
pub use audit::Severity;
pub use audit::Vulnerability;
pub use docker::build_image;
pub use docker::DockerConfig;
pub use docker::DockerfileGenerator;
pub use dotenv::load_dotenv;
pub use dotenv::DotenvConfig;
pub use error::Error;
pub use error::Result;
pub use installer::default_cache_dir;
pub use installer::InstallResult;
pub use installer::Installer;
pub use lockfile::Lockfile;
pub use path_dep::install_path_dependency;
pub use path_dep::load_path_dependencies;
pub use path_dep::PathDependency;
pub use polylith::Brick;
pub use polylith::BrickType;
pub use polylith::Polylith;
pub use python::available_versions;
pub use python::find_matching_version;
pub use python::InstalledPython;
pub use python::Platform;
pub use python::PythonManager;
pub use python::PythonVersion;
pub use registry::RegistryConfig;
pub use registry::RegistryManager;
pub use registry::ResolvedCredentials;
pub use script::is_pep723_script;
pub use script::parse_script_metadata;
pub use script::ScriptMetadata;
pub use script::ScriptRunner;
pub use self_update::InstallMethod;
pub use self_update::ReleaseInfo;
pub use self_update::SelfUpdater;
pub use tool::CachedTool;
pub use tool::ToolCache;
pub use tool::ToolRunner;
pub use venv::VenvManager;
pub use versioning::bump_version;
pub use versioning::get_git_version;
pub use versioning::get_version;
pub use versioning::VersioningConfig;
pub use workspace::MemberInfo;
pub use workspace::Workspace;

Modules§

affected
Affected detection for workspace members
audit
Security audit module for vulnerability checking
builder
Native Rust build backend for Python packages (PEP 517)
docker
Docker integration for Python projects
dotenv
Dotenv support for loading environment variables from .env files
error
Error types for pro-core
index
PyPI index client and types
installer
Package installer with caching and parallel downloads
lockfile
Lockfile format for Pro (rx.lock)
path_dep
Local path dependencies support
pep
PEP standards implementations
polylith
Polylith architecture support
python
Python version management
registry
Private registry configuration and authentication
resolver
Dependency resolver using pubgrub algorithm
script
PEP 723 script support
self_update
Self-update functionality for the rx CLI
semver
Semantic Versioning (SemVer) implementation
tool
Tool runner for ephemeral Python tool execution
venv
Virtual environment management
versioning
Dynamic versioning from git tags
workspace
Workspace support for monorepo management