Comments (11)
@themiurgo 0.2.7 is released!
from nbstripout.
Yes, good idea, shouldn't be hard to implement, will have a look.
from nbstripout.
@michaelaye I'd prefer to follow the GNU convention i.e. use --is-installed
.
Rather than printing a message I'd rather use the exit / status code i.e. 0 if installed, 1 if not installed, what do you think?
Maybe we could have another switch e.g. --status
to print a summary like you suggest, maybe also including details on the filter.
from nbstripout.
@michaelaye I have implemented the status code (without output). Any thoughts?
from nbstripout.
Thanks, I'd still like a version with a text output though. The whole idea of this is for non-hackers to be able to do this, and those most likely don't know anything about GNU exit codes.
from nbstripout.
This functionality is already documented in the README, but it's not yet present. Maybe it's worth removing from the current documentation until it's implemented and merged?
from nbstripout.
@themiurgo The feature is in master but not yet released. I'll implement the status functionality @michaelaye was asking for and cut a new release.
from nbstripout.
@michaelaye I've added a --status
command, please let me know if that is satisfactory and reopen this issue if not!
from nbstripout.
Okay, thanks. major issue i have recently is the performance though. everytime i go into a repo with lots of notebooks, it takes 5 seconds before i get my prompt back, which can be annoying...
I'm wondering if the official PreProcessor of the notebook tools is faster than your manual filtering?
from nbstripout.
@michaelaye Yes, speed is an issue indeed. Want to create an issue for it?
from nbstripout.
#33 ;)
from nbstripout.
Related Issues (20)
- Evaluate docshtest instead of cram
- Setting up the git filter using `.gitattributes` gives `Installation failed: git is not on path!` error HOT 5
- Allow stripping outputs from `init_cell` cells. HOT 4
- Can I use nbstripout in Github action as a test ? HOT 17
- `--dry-run` should exit non-0 if files would be updated HOT 1
- Should be agnosting on trailing blank lines HOT 9
- [Feature Request] Process Folders (Batch / Bulk) HOT 1
- Doesn't strip out pycharm metadata HOT 9
- New release HOT 2
- Replace cram with prysk HOT 2
- Read config from `setup.cfg` HOT 1
- Option to error on cell outputs exceeding `--max-size` HOT 4
- It is recommended to remove pytest-runnner from setup_requires in setup.py HOT 4
- Strip output_type=stderr only, with keep_output? HOT 4
- Possible nbstripout-fast integration HOT 6
- Prevent committing notebooks with errors in cell outputs HOT 6
- Specifying Python executable path in `nbstripout --install`
- 'nbstripout' is not recognized as an internal or external command, operable program or batch file. HOT 2
- Not compatible with `pre-commit-hooks/pretty-format-json` hook HOT 4
- `git config filter.nbstripout.extrakeys ` support for `attachments`? HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nbstripout.