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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for revornix-0.0.4.tar.gz
Algorithm Hash digest
SHA256 04c4fbd1d6249c465e1db4b1776abf17e4c121465bec1aa90c25711586523b48
MD5 be33f83a63b149211618060087d80b5f
BLAKE2b-256 b8888b8ea5d0d708000d5ccc177eb9f9752efafdb266fdcf7be5c00e580afb80

See more details on using hashes here.

File details

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

File metadata

  • Download URL: revornix-0.0.4-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.12.4

File hashes

Hashes for revornix-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 ef28ec76acdaa9a537f0825e9951c57a5176c45d991fc6b4d40fac55c46e4900
MD5 a01cff8b362707fb5bdadb2afdfc17d5
BLAKE2b-256 80b4d8cc7f04ae935c5442a5c2a1c64e4cf38fa26b827465fc86bec1d817712a

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