poma 0.1.0__tar.gz → 0.1.4__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.
- poma-0.1.4/.github/workflows/python-publish.yml +70 -0
- poma-0.1.4/.gitignore +56 -0
- {poma-0.1.0 → poma-0.1.4}/PKG-INFO +2 -4
- {poma-0.1.0 → poma-0.1.4}/README.md +1 -1
- {poma-0.1.0 → poma-0.1.4}/poma/client.py +1 -1
- {poma-0.1.0 → poma-0.1.4}/poma.egg-info/PKG-INFO +2 -4
- {poma-0.1.0 → poma-0.1.4}/poma.egg-info/SOURCES.txt +2 -0
- {poma-0.1.0 → poma-0.1.4}/poma.egg-info/requires.txt +0 -3
- {poma-0.1.0 → poma-0.1.4}/pyproject.toml +2 -6
- {poma-0.1.0 → poma-0.1.4}/LICENSE +0 -0
- {poma-0.1.0 → poma-0.1.4}/poma/__init__.py +0 -0
- {poma-0.1.0 → poma-0.1.4}/poma/exceptions.py +0 -0
- {poma-0.1.0 → poma-0.1.4}/poma/integrations/__init__.py +0 -0
- {poma-0.1.0 → poma-0.1.4}/poma/integrations/langchain_poma.py +0 -0
- {poma-0.1.0 → poma-0.1.4}/poma/integrations/llamaindex_poma.py +0 -0
- {poma-0.1.0 → poma-0.1.4}/poma/retrieval.py +0 -0
- {poma-0.1.0 → poma-0.1.4}/poma.egg-info/dependency_links.txt +0 -0
- {poma-0.1.0 → poma-0.1.4}/poma.egg-info/top_level.txt +0 -0
- {poma-0.1.0 → poma-0.1.4}/setup.cfg +0 -0
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
# This workflow will upload a Python Package to PyPI when a release is created
|
|
2
|
+
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python#publishing-to-package-registries
|
|
3
|
+
|
|
4
|
+
# This workflow uses actions that are not certified by GitHub.
|
|
5
|
+
# They are provided by a third-party and are governed by
|
|
6
|
+
# separate terms of service, privacy policy, and support
|
|
7
|
+
# documentation.
|
|
8
|
+
|
|
9
|
+
name: Upload Python Package
|
|
10
|
+
|
|
11
|
+
on:
|
|
12
|
+
push:
|
|
13
|
+
tags: [ '*.*.*' ]
|
|
14
|
+
|
|
15
|
+
permissions:
|
|
16
|
+
contents: read
|
|
17
|
+
|
|
18
|
+
jobs:
|
|
19
|
+
release-build:
|
|
20
|
+
runs-on: ubuntu-latest
|
|
21
|
+
|
|
22
|
+
steps:
|
|
23
|
+
- uses: actions/checkout@v4
|
|
24
|
+
|
|
25
|
+
- uses: actions/setup-python@v5
|
|
26
|
+
with:
|
|
27
|
+
python-version: "3.x"
|
|
28
|
+
|
|
29
|
+
- name: Build release distributions
|
|
30
|
+
run: |
|
|
31
|
+
# NOTE: put your own distribution build steps here.
|
|
32
|
+
python -m pip install build
|
|
33
|
+
python -m build
|
|
34
|
+
|
|
35
|
+
- name: Upload distributions
|
|
36
|
+
uses: actions/upload-artifact@v4
|
|
37
|
+
with:
|
|
38
|
+
name: release-dists
|
|
39
|
+
path: dist/
|
|
40
|
+
|
|
41
|
+
pypi-publish:
|
|
42
|
+
runs-on: ubuntu-latest
|
|
43
|
+
needs:
|
|
44
|
+
- release-build
|
|
45
|
+
permissions:
|
|
46
|
+
# IMPORTANT: this permission is mandatory for trusted publishing
|
|
47
|
+
id-token: write
|
|
48
|
+
|
|
49
|
+
# Dedicated environments with protections for publishing are strongly recommended.
|
|
50
|
+
# For more information, see: https://docs.github.com/en/actions/deployment/targeting-different-environments/using-environments-for-deployment#deployment-protection-rules
|
|
51
|
+
environment:
|
|
52
|
+
name: pypi
|
|
53
|
+
# OPTIONAL: uncomment and update to include your PyPI project URL in the deployment status:
|
|
54
|
+
# url: https://pypi.org/p/YOURPROJECT
|
|
55
|
+
#
|
|
56
|
+
# ALTERNATIVE: if your GitHub Release name is the PyPI project version string
|
|
57
|
+
# ALTERNATIVE: exactly, uncomment the following line instead:
|
|
58
|
+
# url: https://pypi.org/project/YOURPROJECT/${{ github.event.release.name }}
|
|
59
|
+
|
|
60
|
+
steps:
|
|
61
|
+
- name: Retrieve release distributions
|
|
62
|
+
uses: actions/download-artifact@v4
|
|
63
|
+
with:
|
|
64
|
+
name: release-dists
|
|
65
|
+
path: dist/
|
|
66
|
+
|
|
67
|
+
- name: Publish release distributions to PyPI
|
|
68
|
+
uses: pypa/gh-action-pypi-publish@release/v1
|
|
69
|
+
with:
|
|
70
|
+
packages-dir: dist/
|
poma-0.1.4/.gitignore
ADDED
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
# -------------------------------------------------------
|
|
2
|
+
# Python bytecode
|
|
3
|
+
# -------------------------------------------------------
|
|
4
|
+
__pycache__/
|
|
5
|
+
*.py[cod]
|
|
6
|
+
*$py.class
|
|
7
|
+
|
|
8
|
+
# -------------------------------------------------------
|
|
9
|
+
# Virtualenv (Windows + Unix)
|
|
10
|
+
# -------------------------------------------------------
|
|
11
|
+
.venv/
|
|
12
|
+
venv/
|
|
13
|
+
env/
|
|
14
|
+
.poma-sdk-venv/
|
|
15
|
+
ENV/
|
|
16
|
+
env.bak/
|
|
17
|
+
.idea/
|
|
18
|
+
|
|
19
|
+
# -------------------------------------------------------
|
|
20
|
+
# VS Code
|
|
21
|
+
# -------------------------------------------------------
|
|
22
|
+
.vscode/
|
|
23
|
+
|
|
24
|
+
# -------------------------------------------------------
|
|
25
|
+
# Pytest
|
|
26
|
+
# -------------------------------------------------------
|
|
27
|
+
.cache/
|
|
28
|
+
.pytest_cache/
|
|
29
|
+
nosetests.xml
|
|
30
|
+
coverage.xml
|
|
31
|
+
*.cover
|
|
32
|
+
*.py,cover
|
|
33
|
+
.hypothesis/
|
|
34
|
+
|
|
35
|
+
# -------------------------------------------------------
|
|
36
|
+
# Build / Dist
|
|
37
|
+
# -------------------------------------------------------
|
|
38
|
+
build/
|
|
39
|
+
dist/
|
|
40
|
+
*.egg-info/
|
|
41
|
+
*.egg
|
|
42
|
+
.eggs/
|
|
43
|
+
|
|
44
|
+
# -------------------------------------------------------
|
|
45
|
+
# Environment files
|
|
46
|
+
# -------------------------------------------------------
|
|
47
|
+
.env
|
|
48
|
+
.env.*
|
|
49
|
+
*.env
|
|
50
|
+
|
|
51
|
+
# -------------------------------------------------------
|
|
52
|
+
# Mac / Windows
|
|
53
|
+
# -------------------------------------------------------
|
|
54
|
+
.DS_Store
|
|
55
|
+
Thumbs.db
|
|
56
|
+
desktop.ini
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: poma
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.4
|
|
4
4
|
Summary: Official Python SDK for the Poma document-processing API
|
|
5
5
|
Author-email: "POMA AI GmbH, Berlin" <sdk@poma-ai.com>
|
|
6
6
|
License-Expression: MPL-2.0
|
|
@@ -24,8 +24,6 @@ Requires-Dist: langchain_openai==0.3.28; extra == "integration-examples"
|
|
|
24
24
|
Requires-Dist: langchain_community==0.3.27; extra == "integration-examples"
|
|
25
25
|
Requires-Dist: llama-index-embeddings-langchain==0.4.0; extra == "integration-examples"
|
|
26
26
|
Requires-Dist: dotenv; extra == "integration-examples"
|
|
27
|
-
Provides-Extra: examples
|
|
28
|
-
Requires-Dist: dotenv; extra == "examples"
|
|
29
27
|
Dynamic: license-file
|
|
30
28
|
|
|
31
29
|

|
|
@@ -53,7 +51,7 @@ pip install poma[integration-examples]
|
|
|
53
51
|
- **To request a POMA_API_KEY, please contact us at api@poma-ai.com**
|
|
54
52
|
|
|
55
53
|
|
|
56
|
-
### Example Implementations — all examples, integrations, and additional information can be found in our GitHub repository: [poma-ai/poma](https://github.com/poma-ai/
|
|
54
|
+
### Example Implementations — all examples, integrations, and additional information can be found in our GitHub repository: [poma-ai/poma](https://github.com/poma-ai/)
|
|
57
55
|
|
|
58
56
|
We provide four example implementations to help you get started with POMA AI:
|
|
59
57
|
- example.py — A standalone implementation for documents, showing the basic POMA AI workflow with simple keyword-based retrieval
|
|
@@ -23,7 +23,7 @@ pip install poma[integration-examples]
|
|
|
23
23
|
- **To request a POMA_API_KEY, please contact us at api@poma-ai.com**
|
|
24
24
|
|
|
25
25
|
|
|
26
|
-
### Example Implementations — all examples, integrations, and additional information can be found in our GitHub repository: [poma-ai/poma](https://github.com/poma-ai/
|
|
26
|
+
### Example Implementations — all examples, integrations, and additional information can be found in our GitHub repository: [poma-ai/poma](https://github.com/poma-ai/)
|
|
27
27
|
|
|
28
28
|
We provide four example implementations to help you get started with POMA AI:
|
|
29
29
|
- example.py — A standalone implementation for documents, showing the basic POMA AI workflow with simple keyword-based retrieval
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: poma
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.4
|
|
4
4
|
Summary: Official Python SDK for the Poma document-processing API
|
|
5
5
|
Author-email: "POMA AI GmbH, Berlin" <sdk@poma-ai.com>
|
|
6
6
|
License-Expression: MPL-2.0
|
|
@@ -24,8 +24,6 @@ Requires-Dist: langchain_openai==0.3.28; extra == "integration-examples"
|
|
|
24
24
|
Requires-Dist: langchain_community==0.3.27; extra == "integration-examples"
|
|
25
25
|
Requires-Dist: llama-index-embeddings-langchain==0.4.0; extra == "integration-examples"
|
|
26
26
|
Requires-Dist: dotenv; extra == "integration-examples"
|
|
27
|
-
Provides-Extra: examples
|
|
28
|
-
Requires-Dist: dotenv; extra == "examples"
|
|
29
27
|
Dynamic: license-file
|
|
30
28
|
|
|
31
29
|

|
|
@@ -53,7 +51,7 @@ pip install poma[integration-examples]
|
|
|
53
51
|
- **To request a POMA_API_KEY, please contact us at api@poma-ai.com**
|
|
54
52
|
|
|
55
53
|
|
|
56
|
-
### Example Implementations — all examples, integrations, and additional information can be found in our GitHub repository: [poma-ai/poma](https://github.com/poma-ai/
|
|
54
|
+
### Example Implementations — all examples, integrations, and additional information can be found in our GitHub repository: [poma-ai/poma](https://github.com/poma-ai/)
|
|
57
55
|
|
|
58
56
|
We provide four example implementations to help you get started with POMA AI:
|
|
59
57
|
- example.py — A standalone implementation for documents, showing the basic POMA AI workflow with simple keyword-based retrieval
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "poma"
|
|
3
|
-
version = "0.1.
|
|
3
|
+
version = "0.1.4"
|
|
4
4
|
description = "Official Python SDK for the Poma document-processing API"
|
|
5
5
|
authors = [{ name = "POMA AI GmbH, Berlin", email = "sdk@poma-ai.com" }]
|
|
6
6
|
readme = "README.md"
|
|
@@ -33,12 +33,8 @@ integration-examples = [
|
|
|
33
33
|
"dotenv"
|
|
34
34
|
]
|
|
35
35
|
|
|
36
|
-
examples = [
|
|
37
|
-
"dotenv"
|
|
38
|
-
]
|
|
39
|
-
|
|
40
36
|
[build-system]
|
|
41
|
-
requires = ["setuptools>=67", "wheel"]
|
|
37
|
+
requires = ["setuptools>=67", "wheel", "setuptools-scm>=8"]
|
|
42
38
|
build-backend = "setuptools.build_meta"
|
|
43
39
|
|
|
44
40
|
[tool.setuptools.packages.find]
|
|
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
|