Coder Social home page Coder Social logo

nbvalidate's Introduction

nbvalidate

(editing this in for the n-th time:) Validate nbdev vs. requirements.

Sidenote: after adding functions to 00_core.ipynb and notebook2script() being executed there, the bove import failed like so: ModuleNotFoundError: No module named 'nbvalidate'. You have to adapt lib_name in settings.ini before. Every tiny litte bit like that adds to your reputation, fast.ai :(

This file will become your README and also the index of your documentation.

Install

pip install nbvalidate

How to use

All persistency will be in a fixed name folder ~/.nbvalidate below the user's home directory. Without this folder, the module will not work at all. Before using the package, ensure that this folder is in place:

ensure_dotfolder()
True

Sidenote: raises NameError: name 'Path' is not defined in nbvalidate/core.py in dotfolder(), while 00_core.ipynb tests fine. Wtf is this again?

Only deleting the generated nbvalidate folder and doing notebook2script() did the trick Can anything please just work in nbdev? I mean, I am willing to accept all sorts of architectural drawbacks like

  • no autocomplete and other IDE basics
  • no debugger
  • constant notebook/shell switch
  • bad templating

to get

  • automatic packaging
  • GitHub pages generation (oversold als "literate programming")
  • cool CI template

But these permanent mini-fails will likely kick nbdev out again. But maybe it's just distracting from the fact that the architectural issues are by far outweigthing the advantages.

nbvalidate's People

Contributors

turkishmaid avatar

Watchers

James Cloos avatar  avatar

nbvalidate's Issues

Requirements

  • build a package
  • shall contain executable
  • shall contain module data
  • installed locally

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.