fsquery-0.3.0
توضیحات
File System Query. Working with the file system is too verbose. Let's make it more like JQuery.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | fsquery-0.3.0 |
| نام | fsquery |
| نسخه کتابخانه | 0.3.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Phil Jones |
| ایمیل نویسنده | interstar@gmail.com |
| آدرس صفحه اصلی | https://github.com/interstar/FSQuery |
| آدرس اینترنتی | https://pypi.org/project/fsquery/ |
| مجوز | MIT |
File System Query.
Working with the file system is too verbose.
FSQuery provides a way of thinking about the file system inspired by JQuery.
An FSQuery is created from a particular director with a number of terms added as modifiers.
A simple example :
from fsquery import FSQuery
fsq = FSQuery("/home/myaccount").NoFollow(".git").Ext(".py").FileOnly()
for n in fsq :
print(n.abs)
This FSQuery searches all directories under /home/myaccount, except directories with ".git" in their name.
It matches files with a ".py" extension. And the FileOnly() suppresses returning directories.
See more documentation on the [README on GitHub](https://github.com/interstar/FSQuery).
نحوه نصب
نصب پکیج whl fsquery-0.3.0:
pip install fsquery-0.3.0.whl
نصب پکیج tar.gz fsquery-0.3.0:
pip install fsquery-0.3.0.tar.gz