root/dev/: dmse-1.1.1 metadata and description

Simple index Newer version available

Search Service for Darsman Academy

author Ellnamin
author_email ellnamin.business@gmail.com
requires_dist
  • grpcio==1.62.1
  • grpcio-tools==1.62.1
  • protobuf==4.25.3
  • setuptools==69.1.1
  • annotated-types==0.6.0
  • pydantic==2.7.0
  • pydantic-core==2.18.1

Because this project isn't in the mirror_whitelist, no releases from root/pypi are included.

File Tox results History
dmse-1.1.1-py3-none-any.whl
Size
6 KB
Type
Python Wheel
Python
3
  • Uploaded to root/dev by root 2025-07-21 09:00:05
dmse-1.1.1.tar.gz
Size
5 KB
Type
Source
  • Uploaded to root/dev by root 2025-07-21 09:00:05
# Darsman Search Library

## Requirements

- Python (== 3.10)
- grpcio-tools (>=1.62.1)

## Installation

Run the following command using pip:

```bash
pip install dmse
```

## Sample code

```python
import asyncio
from dmse import IndexedContent, ResponseCodeError
from typing import List

indexed_content = IndexedContent()

async def main():
try:
create_response = await indexed_content.create_blog(
title="rust",
content="rust is a programming lang",
item_identifier="rest_blog_id", # should be str or UUID
keywords=["rust", "programming language"], # optional, can skip or pass a list
)
print(create_response)
except ResponseCodeError as err:
print(err)

search_response = await indexed_content.search_blog(search_phrase="rust")
print(search_response)

asyncio.run(main())

```


Render warnings:
<string>:18: (WARNING/2) Inline literal start-string without end-string.