filelib-python
Official python package for Filelib API
Installation
pip install filelibpy
This will install the library to your python environment.
This will also create a command that you can use in your terminal via filelib
Utilizing Filelib Python library
filelibpy provides multiple components that allows you to customize your integration.
Acquiring Access Token
Access_token must be present in the request headers to be allowed to reach API endpoints
Authentication happens via a JWT sent out in the request headers
Customer does not sign/generate the JWT
Client creates this JWT using PyJWT package.
Client object takes API Key/Secret to generate the JWT payload and signature.
Client can be passed the Key/Value either from a credentials file or from environment variable.
if credentials file set to use for Key/Value, the default value is:
~/.filelib/credentials
this value can be changed at Customer's discretion:
from filelib import Client
client = Client(credentials_source='credentials_file', credentials_path='path_to_credentials_file')
Credentials file must be in the following format:
[filelib]
filelib_api_key=561b788b-2aed-47bd-ac89-0b090ff70a75
filelib_api_secret=7cea6848-6eb4-470c-b0d0-f2850c3b670a
If Customer would like to use environment variables to pass Key/Value
Environment Variables must be as follows:
FILELIB_API_KEY={YOUR_API_KEY}
FILELIB_API_SECRET={YOUR_API_SECRET}
TODO: Dev Notes
- Allow to endpoint to be configurable to enable local dev testing
- Do not make any requests until upload is initiated
Metadata
Release files for filelibpy 0.0.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| filelibpy-0.0.8.tar.gz | 26.4 kB | Without provenance | Details for filelibpy-0.0.8.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| filelibpy-0.0.8-py3-none-any.whl | Python 3 | none | any | Details for filelibpy-0.0.8-py3-none-any.whl |
Total release size: 46.1 kB
Release files / filelibpy-0.0.8.tar.gz
| Download URL | filelibpy-0.0.8.tar.gz |
|---|---|
| Size | 26.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
785b720d3913e4d1c57f8aa70eda99f9fb20e7fbc6252e94c1d553010b46754d
|
|
BLAKE2b-256 checksum How to use checksums |
5b06f8939063ba7e088d97b5f5671e64908b2a73fca17660da2faa554ff5bc13
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.12.3
|
Release files / filelibpy-0.0.8-py3-none-any.whl
| Download URL | filelibpy-0.0.8-py3-none-any.whl |
|---|---|
| Size | 19.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
072b1d0132e4a6788f8c268616a627ad04cd018c4b5e0c036c88876ea737dd5b
|
|
BLAKE2b-256 checksum How to use checksums |
453636a39a7035f1ca7994e4bafca03d9728df94e83794eb886577441779019d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.12.3
|
Security for filelibpy 0.0.8
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.