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)

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.2.tar.gz (5.5 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.2-py3-none-any.whl (5.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: revornix-0.0.2.tar.gz
  • Upload date:
  • Size: 5.5 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.2.tar.gz
Algorithm Hash digest
SHA256 8e123362f8ad583945b4dee313aa3117cf8e2d943276c85a0611857603050f09
MD5 fa547ee30510ed38c305d0d8d1a11fc3
BLAKE2b-256 d5b6d416eff2125cc7d2b986e3af8088ebce5fecd226ee71ec2d48336ffa1bde

See more details on using hashes here.

File details

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

File metadata

  • Download URL: revornix-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 5.5 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 0be9b1524361cc822cc0cc03ac6ec9f46d83e64c764d645975b68ed27dbdcfb7
MD5 6eed28477c542e0476f3c5338f48a20d
BLAKE2b-256 df65307aecbcd3f76a097640fabe83592d062e6eab91e76de9ab000b2f288210

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