solvor 0.3.1__tar.gz → 0.3.2__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.
@@ -19,7 +19,7 @@ jobs:
19
19
  run: uv sync --extra dev
20
20
 
21
21
  - name: Run linter
22
- run: uv run ruff check src/
22
+ run: uv run ruff check solvor/
23
23
 
24
24
  - name: Run tests
25
25
  run: uv run pytest tests/ -v
@@ -5,6 +5,9 @@ dist/
5
5
  .venv/
6
6
  .cl*/*
7
7
 
8
+ # VS Code
9
+ .vscode/
10
+
8
11
  # Tools
9
12
  .python-version
10
13
  .ruff_cache/
@@ -74,7 +74,7 @@ uv run pytest tests/ -v
74
74
 
75
75
  ## Philosophy
76
76
 
77
- 1. Working > perfect
77
+ 1. Usable > perfect
78
78
  2. Readable > clever
79
79
  3. Simple > general
80
80
  4. Fast, but understandable
@@ -1,7 +1,7 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: solvor
3
- Version: 0.3.1
4
- Summary: Pure Python optimization solvers. No dependencies, no nonsense.
3
+ Version: 0.3.2
4
+ Summary: Solvor your optimization needs.
5
5
  Project-URL: Repository, https://github.com/StevenBtw/solvor
6
6
  Author: Steven Bytheway
7
7
  License: MIT
@@ -21,9 +21,9 @@ Description-Content-Type: text/markdown
21
21
  # Solvor
22
22
 
23
23
  ![Python 3.14+](https://img.shields.io/badge/python-3.14+-blue.svg)
24
- ![License: MIT](https://img.shields.io/badge/license-MIT-green.svg)
24
+ [![License: Apache-2.0](https://img.shields.io/badge/license-Apache--2.0-blue.svg)](LICENSE)
25
25
 
26
- Pure Python optimization solvers. No dependencies, no nonsense.
26
+ Solvor your optimization needs..
27
27
 
28
28
  ## What's in the box?
29
29
 
@@ -278,4 +278,4 @@ See [CONTRIBUTING.md](CONTRIBUTING.md) for development setup and guidelines.
278
278
 
279
279
  ## License
280
280
 
281
- [MIT License](LICENSE) - free for personal and commercial use.
281
+ [Apache 2.0 License](LICENSE) - free for personal and commercial use.
@@ -1,9 +1,9 @@
1
1
  # Solvor
2
2
 
3
3
  ![Python 3.14+](https://img.shields.io/badge/python-3.14+-blue.svg)
4
- ![License: MIT](https://img.shields.io/badge/license-MIT-green.svg)
4
+ [![License: Apache-2.0](https://img.shields.io/badge/license-Apache--2.0-blue.svg)](LICENSE)
5
5
 
6
- Pure Python optimization solvers. No dependencies, no nonsense.
6
+ Solvor your optimization needs..
7
7
 
8
8
  ## What's in the box?
9
9
 
@@ -258,4 +258,4 @@ See [CONTRIBUTING.md](CONTRIBUTING.md) for development setup and guidelines.
258
258
 
259
259
  ## License
260
260
 
261
- [MIT License](LICENSE) - free for personal and commercial use.
261
+ [Apache 2.0 License](LICENSE) - free for personal and commercial use.
@@ -1,7 +1,7 @@
1
1
  [project]
2
2
  name = "solvor"
3
- version = "0.3.1"
4
- description = "Pure Python optimization solvers. No dependencies, no nonsense."
3
+ version = "0.3.2"
4
+ description = "Solvor your optimization needs."
5
5
  readme = "README.md"
6
6
  requires-python = ">=3.14"
7
7
  dependencies = []
@@ -31,8 +31,5 @@ dev = [
31
31
  requires = ["hatchling"]
32
32
  build-backend = "hatchling.build"
33
33
 
34
- [tool.hatch.build.targets.wheel]
35
- packages = ["src/solvor"]
36
-
37
34
  [tool.ruff]
38
35
  line-length = 100
@@ -1,6 +1,5 @@
1
1
  """Tests for all solvor solvers."""
2
2
 
3
- import pytest
4
3
  from solvor.simplex import solve_lp, Status as LPStatus
5
4
  from solvor.milp import solve_milp, Status as MILPStatus
6
5
  from solvor.anneal import anneal, Status as AnnealStatus
@@ -121,7 +120,7 @@ class TestSAT:
121
120
  # Satisfiable: x2=True
122
121
  result = solve_sat([[1, 2], [-1, 2]])
123
122
  assert result.status == SATStatus.OPTIMAL
124
- assert result.solution[2] == True
123
+ assert result.solution[2] is True
125
124
 
126
125
  def test_unsatisfiable(self):
127
126
  # x AND NOT x
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes