Skip to main content

M-Files API wrapper

Project description

Python wrapper around the M-Files API.

Enables search, upload, download and creation of objects in M-Files vaults. When authentication is needed credentials are fetched from environment variables MFILES_USER and MFILES_PASS. If they are not set the credentials are fetched from user input using input() and get_pass(). To supply credentials programatically you can call the login() method with username and password before using the API, and all subsequent calls will be authenticated with the same token.

M-Files property IDs for all object types are abstracted, so you can upload a Document using upload_file() with object_type="Document" and correct IDs will be fetched from the server.

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

mfiles-0.2.tar.gz (1.9 kB view details)

Uploaded Source

File details

Details for the file mfiles-0.2.tar.gz.

File metadata

  • Download URL: mfiles-0.2.tar.gz
  • Upload date:
  • Size: 1.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.6.8

File hashes

Hashes for mfiles-0.2.tar.gz
Algorithm Hash digest
SHA256 9a273d6e82194d22fd1c5ce8682b44b7fed49b26d63e61d9be0404abdcdf073c
MD5 a3723aace2307557068e4e3979f075c7
BLAKE2b-256 fb9ea205c96390e09167116e329184322d13aea2a106313098203f5cec4e13f7

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