rznpy


Namerznpy JSON
Version 0.1.0 PyPI version JSON
download
home_pagehttps://github.com/srv1n/rznpy
SummaryA client library for interacting with the Rzn Tauri application
upload_time2024-08-28 11:26:15
maintainerNone
docs_urlNone
authorYour Name
requires_python>=3.6
licenseNone
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # RZNPy: A Python Client for the Rzn Tauri Application
=====================================================

RZNPy is a lightweight Python client library designed to interact with the Rzn Tauri application. It provides a simple and intuitive interface to query and manage your local files and folders indexed by the Rzn app.

**What is Rzn?**
----------------

Rzn is a powerful tool that allows you to add folders on your local machine and automatically syncs data in those folders. It indexes all data into three types of indexes: keyword, BM25, and semantic search. You can choose your embedding model for the semantic index and set the required dimensions within the application. The app handles new files and folders added or removed, making it easy to manage your data.

**Features of RZNPy**
--------------------

RZNPy enables you to:

* Query data in specific indexes (keyword, BM25, semantic) or use the composite search to query all indexes together.
* Optionally use the re-ranking feature, which leverages open source re-ranker models to re-rank results.
* Perform fast search queries, even over thousands of documents.
* Interact with your local files while maintaining an index on selected documents.
* Use the library for local retrieval on your machines.

**Getting Started**
-------------------

To use RZNPy, you need to have the Rzn Tauri application installed and running on your machine. You can download the Rzn app from the [Reason homepage](https://rzn.ai).

**Installation**
--------------

To install RZNPy, run the following command in your terminal:

```
pip install rznpy
```

**Examples**
----------

Here are some examples to get you started with RZNPy:

### Initialize the Client

```python
from rznpy import RZNClient

client = RZNClient(host="localhost", port=9928)
```

### Get Projects

```python
projects = client.get_projects(offset=0, limit=10)
print(projects)
```

### Get Added Folders

```python
folders = client.get_added_folders()
print(folders)
```

### Get Folder Contents

```python
contents = client.get_folder_contents(parent_path="/path/to/your/folder")
print(contents)
```

### Search

```python
results = client.search(query="example query", search_type="composite", limit=10, rerank=True)
print(results)
```

**Feedback and Support**
-------------------------

For any feedback or support, please write to [feedback@rzn.ai](mailto:feedback@rzn.ai).

**License**
---------

RZNPy is licensed under the MIT License.



            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/srv1n/rznpy",
    "name": "rznpy",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.6",
    "maintainer_email": null,
    "keywords": null,
    "author": "Your Name",
    "author_email": "pypi@sarav.xyz",
    "download_url": "https://files.pythonhosted.org/packages/d8/d0/22b3e0ceced8f94961b9aabbc4494a625236f7b16938ad54d9dc9e7fb16a/rznpy-0.1.0.tar.gz",
    "platform": null,
    "description": "# RZNPy: A Python Client for the Rzn Tauri Application\n=====================================================\n\nRZNPy is a lightweight Python client library designed to interact with the Rzn Tauri application. It provides a simple and intuitive interface to query and manage your local files and folders indexed by the Rzn app.\n\n**What is Rzn?**\n----------------\n\nRzn is a powerful tool that allows you to add folders on your local machine and automatically syncs data in those folders. It indexes all data into three types of indexes: keyword, BM25, and semantic search. You can choose your embedding model for the semantic index and set the required dimensions within the application. The app handles new files and folders added or removed, making it easy to manage your data.\n\n**Features of RZNPy**\n--------------------\n\nRZNPy enables you to:\n\n* Query data in specific indexes (keyword, BM25, semantic) or use the composite search to query all indexes together.\n* Optionally use the re-ranking feature, which leverages open source re-ranker models to re-rank results.\n* Perform fast search queries, even over thousands of documents.\n* Interact with your local files while maintaining an index on selected documents.\n* Use the library for local retrieval on your machines.\n\n**Getting Started**\n-------------------\n\nTo use RZNPy, you need to have the Rzn Tauri application installed and running on your machine. You can download the Rzn app from the [Reason homepage](https://rzn.ai).\n\n**Installation**\n--------------\n\nTo install RZNPy, run the following command in your terminal:\n\n```\npip install rznpy\n```\n\n**Examples**\n----------\n\nHere are some examples to get you started with RZNPy:\n\n### Initialize the Client\n\n```python\nfrom rznpy import RZNClient\n\nclient = RZNClient(host=\"localhost\", port=9928)\n```\n\n### Get Projects\n\n```python\nprojects = client.get_projects(offset=0, limit=10)\nprint(projects)\n```\n\n### Get Added Folders\n\n```python\nfolders = client.get_added_folders()\nprint(folders)\n```\n\n### Get Folder Contents\n\n```python\ncontents = client.get_folder_contents(parent_path=\"/path/to/your/folder\")\nprint(contents)\n```\n\n### Search\n\n```python\nresults = client.search(query=\"example query\", search_type=\"composite\", limit=10, rerank=True)\nprint(results)\n```\n\n**Feedback and Support**\n-------------------------\n\nFor any feedback or support, please write to [feedback@rzn.ai](mailto:feedback@rzn.ai).\n\n**License**\n---------\n\nRZNPy is licensed under the MIT License.\n\n\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "A client library for interacting with the Rzn Tauri application",
    "version": "0.1.0",
    "project_urls": {
        "Homepage": "https://github.com/srv1n/rznpy"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "091b8c56448f92588854aeb575617e6fd22bd971a3a2d9b253851fe9c69667cf",
                "md5": "c71eebeec5e85fa27dfd9903a8c667a1",
                "sha256": "0225cc1c64661dab003db9ab6e8a981fb5411889168ff9b0fe341aeafc8427db"
            },
            "downloads": -1,
            "filename": "rznpy-0.1.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "c71eebeec5e85fa27dfd9903a8c667a1",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.6",
            "size": 2216,
            "upload_time": "2024-08-28T11:26:13",
            "upload_time_iso_8601": "2024-08-28T11:26:13.757257Z",
            "url": "https://files.pythonhosted.org/packages/09/1b/8c56448f92588854aeb575617e6fd22bd971a3a2d9b253851fe9c69667cf/rznpy-0.1.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "d8d022b3e0ceced8f94961b9aabbc4494a625236f7b16938ad54d9dc9e7fb16a",
                "md5": "2dbd62d72fd5a489f4c4ef6d2fc7779b",
                "sha256": "152487750e42e9a3cbaee361a0ca58139b6443c8b22e01e3a4ed7b8ab2861eb7"
            },
            "downloads": -1,
            "filename": "rznpy-0.1.0.tar.gz",
            "has_sig": false,
            "md5_digest": "2dbd62d72fd5a489f4c4ef6d2fc7779b",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.6",
            "size": 2299,
            "upload_time": "2024-08-28T11:26:15",
            "upload_time_iso_8601": "2024-08-28T11:26:15.390306Z",
            "url": "https://files.pythonhosted.org/packages/d8/d0/22b3e0ceced8f94961b9aabbc4494a625236f7b16938ad54d9dc9e7fb16a/rznpy-0.1.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-08-28 11:26:15",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "srv1n",
    "github_project": "rznpy",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "rznpy"
}
        
Elapsed time: 0.82288s