The python package for Revornix API.
Project description
Revornix-Python-Lib
The python package for Revornix API.
📕 API Document: revornix/api
Full Docker App
https://github.com/Qingyon-AI/Revornix
Introduction
🚀 RoadMap: RoadMap
🖥️ Official Website: https://revornix.com
❤️ Join our community: Discord | WeChat | QQ
Installation
pip install revornix
Usage
Create Document Label
from revornix import Session, Schema
session = Session(base_url='YOUR_API_PREFIX', api_key='YOUR_API_KEY');
data = Schema.DocumentSchema.LabelAddRequest(
name="test"
)
res = session.create_document_label(data=data)
Create Section Label
from revornix import Session, Schema
session = Session(base_url='YOUR_API_PREFIX', api_key='YOUR_API_KEY');
data = Schema.SectionSchema.LabelAddRequest(
name="test"
)
res = session.create_section_label(data=data)
Create Section
from revornix import Session, Schema
session = Session(base_url='YOUR_API_PREFIX', api_key='YOUR_API_KEY');
data = Schema.SectionSchema.SectionCreateRequest(
title="test",
description="test",
public=False,
cover_id=1,
labels=[]
)
res = session.create_section(data=data)
Get Mine All Document Labels
from revornix import Session
session = Session(base_url='YOUR_API_PREFIX', api_key='YOUR_API_KEY');
res = session.get_mine_all_document_labels()
Create Quick Note Document
from revornix import Session, Schema
session = Session(base_url='YOUR_API_PREFIX', api_key='YOUR_API_KEY');
data = Schema.DocumentSchema.QuickNoteDocumentParameters(
content="test",
sections=[],
auto_summary=False
)
res = session.create_quick_note_document(data=data)
Create Website Document
from revornix import Session, Schema
session = Session(base_url='YOUR_API_PREFIX', api_key='YOUR_API_KEY');
data = Schema.DocumentSchema.WebsiteDocumentParameters(
url="https://www.google.com",
sections=[],
auto_summary=False
)
res = session.create_website_document(data=data)
Create File Document
from revornix import Session, Schema
session = Session(base_url='YOUR_API_PREFIX', api_key='YOUR_API_KEY');
data = Schema.DocumentSchema.FileDocumentParameters(
file_name="demo",
sections=[],
auto_summary=False
)
res = session.create_file_document(data=data)
Contributors
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
revornix-0.0.5.tar.gz
(5.8 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file revornix-0.0.5.tar.gz.
File metadata
- Download URL: revornix-0.0.5.tar.gz
- Upload date:
- Size: 5.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bda7c4632ec7f3d27cdcbc688d9427254be8f6ac9ffcbb03b7f504ffbb70f14b
|
|
| MD5 |
481c289b079839c70adaedbe76f48a3b
|
|
| BLAKE2b-256 |
5a7a3b0049d3ced4ac3de2064e9a8b6f73038d064d9b85167c1a4c085902a559
|
File details
Details for the file revornix-0.0.5-py3-none-any.whl.
File metadata
- Download URL: revornix-0.0.5-py3-none-any.whl
- Upload date:
- Size: 5.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
046909dadd29ba54f7b33dfd59836db92fd97d4de9a69fe1f7a91129eba225eb
|
|
| MD5 |
7fda9f33e4f540c7649351d2860cfa57
|
|
| BLAKE2b-256 |
3b8f4816df2396cd7afe4442a719620c48d17dd21aa95df0a88ea26a83ebf327
|