Bigos - do stuff on file change
Use the on decorator to run tasks when matching files are modified:
from bigos import on, main
@on(r'^[^/]*/([^.][^/]*\/)*[^.][^/]*$')
def non_dotfile_task(ev):
print 'file event:', ev.path
if __name__ == '__main__':
main('.')
Use the backend to get the raw event stream:
from bigos.backend import generate_events
for event_list in generate_events():
print event_list
Installation
pip install bigos
Supported platforms
On modern Linux kernels bigos will use a ctypes inotify wrapper
Other systems are supported via a filesystem polling backend
License
Copyright (C) 2014 Paweł Stiasny
Bigos is released under the GNU General Public License, see COPYING for details.
Metadata
Release files for bigos 0.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| bigos-0.0.3.tar.gz | 16.6 kB | Without provenance | Details for bigos-0.0.3.tar.gz |
Release files / bigos-0.0.3.tar.gz
| Download URL | bigos-0.0.3.tar.gz |
|---|---|
| Size | 16.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3eb751eaee9cfc3f0c1caafa435400077cf475dbca5c359242c4211644eb8056
|
|
BLAKE2b-256 checksum How to use checksums |
cc73fa82c2a719eb1e13cf5203ae9786cbae1ce76114fe64c5a49affc9dbb925
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for bigos 0.0.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.