Skip to content

rabiloo/python-flysystem

Repository files navigation

Python Flysystem

Testing Latest Version Downloads Pypi Status Python Versions

About Flysystem

Flysystem is a file storage library for PHP. It provides one interface to interact with many types of filesystems. When you use Flysystem, you're not only protected from vendor lock-in, you'll also have a consistent experience for which ever storage is right for you.

Flysystem is created by Frank de Jonge and https://thephpleague.com/

Python Flysystem is a port of Flysystem for Python

Install

$ pip install flysystem

Usage

from flysystem.adapters.local import LocalFilesystemAdapter
from flysystem.filesystem import Filesystem


adapter = LocalFilesystemAdapter(".")
filesystem = Filesystem(adapter)

filesystem.file_exists("/tmp/hello.txt")

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

Special thanks to Frank de Jonge and Flysystem's maintainers.

License

The MIT License (MIT). Please see License File for more information.