minfx 0.0.0.dev0__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,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2024 Minfx Technologies, s.r.o.
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,7 @@
1
+ include README.md
2
+ include LICENSE
3
+ include pyproject.toml
4
+ include setup.py
5
+ recursive-include minfx *.py
6
+ recursive-exclude * __pycache__
7
+ recursive-exclude * *.py[co]
@@ -0,0 +1,65 @@
1
+ Metadata-Version: 2.4
2
+ Name: minfx
3
+ Version: 0.0.0.dev0
4
+ Summary: A minimal Python package for the minfx project
5
+ Home-page: https://github.com/minfx-ai/minfx
6
+ Author: Minfx Team
7
+ Author-email: Minfx Team <team@minfx.ai>
8
+ Maintainer-email: Minfx Team <team@minfx.ai>
9
+ License: MIT
10
+ Project-URL: Homepage, https://github.com/minfx-ai/minfx
11
+ Project-URL: Repository, https://github.com/minfx-ai/minfx
12
+ Project-URL: Bug Reports, https://github.com/minfx-ai/minfx/issues
13
+ Keywords: minfx
14
+ Classifier: Development Status :: 3 - Alpha
15
+ Classifier: Intended Audience :: Developers
16
+ Classifier: License :: OSI Approved :: MIT License
17
+ Classifier: Operating System :: OS Independent
18
+ Classifier: Programming Language :: Python :: 3
19
+ Classifier: Programming Language :: Python :: 3.8
20
+ Classifier: Programming Language :: Python :: 3.9
21
+ Classifier: Programming Language :: Python :: 3.10
22
+ Classifier: Programming Language :: Python :: 3.11
23
+ Classifier: Programming Language :: Python :: 3.12
24
+ Requires-Python: >=3.8
25
+ Description-Content-Type: text/markdown
26
+ License-File: LICENSE
27
+ Requires-Dist: neptune
28
+ Requires-Dist: neptune-scale
29
+ Provides-Extra: dev
30
+ Requires-Dist: pytest>=6.0; extra == "dev"
31
+ Requires-Dist: pytest-cov>=2.0; extra == "dev"
32
+ Requires-Dist: black>=21.0; extra == "dev"
33
+ Requires-Dist: flake8>=3.8; extra == "dev"
34
+ Requires-Dist: mypy>=0.800; extra == "dev"
35
+ Dynamic: author
36
+ Dynamic: home-page
37
+ Dynamic: license-file
38
+ Dynamic: requires-python
39
+
40
+ # Minfx
41
+
42
+ Neptune just announced the shutdown of its services.
43
+
44
+ Drop-in Replacement: just change
45
+
46
+ ```
47
+ import neptune
48
+ ```
49
+ to
50
+ ```
51
+ import minfx.neptune_v2 as neptune
52
+ ```
53
+
54
+ or
55
+
56
+ ```
57
+ import neptune_scale
58
+ ```
59
+ to
60
+ ```
61
+ import minfx.neptune_v3 as neptune_scale
62
+ ```
63
+
64
+
65
+ We will later publish how to generate new API token and sign up to the service.
@@ -0,0 +1,26 @@
1
+ # Minfx
2
+
3
+ Neptune just announced the shutdown of its services.
4
+
5
+ Drop-in Replacement: just change
6
+
7
+ ```
8
+ import neptune
9
+ ```
10
+ to
11
+ ```
12
+ import minfx.neptune_v2 as neptune
13
+ ```
14
+
15
+ or
16
+
17
+ ```
18
+ import neptune_scale
19
+ ```
20
+ to
21
+ ```
22
+ import minfx.neptune_v3 as neptune_scale
23
+ ```
24
+
25
+
26
+ We will later publish how to generate new API token and sign up to the service.
@@ -0,0 +1 @@
1
+ 0.0.0-dev
@@ -0,0 +1,19 @@
1
+ """
2
+ MinFX.
3
+
4
+ This package provides core functionality for the minfx system.
5
+ """
6
+
7
+ from importlib.metadata import version, PackageNotFoundError
8
+
9
+ try:
10
+ __version__ = version("minfx")
11
+ except PackageNotFoundError:
12
+ __version__ = "unknown"
13
+
14
+ __author__ = "Minfx Technologies, s.r.o."
15
+ __email__ = "contact@minfx.ai"
16
+
17
+ # Package level imports can be added here as the package grows
18
+ # Neptune v2 (legacy) is available as minfx.neptune_v2
19
+ # Neptune v3 (scale) is available as minfx.neptune_v3
@@ -0,0 +1,21 @@
1
+ """
2
+ Neptune integration for MinFX.
3
+
4
+ This module temporarily re-exports the neptune package, allowing it to be accessed as:
5
+ import minfx.neptune
6
+ """
7
+
8
+ from neptune import *
9
+ import neptune as _neptune
10
+
11
+ # Re-export the neptune module's attributes
12
+ __all__ = getattr(_neptune, '__all__', [name for name in dir(_neptune) if not name.startswith('_')])
13
+
14
+ # Make the module behave like neptune when accessed
15
+ import sys
16
+ sys.modules[__name__].__dict__.update({
17
+ name: getattr(_neptune, name)
18
+ for name in dir(_neptune)
19
+ if not name.startswith('_')
20
+ })
21
+
@@ -0,0 +1,20 @@
1
+ """
2
+ Neptune integration for MinFX.
3
+
4
+ This module temporarily re-exports the neptune v2 (also called Neptune Legacy) package, allowing it to be accessed as:
5
+ import minfx.neptune_v2
6
+ """
7
+
8
+ from neptune import *
9
+ import neptune as _neptune
10
+
11
+ # Re-export the neptune module's attributes
12
+ __all__ = getattr(_neptune, '__all__', [name for name in dir(_neptune) if not name.startswith('_')])
13
+
14
+ # Make the module behave like neptune when accessed
15
+ import sys
16
+ sys.modules[__name__].__dict__.update({
17
+ name: getattr(_neptune, name)
18
+ for name in dir(_neptune)
19
+ if not name.startswith('_')
20
+ })
@@ -0,0 +1,20 @@
1
+ """
2
+ Neptune integration for MinFX.
3
+
4
+ This module temporarily re-exports the neptune v3 (also called Neptune Scale) package, allowing it to be accessed as:
5
+ import minfx.neptune_v3
6
+ """
7
+
8
+ from neptune_scale import *
9
+ import neptune_scale as _neptune_scale
10
+
11
+ # Re-export the neptune module's attributes
12
+ __all__ = getattr(_neptune_scale, '__all__', [name for name in dir(_neptune_scale) if not name.startswith('_')])
13
+
14
+ # Make the module behave like neptune when accessed
15
+ import sys
16
+ sys.modules[__name__].__dict__.update({
17
+ name: getattr(_neptune_scale, name)
18
+ for name in dir(_neptune_scale)
19
+ if not name.startswith('_')
20
+ })
@@ -0,0 +1,65 @@
1
+ Metadata-Version: 2.4
2
+ Name: minfx
3
+ Version: 0.0.0.dev0
4
+ Summary: A minimal Python package for the minfx project
5
+ Home-page: https://github.com/minfx-ai/minfx
6
+ Author: Minfx Team
7
+ Author-email: Minfx Team <team@minfx.ai>
8
+ Maintainer-email: Minfx Team <team@minfx.ai>
9
+ License: MIT
10
+ Project-URL: Homepage, https://github.com/minfx-ai/minfx
11
+ Project-URL: Repository, https://github.com/minfx-ai/minfx
12
+ Project-URL: Bug Reports, https://github.com/minfx-ai/minfx/issues
13
+ Keywords: minfx
14
+ Classifier: Development Status :: 3 - Alpha
15
+ Classifier: Intended Audience :: Developers
16
+ Classifier: License :: OSI Approved :: MIT License
17
+ Classifier: Operating System :: OS Independent
18
+ Classifier: Programming Language :: Python :: 3
19
+ Classifier: Programming Language :: Python :: 3.8
20
+ Classifier: Programming Language :: Python :: 3.9
21
+ Classifier: Programming Language :: Python :: 3.10
22
+ Classifier: Programming Language :: Python :: 3.11
23
+ Classifier: Programming Language :: Python :: 3.12
24
+ Requires-Python: >=3.8
25
+ Description-Content-Type: text/markdown
26
+ License-File: LICENSE
27
+ Requires-Dist: neptune
28
+ Requires-Dist: neptune-scale
29
+ Provides-Extra: dev
30
+ Requires-Dist: pytest>=6.0; extra == "dev"
31
+ Requires-Dist: pytest-cov>=2.0; extra == "dev"
32
+ Requires-Dist: black>=21.0; extra == "dev"
33
+ Requires-Dist: flake8>=3.8; extra == "dev"
34
+ Requires-Dist: mypy>=0.800; extra == "dev"
35
+ Dynamic: author
36
+ Dynamic: home-page
37
+ Dynamic: license-file
38
+ Dynamic: requires-python
39
+
40
+ # Minfx
41
+
42
+ Neptune just announced the shutdown of its services.
43
+
44
+ Drop-in Replacement: just change
45
+
46
+ ```
47
+ import neptune
48
+ ```
49
+ to
50
+ ```
51
+ import minfx.neptune_v2 as neptune
52
+ ```
53
+
54
+ or
55
+
56
+ ```
57
+ import neptune_scale
58
+ ```
59
+ to
60
+ ```
61
+ import minfx.neptune_v3 as neptune_scale
62
+ ```
63
+
64
+
65
+ We will later publish how to generate new API token and sign up to the service.
@@ -0,0 +1,18 @@
1
+ LICENSE
2
+ MANIFEST.in
3
+ README.md
4
+ VERSION
5
+ pyproject.toml
6
+ setup.py
7
+ minfx/__init__.py
8
+ minfx/neptune.py
9
+ minfx/neptune_v2.py
10
+ minfx/neptune_v3.py
11
+ minfx.egg-info/PKG-INFO
12
+ minfx.egg-info/SOURCES.txt
13
+ minfx.egg-info/dependency_links.txt
14
+ minfx.egg-info/not-zip-safe
15
+ minfx.egg-info/requires.txt
16
+ minfx.egg-info/top_level.txt
17
+ tests/__init__.py
18
+ tests/test_minfx.py
@@ -0,0 +1,9 @@
1
+ neptune
2
+ neptune-scale
3
+
4
+ [dev]
5
+ pytest>=6.0
6
+ pytest-cov>=2.0
7
+ black>=21.0
8
+ flake8>=3.8
9
+ mypy>=0.800
@@ -0,0 +1,2 @@
1
+ minfx
2
+ tests
@@ -0,0 +1,63 @@
1
+ [build-system]
2
+ requires = ["setuptools>=45", "wheel"]
3
+ build-backend = "setuptools.build_meta"
4
+
5
+ [project]
6
+ name = "minfx"
7
+ dynamic = ["version"]
8
+ description = "A minimal Python package for the minfx project"
9
+ readme = "README.md"
10
+ license = { text = "MIT" }
11
+ authors = [{ name = "Minfx Team", email = "team@minfx.ai" }]
12
+ maintainers = [{ name = "Minfx Team", email = "team@minfx.ai" }]
13
+ keywords = ["minfx"]
14
+ classifiers = [
15
+ "Development Status :: 3 - Alpha",
16
+ "Intended Audience :: Developers",
17
+ "License :: OSI Approved :: MIT License",
18
+ "Operating System :: OS Independent",
19
+ "Programming Language :: Python :: 3",
20
+ "Programming Language :: Python :: 3.8",
21
+ "Programming Language :: Python :: 3.9",
22
+ "Programming Language :: Python :: 3.10",
23
+ "Programming Language :: Python :: 3.11",
24
+ "Programming Language :: Python :: 3.12",
25
+ ]
26
+ requires-python = ">=3.8"
27
+ dependencies = ["neptune", "neptune-scale"]
28
+
29
+ [project.optional-dependencies]
30
+ dev = [
31
+ "pytest>=6.0",
32
+ "pytest-cov>=2.0",
33
+ "black>=21.0",
34
+ "flake8>=3.8",
35
+ "mypy>=0.800",
36
+ ]
37
+
38
+ [project.urls]
39
+ Homepage = "https://github.com/minfx-ai/minfx"
40
+ Repository = "https://github.com/minfx-ai/minfx"
41
+ "Bug Reports" = "https://github.com/minfx-ai/minfx/issues"
42
+
43
+ [tool.setuptools.dynamic]
44
+ version = { file = "VERSION" }
45
+
46
+ [tool.black]
47
+ line-length = 120
48
+ target-version = ['py38']
49
+
50
+ [tool.mypy]
51
+ python_version = "3.8"
52
+ warn_return_any = true
53
+ warn_unused_configs = true
54
+ disallow_untyped_defs = true
55
+
56
+ [tool.pytest.ini_options]
57
+ testpaths = ["tests"]
58
+ python_files = ["test_*.py"]
59
+ python_classes = ["Test*"]
60
+ python_functions = ["test_*"]
61
+ filterwarnings = [
62
+ "ignore:jsonschema.RefResolver is deprecated:DeprecationWarning",
63
+ ]
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+
@@ -0,0 +1,68 @@
1
+ #!/usr/bin/env python3
2
+ """
3
+ Setup script for MinFX package.
4
+ """
5
+
6
+ from setuptools import setup, find_packages
7
+ import os
8
+
9
+
10
+ # Read the README file for long description
11
+ def read_readme():
12
+ readme_path = os.path.join(os.path.dirname(__file__), "README.md")
13
+ if os.path.exists(readme_path):
14
+ with open(readme_path, "r", encoding="utf-8") as f:
15
+ return f.read()
16
+ return ""
17
+
18
+
19
+ # Read version from VERSION file
20
+ def get_version():
21
+ version_path = os.path.join(os.path.dirname(__file__), "VERSION")
22
+ with open(version_path, "r", encoding="utf-8") as f:
23
+ return f.read().strip()
24
+
25
+
26
+ setup(
27
+ name="minfx",
28
+ version=get_version(),
29
+ author="Minfx Team",
30
+ author_email="team@minfx.ai",
31
+ description="A minimal Python package for the Minfx project",
32
+ long_description=read_readme(),
33
+ long_description_content_type="text/markdown",
34
+ url="https://github.com/minfx-ai/minfx",
35
+ project_urls={
36
+ "Bug Reports": "https://github.com/minfx-ai/minfx/issues",
37
+ "Source": "https://github.com/minfx-ai/minfx",
38
+ },
39
+ packages=find_packages(),
40
+ classifiers=[
41
+ "Development Status :: 3 - Alpha",
42
+ "Intended Audience :: Developers",
43
+ "License :: OSI Approved :: MIT License",
44
+ "Operating System :: OS Independent",
45
+ "Programming Language :: Python :: 3",
46
+ "Programming Language :: Python :: 3.8",
47
+ "Programming Language :: Python :: 3.9",
48
+ "Programming Language :: Python :: 3.10",
49
+ "Programming Language :: Python :: 3.11",
50
+ "Programming Language :: Python :: 3.12",
51
+ ],
52
+ python_requires=">=3.8",
53
+ install_requires=[
54
+ "neptune",
55
+ "neptune-scale",
56
+ ],
57
+ extras_require={
58
+ "dev": [
59
+ "pytest>=6.0",
60
+ "pytest-cov>=2.0",
61
+ "black>=21.0",
62
+ "flake8>=3.8",
63
+ "mypy>=0.800",
64
+ ],
65
+ },
66
+ include_package_data=True,
67
+ zip_safe=False,
68
+ )
@@ -0,0 +1 @@
1
+ # Tests package for minfx
@@ -0,0 +1,27 @@
1
+ import pytest
2
+ import minfx
3
+
4
+
5
+ def test_import():
6
+ """Test that the package can be imported."""
7
+ assert minfx is not None
8
+
9
+
10
+ def test_version():
11
+ """Test that version is defined."""
12
+ assert hasattr(minfx, "__version__")
13
+ assert isinstance(minfx.__version__, str)
14
+
15
+
16
+ def test_neptune_v2_import():
17
+ """Test that minfx.neptune_v2 can be imported."""
18
+ import minfx.neptune_v2
19
+
20
+ assert minfx.neptune_v2 is not None
21
+
22
+
23
+ def test_neptune_v3_import():
24
+ """Test that minfx.neptune_v3 (neptune_scale) can be imported."""
25
+ import minfx.neptune_v3
26
+
27
+ assert minfx.neptune_v3 is not None