Registry / http-networking / filestack-python

filestack-python

JSON →
library4.0.0pypypi✓ verified 35d ago

A Python SDK for the Filestack API, providing file upload, transformation, and delivery services. Version 4.0.0 is the latest major release with async support and reorganized client architecture. Releases are semi-regular with breaking changes between major versions.

http-networkingserializationaws
Install & Compatibility
Where this runs
tested against v4.0.0 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
py 3.103.95 runs
installs and imports cleanly · install 0.0s · import 0.816s · 21.6MB
glibc
py 3.103.95 runs
installs and imports cleanly · install 2.2s · import 0.690s · 22MB
20MB installed
● package 20MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

In v4, 'Client' is the primary class, imported from 'filestack' directly, not 'FilestackClient'.

from filestack import Client as FilestackClient
from filestack import Client

Initialize the client with your API key and upload a file.

import os from filestack import Client api_key = os.environ.get('FILESTACK_API_KEY', '') client = Client(api_key) # upload a file filelink = client.upload(filepath='path/to/file.pdf') print(filelink.url)
Debug
Known footguns
breakingv4 introduces a breaking change: the module structure changed. 'filestack' now exports 'Client' directly, replacing the old 'FilestackClient' from 'filestack-python' in v3.
gotchaThe upload method in v4 returns a Filelink object, not a dict. Accessing the URL requires .url attribute.
gotchaAPI key is required even for public uploads unless using a security policy. The Client constructor expects the API key as the first positional argument.
deprecatedv4 removed the 'Filestack' class and the 'filestack-python' top-level package. Use 'filestack' only.
Upgrade
Version history

Breaking-change detection hasn't run for this library yet.

Audit
Security & dependencies

CVE tracking and dependency tree are planned for a later release.

Agent activity
27 hits · last 30 days
gptbot
4
ahrefsbot
4
bytedance
4
amazonbot
3
claudebot
3
script
1
Resources