Skip to main content

This is a temporary project while I wait for my langchain [pull-request](https://github.com/hwchase17/langchain/pull/5135) to be validated.

Project description

This is a more advanced integration of Google Drive with langchain.

Install

pip install langchain-googledrive

For debug

poetry install -with test
make test

Features:

Langchain component:

Fully compatible with Google Drive API

  • Manage file in trash
  • Manage shortcut
  • Manage file description
  • Paging with request GDrive list()
  • Multiple kind of template for request GDrive
  • Convert a lot of mime type (can be configured). The list is adjusted according to the packages availables
  • Can use only the description of files, without loading and conversion of the body
  • Lambda fine filter
  • Remove duplicate documents (in case of shortcut)
  • Add Url to documents (or part of documents like specific slide)
  • Use environment variable for reference an API tokens
  • Manage different king of strange state with Google File (absence of URL, etc.)
  • Use fully lazy strategy to save memory
  • Convert GDoc, GSheet and GSlide with differents modes
    • Extract text, bullet point, table, titles, links

langchain Pull-request

I couldn't get a pull-request accepted because the project is too big. Sorry for that.

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

langchain_googledrive-0.0.274.tar.gz (22.5 kB view details)

Uploaded Source

Built Distribution

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

langchain_googledrive-0.0.274-py3-none-any.whl (24.7 kB view details)

Uploaded Python 3

File details

Details for the file langchain_googledrive-0.0.274.tar.gz.

File metadata

  • Download URL: langchain_googledrive-0.0.274.tar.gz
  • Upload date:
  • Size: 22.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.12

File hashes

Hashes for langchain_googledrive-0.0.274.tar.gz
Algorithm Hash digest
SHA256 015423ce3d8f4e68976584a793e4d06d42431d35cc4eaa87ec1bb45216f61fc5
MD5 d87acb3292d21d363a16d115d050036b
BLAKE2b-256 fff1dcb1f4e6dc6cbff8edb7d7d061015e18451b5f3425010909e778975c52aa

See more details on using hashes here.

File details

Details for the file langchain_googledrive-0.0.274-py3-none-any.whl.

File metadata

File hashes

Hashes for langchain_googledrive-0.0.274-py3-none-any.whl
Algorithm Hash digest
SHA256 c480b5005b3233f87c5219351073580c25bd3ab07e0f383e2b9413ab87dcbcdc
MD5 68763f4b48deee3e121191d9fb7dfb48
BLAKE2b-256 3c587a2beb14991023a8d7dc6bc64e07758ccad84e97619845274c7c3ef978f7

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