https://github.com/flipeador/python-everything-sdk
EveryThing SDK.
https://github.com/flipeador/python-everything-sdk
everything python python3 sdk windows
Last synced: 10 months ago
JSON representation
EveryThing SDK.
- Host: GitHub
- URL: https://github.com/flipeador/python-everything-sdk
- Owner: flipeador
- License: unlicense
- Created: 2020-11-11T16:57:29.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2021-06-26T13:30:42.000Z (about 5 years ago)
- Last Synced: 2025-04-05T05:24:54.069Z (about 1 year ago)
- Topics: everything, python, python3, sdk, windows
- Language: Python
- Homepage:
- Size: 21.5 KB
- Stars: 15
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Python-EveryThing-SDK
https://www.voidtools.com/support/everything/sdk/
```py
everything = Everything()
# sets the search options
everything.set_search('everything')
everything.set_request_flags(Request.FullPathAndFileName|Request.DateModified|Request.Size)
# starts the search
if not everything.query():
raise Exception(everything.get_last_error())
# prints all results
for item in everything:
print(
item.get_filename(),
f'Size: {item.get_size()} Bytes',
f'Modified date: {item.get_date_modified()}',
'', sep='\n'
)
```