Registry / web-framework / openedx-django-pyfs

openedx-django-pyfs

JSON →
library4.0.0pypypiunverified

A Django integration for PyFilesystem that allows Django sites to use PyFilesystem filesystems (e.g., local, S3) for storage. Current version 4.0.0 drops Python 3.11 support and may have breaking changes from earlier versions. Releases are periodic, driven by Open edX maintenance.

pip install openedx-django-pyfs
INSTALL
IMPORT
SIG · OPENEDX-DJANGO-PYF
O
openedx-django-pyfs
web-frameworkpythonv4.0.0
Install
6.2s avg
Import
Disk
104MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.93.13
musl
3.93.13
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.000s · 100.9MB
glibc
py 3.103.95 runs
installs and imports cleanly · install 6.2s · import 0.000s · 101MB
104MB installed
● package 104MB
Code
Verified usage

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

PyfsConfiguredStorage
from djpyfs import PyfsConfiguredStorage
from djpyfs import PyfsConfiguredStorage

Set up a PyFilesystem storage backend for Django.

from django_pyfs import PyfsConfiguredStorage from django_pyfs.storage import create_storage # Use default configuration storage = PyfsConfiguredStorage() # Or with explicit settings storage = create_storage('s3', {'key': os.environ.get('AWS_ACCESS_KEY_ID', ''), 'secret': os.environ.get('AWS_SECRET_ACCESS_KEY', ''), 'bucket': 'my-bucket'})
Debug
Known issues
breakingDropped Python 3.11 support in v4.0.0. Python 3.12+ is required.
fix
Upgrade Python to 3.12 or later.
affects: >=4.0.0
deprecatedThe old boto backend was removed in v3.3.0. Use boto3 instead.
fix
Switch your S3 configuration to use the boto3 backend.
affects: >=3.3.0
gotchaIf you are upgrading from v2.x to v3.x, the default storage URL format changed. You may need to update your settings.
fix
Review the storage URL format in documentation.
affects: >=3.0.0 <=3.2.1
Upgrade
Version history
4.0.0latest on PyPI · released Mar 13, 2026
Audit
Dependencies
pyfilesystemrequiredCore filesystem abstraction.
DjangorequiredRequires Django framework.
Agent activity
18 hits · last 30 days
node
18
Resources
openedx-django-pyfs — pip install openedx-django-pyfs · libregistry