https://github.com/seem/fastdaemon
Fast scripts using daemon mode
https://github.com/seem/fastdaemon
daemon developer-tools fastai parallel-processing python
Last synced: 12 months ago
JSON representation
Fast scripts using daemon mode
- Host: GitHub
- URL: https://github.com/seem/fastdaemon
- Owner: seeM
- License: apache-2.0
- Created: 2022-07-13T22:55:27.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-07-28T21:36:11.000Z (over 3 years ago)
- Last Synced: 2025-01-23T18:25:31.035Z (about 1 year ago)
- Topics: daemon, developer-tools, fastai, parallel-processing, python
- Language: Jupyter Notebook
- Homepage: https://seem.github.io/fastdaemon/
- Size: 335 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
fastdaemon
================
**NB: fastdaemon is experimental. Use it at your own risk!**
## Install
fastdaemon isn’t hosted on PyPI yet, but you can install it directly
from GitHub:
``` sh
pip install git+https://github.com/seem/fastdaemon.git
```
## How to use
**NB: fastdaemon is experimental. Use it at your own risk!**
Although fastdaemon is still under development, you can try using it to
run [`nbdev`](https://github.com/fastai/nbdev)’s git hooks.
First, serve `nbdev_clean`:
``` sh
fastdaemon_serve nbdev.clean:nbdev_clean 9998
```
Then update your `.gitconfig`:
``` ini
[filter "clean-nbs"]
clean = fastdaemon_client 9998 -- --stdin
smudge = cat
required = true
[diff "ipynb"]
textconv = fastdaemon_client 9998 -- --disp --fname
```