root/dev/: dmbc-1.3.1 metadata and description
Blog center for Darsman Academy
| author | Ellnamin |
| author_email | ellnamin.business@gmail.com |
| metadata_version | 2.1 |
| requires_dist |
|
Because this project isn't in the mirror_whitelist,
no releases from root/pypi are included.
| File | Tox results | History |
|---|---|---|
dmbc-1.3.1-py3-none-any.whl
|
|
|
dmbc-1.3.1.tar.gz
|
|
# Darsman Blog
## Requirements
- Python (== 3.10)
- grpcio-tools (>=1.62.1)
## Installation
Run the following command using pip:
```bash
pip install dmbc
```
## Sample code
```python
import asyncio
from dmbc import Blog
blog = Blog(host='localhost', port=50051)
# Get one blog using its identifier
asyncio.run(
blog.fetch_one(
identifier="b2f6c8e2-7e3a-4cb3-a58e-ef4e3f893708",
)
)
# Get all blogs
asyncio.run(blog.fetch_all(order_by="title", page_size=1, page_number=1))
```
Render warnings:
<string>:18: (WARNING/2) Inline literal start-string without end-string.
## Requirements
- Python (== 3.10)
- grpcio-tools (>=1.62.1)
## Installation
Run the following command using pip:
```bash
pip install dmbc
```
## Sample code
```python
import asyncio
from dmbc import Blog
blog = Blog(host='localhost', port=50051)
# Get one blog using its identifier
asyncio.run(
blog.fetch_one(
identifier="b2f6c8e2-7e3a-4cb3-a58e-ef4e3f893708",
)
)
# Get all blogs
asyncio.run(blog.fetch_all(order_by="title", page_size=1, page_number=1))
```
Render warnings:
<string>:18: (WARNING/2) Inline literal start-string without end-string.