pyoptimize
Optimization solvers
Installation
pip install pyoptimize
💡 Usage Examples
Basic Operations
from pylib_optimize import optimize
# Optimize function
def objective(x):
return x**2 + 2*x + 1
result = optimize(objective, bounds=[-10, 10])
# Optimal value and parameters
AI/ML Use Cases
from pylib_optimize import optimize
# Optimize hyperparameters
def model_score(params):
model = create_model(params)
return model.evaluate()
optimal_params = optimize(model_score, bounds=param_bounds)
📚 API Reference
See package documentation for complete API reference.
🤖 AI Agent Friendly
This package is optimized for AI agents and code generation tools:
- Clear function names and signatures
- Comprehensive docstrings with examples
- Type hints for better IDE support
- Common use cases documented
- Zero dependencies for reliability
License
MIT
Release files for pylib-optimize 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pylib_optimize-0.1.0.tar.gz | 2.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pylib_optimize-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 4.1 kB
Release files / pylib_optimize-0.1.0.tar.gz
| Download URL | pylib_optimize-0.1.0.tar.gz |
|---|---|
| Size | 2.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
350f82c75998dd8b1644dcf0c73c7513a90271e2f1596149d18a5f7c16dcf4d9
|
|
BLAKE2b-256 checksum How to use checksums |
6d92b4c11b33cf045588805059ecba5eae4f7a5041e173d895ea2ea8af58fb54
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.7
|
Release files / pylib_optimize-0.1.0-py3-none-any.whl
| Download URL | pylib_optimize-0.1.0-py3-none-any.whl |
|---|---|
| Size | 1.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6a5042fc3b4ad6399fe82e6ca140f0b001326b778ea5e39b3fd78049fc9ae8dd
|
|
BLAKE2b-256 checksum How to use checksums |
b7bdadee354326339a5a4b619a580c40cadab639dcf4c6622a78a6377468972f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.7
|