Skip to main content

The python package for Revornix API.

Project description

Revornix-Python-Lib

The python package for Revornix API.

📕 API Document: revornix/api

Ask DeepWiki

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

session = Session(base_url='YOUR_API_PREFIX', api_key='YOUR_API_KEY');
data = document_schema.LabelAddRequest(
    name="test"
)
res = session.create_document_label(data=data)

Create Section Label

from revornix import Session

session = Session(base_url='YOUR_API_PREFIX', api_key='YOUR_API_KEY');
data = section_schame.LabelAddRequest(
    name="test"
)
res = session.create_section_label(data=data)

Create Section

from revornix import Session

session = Session(base_url='YOUR_API_PREFIX', api_key='YOUR_API_KEY');
data = section_schame.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

session = Session(base_url='YOUR_API_PREFIX', api_key='YOUR_API_KEY');
data = document_schema.QuickNoteDocumentParameters(
    content="test",
    sections=[],
    auto_summary=False
)
res = session.create_quick_note_document(data=data)

Create Website Document

from revornix import Session

session = Session(base_url='YOUR_API_PREFIX', api_key='YOUR_API_KEY');
data = document_schema.WebsiteDocumentParameters(
    url="https://www.google.com",
    sections=[],
    auto_summary=False
)
res = session.create_website_document(data=data)

Create File Document

from revornix import Session

session = Session(base_url='YOUR_API_PREFIX', api_key='YOUR_API_KEY');
data = document_schema.FileDocumentParameters(
    file_name="demo",
    sections=[],
    auto_summary=False
)
res = session.create_file_document(data=data)

Contributors

Project details


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.3.tar.gz (5.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

revornix-0.0.3-py3-none-any.whl (5.7 kB view details)

Uploaded Python 3

File details

Details for the file revornix-0.0.3.tar.gz.

File metadata

  • Download URL: revornix-0.0.3.tar.gz
  • Upload date:
  • Size: 5.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.11

File hashes

Hashes for revornix-0.0.3.tar.gz
Algorithm Hash digest
SHA256 c2a87ee66c1a2539724e1feb9d57b6646231659b7be859632a3ecda9343f4af8
MD5 093462726d983a4ef2ce665e7fd9b03e
BLAKE2b-256 7e2c4ec7bbc97f30c7ddc635ae972611a340a9bfff3244ff097187642381b4ab

See more details on using hashes here.

File details

Details for the file revornix-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: revornix-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 5.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.11

File hashes

Hashes for revornix-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 d47421a6b7a1cf434fe31f66326e33301edda6acb7c6b87a72848cabde106596
MD5 273c0486856bc21eb1f825cb3c7cce36
BLAKE2b-256 d8a1b51ba9c3eef876588840d49b2310312952748ffd8ae8fce684b8f926ca38

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page