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 different 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.281.tar.gz (22.9 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.281-py3-none-any.whl (24.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: langchain_googledrive-0.0.281.tar.gz
  • Upload date:
  • Size: 22.9 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.281.tar.gz
Algorithm Hash digest
SHA256 6150d864363f0ded2daffcd1b724e89b62d538559f0f259a555c3340a026f519
MD5 52d552215ad61f04d9c51b0fc8282c1a
BLAKE2b-256 498109a837175865df52558ce5bfbb3311e98d181ce2739526d3ebfdbbfb519e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for langchain_googledrive-0.0.281-py3-none-any.whl
Algorithm Hash digest
SHA256 729bf7be2af2227fde13e57dd239c2f86dc16fd5dfa210033dc9eeb941973ee6
MD5 e4cafcc4881b4d574b63dbbceb01c33f
BLAKE2b-256 ee49793cc0276c42d2aa950b0ff846ed21a454562d6f383648832ce4aaa013a7

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