polign-db 0.7.0__py3-none-win_amd64.whl
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.
- polign_db/__init__.py +35 -0
- polign_db/py.typed +0 -0
- polign_db-0.7.0.data/scripts/polign-server.exe +4 -0
- polign_db-0.7.0.data/scripts/polign.exe +4 -0
- polign_db-0.7.0.dist-info/METADATA +78 -0
- polign_db-0.7.0.dist-info/RECORD +8 -0
- polign_db-0.7.0.dist-info/WHEEL +4 -0
- polign_db-0.7.0.dist-info/licenses/LICENSE +72 -0
polign_db/__init__.py
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"""The polign_db binaries, installed by pip.
|
|
2
|
+
|
|
3
|
+
The wheel puts ``polign`` (the CLI) and ``polign-server`` into the
|
|
4
|
+
environment's scripts directory, next to ``python`` itself, so an activated
|
|
5
|
+
environment has both on ``PATH``. ``find_bin`` is for code that runs without
|
|
6
|
+
an activated environment, such as ``/srv/app/.venv/bin/python worker.py``.
|
|
7
|
+
"""
|
|
8
|
+
|
|
9
|
+
from __future__ import annotations
|
|
10
|
+
|
|
11
|
+
import os
|
|
12
|
+
import sys
|
|
13
|
+
import sysconfig
|
|
14
|
+
|
|
15
|
+
__version__ = "0.7.0"
|
|
16
|
+
|
|
17
|
+
BINARIES = ("polign", "polign-server")
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
def find_bin(name: str = "polign") -> str:
|
|
21
|
+
"""Absolute path of an installed binary, ``polign`` or ``polign-server``."""
|
|
22
|
+
if name not in BINARIES:
|
|
23
|
+
raise ValueError(f"unknown binary {name!r}; this package installs {', '.join(BINARIES)}")
|
|
24
|
+
exe = name + (".exe" if sys.platform == "win32" else "")
|
|
25
|
+
candidates = [os.path.join(sysconfig.get_path("scripts"), exe)]
|
|
26
|
+
# `pip install --user` uses a different scheme from the interpreter's own.
|
|
27
|
+
user_scheme = sysconfig.get_preferred_scheme("user") if sys.version_info >= (3, 10) else None
|
|
28
|
+
if user_scheme:
|
|
29
|
+
candidates.append(os.path.join(sysconfig.get_path("scripts", scheme=user_scheme), exe))
|
|
30
|
+
# `pip install --target` puts scripts in <target>/bin next to the package.
|
|
31
|
+
candidates.append(os.path.join(os.path.dirname(os.path.dirname(os.path.abspath(__file__))), "bin", exe))
|
|
32
|
+
for path in candidates:
|
|
33
|
+
if os.path.isfile(path):
|
|
34
|
+
return path
|
|
35
|
+
raise FileNotFoundError(f"{exe} is not installed where pip puts scripts; looked in {', '.join(candidates)}")
|
polign_db/py.typed
ADDED
|
File without changes
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: polign_db
|
|
3
|
+
Version: 0.7.0
|
|
4
|
+
Summary: The polign_db server and CLI binaries, installable with pip
|
|
5
|
+
Author: Polign
|
|
6
|
+
License-Expression: LicenseRef-Polign-Software-License
|
|
7
|
+
License-File: LICENSE
|
|
8
|
+
Keywords: polign,vector database,agent memory,recall
|
|
9
|
+
Project-URL: Homepage, https://polign.com
|
|
10
|
+
Project-URL: Documentation, https://polign.com/developers.html
|
|
11
|
+
Project-URL: Repository, https://github.com/Polign/polign
|
|
12
|
+
Project-URL: Issues, https://github.com/Polign/polign/issues
|
|
13
|
+
Classifier: Development Status :: 4 - Beta
|
|
14
|
+
Classifier: Intended Audience :: Developers
|
|
15
|
+
Classifier: Programming Language :: Go
|
|
16
|
+
Classifier: Topic :: Database :: Database Engines/Servers
|
|
17
|
+
Requires-Python: >=3.9
|
|
18
|
+
Description-Content-Type: text/markdown
|
|
19
|
+
|
|
20
|
+
# polign_db
|
|
21
|
+
|
|
22
|
+
The [polign_db](https://polign.com/polign-db.html) server and command-line
|
|
23
|
+
client, packaged so that pip can install them.
|
|
24
|
+
|
|
25
|
+
```bash
|
|
26
|
+
pip install polign_db
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
This puts two programs into your environment, next to `python`:
|
|
30
|
+
|
|
31
|
+
| Program | What it is |
|
|
32
|
+
|---|---|
|
|
33
|
+
| `polign-server` | The database server |
|
|
34
|
+
| `polign` | The CLI: put, get, search, and the `polign mcp` server that Recall uses |
|
|
35
|
+
|
|
36
|
+
They are the same binaries as the
|
|
37
|
+
[GitHub release](https://github.com/Polign/polign/releases) with the same
|
|
38
|
+
version number. Wheels exist for Linux (x86_64 and arm64, glibc and musl),
|
|
39
|
+
macOS 12 or newer (Apple silicon and Intel), and Windows (x86_64 and arm64).
|
|
40
|
+
Nothing is compiled and nothing is downloaded at install time or at run time.
|
|
41
|
+
|
|
42
|
+
## Start a server
|
|
43
|
+
|
|
44
|
+
```bash
|
|
45
|
+
polign-server -store fs:./polign-data
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
That serves HTTP on `http://localhost:23000` and keeps its data in
|
|
49
|
+
`./polign-data`. Use `s3://bucket/prefix`, `gcs://` or `az://` instead of
|
|
50
|
+
`fs:` to store into a bucket. [Get started](https://polign.com/developers.html)
|
|
51
|
+
covers the rest.
|
|
52
|
+
|
|
53
|
+
## Find the binaries from Python
|
|
54
|
+
|
|
55
|
+
An activated environment has both programs on `PATH`. Code that runs without
|
|
56
|
+
activation, such as `/srv/app/.venv/bin/python worker.py`, can ask for the path:
|
|
57
|
+
|
|
58
|
+
```python
|
|
59
|
+
import polign_db
|
|
60
|
+
|
|
61
|
+
polign_db.find_bin("polign") # /srv/app/.venv/bin/polign
|
|
62
|
+
polign_db.find_bin("polign-server")
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
## Which package do I want?
|
|
66
|
+
|
|
67
|
+
| Package | What it installs |
|
|
68
|
+
|---|---|
|
|
69
|
+
| `polign_db` | The server and CLI binaries (this package) |
|
|
70
|
+
| [`polign`](https://pypi.org/project/polign/) | The Python client for a running server |
|
|
71
|
+
| [`polign-recall`](https://pypi.org/project/polign-recall/) | Typed agent memory; depends on this package |
|
|
72
|
+
| [`recall-livekit`](https://pypi.org/project/recall-livekit/) | Recall memory for LiveKit voice agents |
|
|
73
|
+
|
|
74
|
+
## License
|
|
75
|
+
|
|
76
|
+
The binaries are free to use under the polign_db Software License, which is
|
|
77
|
+
included in the wheel as `LICENSE`. The packaging script in this directory is
|
|
78
|
+
Apache-2.0 like the rest of the repository.
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
polign_db/__init__.py,sha256=Dw7i_jBaKHTfPRd_HeAw_6ZvP_fnHogngF6DLSFgMrw,1544
|
|
2
|
+
polign_db/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
3
|
+
polign_db-0.7.0.data/scripts/polign.exe,sha256=mBo02htvvjEvLhVWa38le8D7UljXkCkOg7N8obetDr0,46315008
|
|
4
|
+
polign_db-0.7.0.data/scripts/polign-server.exe,sha256=cwSAbUvM0NFBn5WtNSsfkA__T0ZwNWoXY6Nc8dbJjaY,48726528
|
|
5
|
+
polign_db-0.7.0.dist-info/METADATA,sha256=2IcV-nkfxwZp9Vv2h8vdJT-dqmuxbIjRkPkLAC3uB_8,2763
|
|
6
|
+
polign_db-0.7.0.dist-info/WHEEL,sha256=JWDhEJNkRpHtxvewyrgmZlga6-V9iOplLviSulKzhac,100
|
|
7
|
+
polign_db-0.7.0.dist-info/licenses/LICENSE,sha256=ZinXyhRL3WlQ-p1T1GMiOzNGctQKIo4OBUAdgHwE8Ak,3012
|
|
8
|
+
polign_db-0.7.0.dist-info/RECORD,,
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
polign_db Software License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Polign, Inc. All rights reserved.
|
|
4
|
+
|
|
5
|
+
polign_db and its accompanying documentation (the "Software") are proprietary
|
|
6
|
+
software of Polign, Inc. ("Polign"). The Software is licensed, not sold.
|
|
7
|
+
|
|
8
|
+
1. License grant
|
|
9
|
+
|
|
10
|
+
For each release of the Software that you receive with this license file,
|
|
11
|
+
Polign grants you a non-exclusive, non-transferable, perpetual, and
|
|
12
|
+
irrevocable license, at no charge and with no limit on nodes, machines, data,
|
|
13
|
+
or queries, to:
|
|
14
|
+
|
|
15
|
+
(a) install and run that release, including in production;
|
|
16
|
+
(b) make the copies reasonably needed to install, run, back up, and deploy
|
|
17
|
+
it on infrastructure you control or that is operated on your behalf;
|
|
18
|
+
and
|
|
19
|
+
(c) use it to build and operate your own applications and services,
|
|
20
|
+
including services that your customers use.
|
|
21
|
+
|
|
22
|
+
Your employees, affiliates, and contractors may exercise these rights on your
|
|
23
|
+
behalf. You are responsible for their compliance with this license.
|
|
24
|
+
|
|
25
|
+
2. No license key or activation
|
|
26
|
+
|
|
27
|
+
The Software does not require a license key, license file, activation, or any
|
|
28
|
+
connection to Polign. You do not need a separate agreement with Polign to use
|
|
29
|
+
the Software under this license.
|
|
30
|
+
|
|
31
|
+
3. Restrictions
|
|
32
|
+
|
|
33
|
+
Except as applicable law expressly permits, you may not:
|
|
34
|
+
|
|
35
|
+
* sell, sublicense, rent, lease, publish, or otherwise distribute the
|
|
36
|
+
Software to anyone else;
|
|
37
|
+
* offer a hosted or managed service whose main purpose is to give third
|
|
38
|
+
parties access to the Software's database features;
|
|
39
|
+
* modify the Software or create derivative works of it, other than through
|
|
40
|
+
its documented configuration and interfaces;
|
|
41
|
+
* reverse engineer, decompile, or disassemble the Software; or
|
|
42
|
+
* remove or alter any proprietary notice in the Software.
|
|
43
|
+
|
|
44
|
+
4. Later releases
|
|
45
|
+
|
|
46
|
+
Polign may publish later releases under different terms. The terms for each
|
|
47
|
+
release are the license file shipped with that release. Later terms never
|
|
48
|
+
reduce the rights this license grants for a release you already have.
|
|
49
|
+
|
|
50
|
+
5. Paid services
|
|
51
|
+
|
|
52
|
+
Support agreements, hosted services, and other paid offerings from Polign are
|
|
53
|
+
provided under separate written agreements. They add to this license and do
|
|
54
|
+
not replace or narrow it.
|
|
55
|
+
|
|
56
|
+
6. Reserved rights
|
|
57
|
+
|
|
58
|
+
No rights are granted to the Software's source code. No trademark, patent, or
|
|
59
|
+
other license is granted by implication, estoppel, or otherwise. Polign
|
|
60
|
+
reserves all rights not expressly granted. Third-party components included
|
|
61
|
+
with the Software are governed by their own licenses.
|
|
62
|
+
|
|
63
|
+
7. No warranty and limitation of liability
|
|
64
|
+
|
|
65
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
66
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
67
|
+
FITNESS FOR A PARTICULAR PURPOSE, AND NONINFRINGEMENT. IN NO EVENT SHALL
|
|
68
|
+
POLIGN BE LIABLE FOR ANY CLAIM, DAMAGES, OR OTHER LIABILITY, WHETHER IN AN
|
|
69
|
+
ACTION OF CONTRACT, TORT, OR OTHERWISE, ARISING FROM, OUT OF, OR IN
|
|
70
|
+
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
71
|
+
|
|
72
|
+
Questions: legal@polign.com
|