Do you find yourself searching for files in your daily work? I am one of them. This pyfiledb is a simple way to mark a file path with an arbitrary hashtag, just like YouTube or Instagram. You can search for files by adding any hashtag to the file's path.
It has three interfaces (API, CLI, and GUI), and all of them are completely free.(MIT License)
Install pyfiledb.
>python setup.py install
append adds file information, and search allows hash searches.
>>> from pyfiledb import pyfiledb
>>>> filedb = pyfiledb()
>>> filedb.append('xxx/yyy/zzz.txt', '#hash1#hash2')
>>>> filedb.search('#hash2')
{'xxx/yyy/zzz.txt': '#hash1#hash2'}
>>> filedb.close()
INSTALL pyfiledb.
>python setup.py install
Add file information with append.
> pyfiledb-cli add
path: xxx/yyyy/zzz.txt
hashs: #hash1#hash2
search to search for hashes
> pyfiledb-cli search
hashs: #hash1
-[0]-------------
path: xxx/yyyy/zzz.txt
hashs: #hash1#hash2
Windows exe zip file. https://github.com/100func/pyfiledb/releases/tag/0.5.3
- Ability to delete profiles of registered files.
- Ahead-Of-Time compilation of CLI and GUI
- Optimization of search algorithm
- Support for with statements