optify 0.1.0__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.
optify-0.1.0/PKG-INFO ADDED
@@ -0,0 +1,51 @@
1
+ Metadata-Version: 2.4
2
+ Name: optify
3
+ Version: 0.1.0
4
+ Classifier: Programming Language :: Rust
5
+ Classifier: Programming Language :: Python :: Implementation :: CPython
6
+ Classifier: Programming Language :: Python :: Implementation :: PyPy
7
+ Requires-Dist: pytest ; extra == 'dev'
8
+ Provides-Extra: dev
9
+ License-File: LICENSE.txt
10
+ Summary: Simplifies getting the right configuration options for a process using pre-loaded configurations from files to manage options for experiments or flights.
11
+ Home-Page: https://github.com/juharris/optify/tree/main/rust/optify
12
+ Author: Justin D. Harris
13
+ License: MIT
14
+ Requires-Python: >=3.8
15
+ Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM
16
+ Project-URL: Homepage, https://github.com/juharris/optify
17
+ Project-URL: Issues, https://github.com/juharris/optify/issues
18
+
19
+ # Optify Rust Bindings for Python
20
+
21
+ ⚠️ Development in progress ⚠️\
22
+ APIs are not final and will change, for example, interfaces with be used.
23
+ This is just meant to be minimal to get started and help build a Python library.
24
+
25
+ ## Development
26
+
27
+ ### Setup
28
+
29
+ ```shell
30
+ pyenv virtualenv optify-dev
31
+ pyenv local optify-dev
32
+ pyenv activate optify-dev
33
+
34
+ pip install -e '.[dev]'
35
+ ```
36
+
37
+ ### Build
38
+
39
+ ```shell
40
+ maturin develop
41
+ ```
42
+
43
+ ### Tests
44
+
45
+ ```shell
46
+ pytest
47
+ ```
48
+
49
+ # Publishing
50
+ A GitHub Action will automatically publish new versions: https://github.com/juharris/optify/actions/workflows/python_publish.yml
51
+
optify-0.1.0/README.md ADDED
@@ -0,0 +1,32 @@
1
+ # Optify Rust Bindings for Python
2
+
3
+ ⚠️ Development in progress ⚠️\
4
+ APIs are not final and will change, for example, interfaces with be used.
5
+ This is just meant to be minimal to get started and help build a Python library.
6
+
7
+ ## Development
8
+
9
+ ### Setup
10
+
11
+ ```shell
12
+ pyenv virtualenv optify-dev
13
+ pyenv local optify-dev
14
+ pyenv activate optify-dev
15
+
16
+ pip install -e '.[dev]'
17
+ ```
18
+
19
+ ### Build
20
+
21
+ ```shell
22
+ maturin develop
23
+ ```
24
+
25
+ ### Tests
26
+
27
+ ```shell
28
+ pytest
29
+ ```
30
+
31
+ # Publishing
32
+ A GitHub Action will automatically publish new versions: https://github.com/juharris/optify/actions/workflows/python_publish.yml
@@ -0,0 +1,55 @@
1
+ [project]
2
+ name = "optify"
3
+ authors = [
4
+ { name="Justin D. Harris" }
5
+ ]
6
+ description = "Simplifies getting the right configuration options for a process using pre-loaded configurations from files to manage options for experiments or flights."
7
+ requires-python = ">=3.8"
8
+ classifiers = [
9
+ "Programming Language :: Rust",
10
+ "Programming Language :: Python :: Implementation :: CPython",
11
+ "Programming Language :: Python :: Implementation :: PyPy",
12
+ ]
13
+ readme = "README.md"
14
+ license = "MIT"
15
+ license-files = ["LICEN[CS]E*"]
16
+ dynamic = ["version"]
17
+
18
+ [project.urls]
19
+ Homepage = "https://github.com/juharris/optify"
20
+ Issues = "https://github.com/juharris/optify/issues"
21
+
22
+ [build-system]
23
+ # For Python bindings:
24
+ requires = ["maturin>=1.8,<2.0"]
25
+ build-backend = "maturin"
26
+
27
+ [package]
28
+ name = "optify"
29
+ version = "0.1.0"
30
+
31
+ [tool.poetry]
32
+ name = "optify"
33
+ version = "0.1.0"
34
+ description = "Simplifies getting the right configuration options for a process using pre-loaded configurations from files to manage options for experiments or flights."
35
+ authors = ["Justin D. Harris"]
36
+ maintainers = ["Justin D. Harris"]
37
+ readme = "README.md"
38
+ packages = [{ include = "*", from = "src" }]
39
+
40
+ [license]
41
+ name = "MIT"
42
+
43
+ [tool.poetry.dependencies]
44
+ maturin = "^1.8.2"
45
+ python = "^3.11"
46
+
47
+ [tool.poetry.dev-dependencies]
48
+ pytest = "^8.3.4"
49
+
50
+ [project.optional-dependencies]
51
+ dev = ["pytest"]
52
+
53
+ [tool.maturin]
54
+ features = ["pyo3/extension-module"]
55
+ manifest-path = "python/optify/Cargo.toml"
@@ -0,0 +1,72 @@
1
+ /target
2
+
3
+ # Byte-compiled / optimized / DLL files
4
+ __pycache__/
5
+ .pytest_cache/
6
+ *.py[cod]
7
+
8
+ # C extensions
9
+ *.so
10
+
11
+ # Distribution / packaging
12
+ .Python
13
+ .venv/
14
+ env/
15
+ bin/
16
+ build/
17
+ develop-eggs/
18
+ dist/
19
+ eggs/
20
+ lib/
21
+ lib64/
22
+ parts/
23
+ sdist/
24
+ var/
25
+ include/
26
+ man/
27
+ venv/
28
+ *.egg-info/
29
+ .installed.cfg
30
+ *.egg
31
+
32
+ # Installer logs
33
+ pip-log.txt
34
+ pip-delete-this-directory.txt
35
+ pip-selfcheck.json
36
+
37
+ # Unit test / coverage reports
38
+ htmlcov/
39
+ .tox/
40
+ .coverage
41
+ .cache
42
+ nosetests.xml
43
+ coverage.xml
44
+
45
+ # Translations
46
+ *.mo
47
+
48
+ # Mr Developer
49
+ .mr.developer.cfg
50
+ .project
51
+ .pydevproject
52
+
53
+ # Rope
54
+ .ropeproject
55
+
56
+ # Django stuff:
57
+ *.log
58
+ *.pot
59
+
60
+ .DS_Store
61
+
62
+ # Sphinx documentation
63
+ docs/_build/
64
+
65
+ # PyCharm
66
+ .idea/
67
+
68
+ # VSCode
69
+ .vscode/
70
+
71
+ # Pyenv
72
+ .python-version