abbeflow 0.0.1__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.
@@ -0,0 +1,33 @@
1
+ name: Publish to PyPI
2
+
3
+ on:
4
+ release:
5
+ types: [published]
6
+
7
+ jobs:
8
+ pypi-publish:
9
+ name: Build and publish to PyPI
10
+ runs-on: ubuntu-latest
11
+ environment:
12
+ name: release
13
+ permissions:
14
+ id-token: write
15
+ contents: read
16
+
17
+ steps:
18
+ - name: Checkout code
19
+ uses: actions/checkout@v4
20
+
21
+ - name: Set up Python
22
+ uses: actions/setup-python@v5
23
+ with:
24
+ python-version: "3.10"
25
+
26
+ - name: Install build dependencies
27
+ run: pip install build
28
+
29
+ - name: Build sdist and wheel
30
+ run: python -m build
31
+
32
+ - name: Publish package
33
+ uses: pypa/gh-action-pypi-publish@release/v1
abbeflow-0.0.1/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Kramer Harrison
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,27 @@
1
+ Metadata-Version: 2.4
2
+ Name: abbeflow
3
+ Version: 0.0.1
4
+ Summary: A learned prior over the optical glass manifold for realistic glass selection in lens design.
5
+ Project-URL: Homepage, https://github.com/HarrisonKramer/abbeflow
6
+ Author: Kramer Harrison
7
+ License: MIT
8
+ License-File: LICENSE
9
+ Classifier: Development Status :: 1 - Planning
10
+ Classifier: Intended Audience :: Science/Research
11
+ Classifier: License :: OSI Approved :: MIT License
12
+ Classifier: Programming Language :: Python :: 3
13
+ Classifier: Topic :: Scientific/Engineering :: Physics
14
+ Requires-Python: >=3.10
15
+ Requires-Dist: numpy
16
+ Requires-Dist: torch
17
+ Provides-Extra: optiland
18
+ Requires-Dist: optiland; extra == 'optiland'
19
+ Provides-Extra: train
20
+ Requires-Dist: optiland; extra == 'train'
21
+ Description-Content-Type: text/markdown
22
+
23
+ # AbbeFlow
24
+
25
+ AbbeFlow will be a normalizing-flow-based learned prior over the optical glass catalog manifold. It is trained on ~1700 glasses from 6 major manufacturers, predicting Buchdahl dispersion coefficients, in order to keep glass choices on the realizable manifold during lens optimization.
26
+
27
+ **Status**: AbbeFlow is currently an early pre-release / work in progress. Version v0.0.1 is simply a name-reservation scaffold on PyPI.
@@ -0,0 +1,5 @@
1
+ # AbbeFlow
2
+
3
+ AbbeFlow will be a normalizing-flow-based learned prior over the optical glass catalog manifold. It is trained on ~1700 glasses from 6 major manufacturers, predicting Buchdahl dispersion coefficients, in order to keep glass choices on the realizable manifold during lens optimization.
4
+
5
+ **Status**: AbbeFlow is currently an early pre-release / work in progress. Version v0.0.1 is simply a name-reservation scaffold on PyPI.
@@ -0,0 +1,32 @@
1
+ [build-system]
2
+ requires = ["hatchling"]
3
+ build-backend = "hatchling.build"
4
+
5
+ [project]
6
+ name = "abbeflow"
7
+ version = "0.0.1"
8
+ description = "A learned prior over the optical glass manifold for realistic glass selection in lens design."
9
+ readme = "README.md"
10
+ requires-python = ">=3.10"
11
+ license = { text = "MIT" }
12
+ authors = [
13
+ { name = "Kramer Harrison" },
14
+ ]
15
+ classifiers = [
16
+ "Development Status :: 1 - Planning",
17
+ "License :: OSI Approved :: MIT License",
18
+ "Programming Language :: Python :: 3",
19
+ "Intended Audience :: Science/Research",
20
+ "Topic :: Scientific/Engineering :: Physics",
21
+ ]
22
+ dependencies = [
23
+ "numpy",
24
+ "torch",
25
+ ]
26
+
27
+ [project.optional-dependencies]
28
+ train = ["optiland"]
29
+ optiland = ["optiland"]
30
+
31
+ [project.urls]
32
+ Homepage = "https://github.com/HarrisonKramer/abbeflow"
@@ -0,0 +1,13 @@
1
+ """
2
+ AbbeFlow: A learned prior over the optical glass manifold.
3
+
4
+ This package is currently an early work-in-progress. Version 0.0.1 serves as a name-reservation scaffold.
5
+ """
6
+
7
+ __version__ = "0.0.1"
8
+
9
+ def load_model():
10
+ """
11
+ Load the AbbeFlow model.
12
+ """
13
+ raise NotImplementedError("The AbbeFlow model is not yet released. This is a pre-release placeholder.")