oxaigen 0.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,77 @@
1
+ Metadata-Version: 2.1
2
+ Name: oxaigen
3
+ Version: 0.0.0.1
4
+ Summary: Oxaigen Python SDK
5
+ Author: Luca Roggeveen Name
6
+ Author-email: luca@oxaigen.com
7
+ Requires-Python: >=3.10.12,<4.0.0
8
+ Classifier: Programming Language :: Python :: 3
9
+ Classifier: Programming Language :: Python :: 3.11
10
+ Requires-Dist: mlflow (>=2.10.2,<3.0.0)
11
+ Requires-Dist: numpy (>=1.26.4,<2.0.0)
12
+ Requires-Dist: pandas (>=2.1.0,<3.0.0)
13
+ Requires-Dist: pydantic (==1.10.8)
14
+ Requires-Dist: scikit-learn (>=1.4.0,<2.0.0)
15
+ Description-Content-Type: text/markdown
16
+
17
+ <div id="top"></div>
18
+ <!-- PROJECT LOGO -->
19
+ <br />
20
+ <div align="center">
21
+ <h1 align="center">Oxaigen Client SDK</h1>
22
+ <p align="center">
23
+ "Oxaigen Client SDK"
24
+ <br />
25
+ </p>
26
+ </div>
27
+
28
+ ---
29
+
30
+ ## About Oxaigen Client Python SDK
31
+
32
+
33
+
34
+
35
+ ---
36
+
37
+ ## Local development
38
+
39
+ 1. Clone the repository
40
+
41
+ ```shell
42
+ cd ~/Projects/oxaigen/
43
+ git clone git@gitlab.com:oxaigen/oxaigen.git
44
+ ```
45
+
46
+ 2. Install the python environment and install the **git pre-commit hooks** to the local git repository
47
+ ```shell
48
+ cd ~/Projects/oxaigen/core/libraries/python/oxaigen_client_sdk/
49
+ poetry config virtualenvs.in-project true --local # installs the virtual env in `.venv`
50
+ poetry install
51
+ poetry self add poetry-plugin-dotenv # plugin to load .env files
52
+ poetry run pre-commit install
53
+ ```
54
+ expected output:
55
+ ```log
56
+ pre-commit installed at .git/hooks/pre-commit
57
+ ```
58
+
59
+
60
+ ---
61
+
62
+ ## Build the library
63
+
64
+ 1. Install the python environment and install the **git pre-commit hooks** to the local git repository
65
+ ```shell
66
+ cd ~/Projects/oxaigen/libraries/python/oxaigen_client_sdk/
67
+ poetry build
68
+ ```
69
+ expected output:
70
+ ```log
71
+ Building oxaigenSDK (0.1.1)
72
+ - Building sdist
73
+ - Built oxaigen-0.1.1.tar.gz
74
+ - Building wheel
75
+ - Built oxaigenSDK-0.1.1-py3-none-any.whl
76
+ ```
77
+
@@ -0,0 +1,60 @@
1
+ <div id="top"></div>
2
+ <!-- PROJECT LOGO -->
3
+ <br />
4
+ <div align="center">
5
+ <h1 align="center">Oxaigen Client SDK</h1>
6
+ <p align="center">
7
+ "Oxaigen Client SDK"
8
+ <br />
9
+ </p>
10
+ </div>
11
+
12
+ ---
13
+
14
+ ## About Oxaigen Client Python SDK
15
+
16
+
17
+
18
+
19
+ ---
20
+
21
+ ## Local development
22
+
23
+ 1. Clone the repository
24
+
25
+ ```shell
26
+ cd ~/Projects/oxaigen/
27
+ git clone git@gitlab.com:oxaigen/oxaigen.git
28
+ ```
29
+
30
+ 2. Install the python environment and install the **git pre-commit hooks** to the local git repository
31
+ ```shell
32
+ cd ~/Projects/oxaigen/core/libraries/python/oxaigen_client_sdk/
33
+ poetry config virtualenvs.in-project true --local # installs the virtual env in `.venv`
34
+ poetry install
35
+ poetry self add poetry-plugin-dotenv # plugin to load .env files
36
+ poetry run pre-commit install
37
+ ```
38
+ expected output:
39
+ ```log
40
+ pre-commit installed at .git/hooks/pre-commit
41
+ ```
42
+
43
+
44
+ ---
45
+
46
+ ## Build the library
47
+
48
+ 1. Install the python environment and install the **git pre-commit hooks** to the local git repository
49
+ ```shell
50
+ cd ~/Projects/oxaigen/libraries/python/oxaigen_client_sdk/
51
+ poetry build
52
+ ```
53
+ expected output:
54
+ ```log
55
+ Building oxaigenSDK (0.1.1)
56
+ - Building sdist
57
+ - Built oxaigen-0.1.1.tar.gz
58
+ - Building wheel
59
+ - Built oxaigenSDK-0.1.1-py3-none-any.whl
60
+ ```
@@ -0,0 +1,4 @@
1
+ # -*- coding: utf-8 -*-
2
+
3
+ def validate_oxaigen_sdk_import():
4
+ print("You installed the wrong oxaigen package, this one is from the public PyPi instead of the private one.")
@@ -0,0 +1,47 @@
1
+ [tool.poetry]
2
+ name = "oxaigen"
3
+ version = "0.0.0.1"
4
+ description = "Oxaigen Python SDK"
5
+ authors = ["Luca Roggeveen Name <luca@oxaigen.com>"]
6
+ readme = "README.md"
7
+
8
+ [tool.poetry.dependencies]
9
+ python = "^3.10.12"
10
+ pydantic = "==1.10.8"
11
+ pandas = "^2.1.0"
12
+ mlflow = "^2.10.2"
13
+ scikit-learn = "^1.4.0"
14
+ numpy = "^1.26.4"
15
+
16
+ [tool.poetry.group.dev.dependencies]
17
+ pytest-cov = "*"
18
+ flake8 = "^7.0.0"
19
+ black = "^24.2.0"
20
+ pre-commit = "^3.6.2"
21
+ mypy = "^1.8.0"
22
+ types-requests = "^2.31.0.2"
23
+
24
+ [build-system]
25
+ requires = ["poetry-core>=1.0.0"]
26
+ build-backend = "poetry.core.masonry.api"
27
+
28
+ [[tool.poetry.packages]]
29
+ include = "oxaigen_client_sdk"
30
+
31
+ [tool.black]
32
+ line-length = 120
33
+ target-version = ['py37']
34
+ include = '\.pyi?$'
35
+ exclude = '''
36
+ /(
37
+ \.git
38
+ | \.hg
39
+ | \.mypy_cache
40
+ | \.tox
41
+ | \.venv
42
+ | _build
43
+ | buck-out
44
+ | build
45
+ | dist
46
+ )/
47
+ '''