Project

nb_util

0.0
No commit activity in last 3 years
No release in over 3 years
about jupyter utils
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.16
~> 10.0
~> 3.0

Runtime

>= 0
>= 0
 Project Readme

Table of contents

  • Name
  • Summary
  • Installation
  • Usage
  • Uninstall
  • Development
  • Contributing
  • License
  • Code of Conduct

Name

nb_util

Summary

nb_util allows you to generate latex(tex) format from your jupyter notebook(ipynb) format.

This gem supplies to help when you use jupyter notebook.

what can it help me?

  1. Convert my_help to jupyter notebook(ipynb)
  2. Combine multiple jupyter notebook into one jupyter note book
  3. Extract data from jupyter notebook, then convert to the file format you extracted data.
  4. To see jupyter notbook's contents
  5. Convert jupyter notebook(ipynb) to latex(tex) format(thesis and handout(A4))

Installation

Add this line to your application's Gemfile:

gem 'nb_util'

And then execute:

$ bundle

Or install it yourself as:

$ gem install nb_util

To use this library:

require 'nb_util'

On your local system, run the following in your command line:

$ git clone git@github.com:EAGLE12/nb_util.git
$ cd nb_util
$ bundle update

Run the following in your command line:

$ bundle exec exe/nb_util
nb_util says hello, EAGLE !!
Commands:
  nb_util combine [input file1] [input file2] [output filename]  # combine file1 and file2
  nb_util getcode [filename]                                     # save in ruby format
  nb_util help [COMMAND]                                         # Describe available commands or one specific command
  nb_util iputs [filename]                                       # display ipynb file contents
  nb_util ipynb2tex [filename] [option]                          # convert ipynb to tex's thiesis format
  nb_util red WORD [OPTION]                                      # red words print.
  nb_util yaml2ipynb [input filename]                            # convert yaml to ipynb

Have a good life with nb_util!

Usage

$ nb_util
nb_util says hello, EAGLE !!
Commands:
  nb_util combine [input file1] [input file2] [output filename]  # combine file1 and file2
  nb_util getcode [filename]                                     # save in ruby format
  nb_util help [COMMAND]                                         # Describe available commands or one specific command
  nb_util iputs [filename]                                       # display ipynb file contents
  nb_util ipynb2tex [filename] [option]                          # convert ipynb to tex's thiesis format
  nb_util red WORD [OPTION]                                      # red words print.
  nb_util yaml2ipynb [input filename]                            # convert yaml to ipynb

Uninstall

$ gem uninstall nb_util

And then

You want to uninstall by filling number on it

Select gem to uninstall:
 1. nb_util-0.3.4
 2. nb_util-0.3.5
 3. nb_util-0.3.6
 4. nb_util-0.3.7
 5. nb_util-0.3.8
 6. nb_util-0.4.0
 7. All versions
> 7
Successfully uninstalled nb_util-0.3.4
Successfully uninstalled nb_util-0.3.5
Successfully uninstalled nb_util-0.3.6
Successfully uninstalled nb_util-0.3.7
Successfully uninstalled nb_util-0.3.8
Remove executables:
	nb_util

in addition to the gem? [Yn]  y
Removing nb_util
Successfully uninstalled nb_util-0.4.0

Development

After checking out the repo, run bin/setup to install dependencies. Then, run rake spec to run the tests. You can also run bin/console for an interactive prompt that will allow you to experiment.

To install this gem onto your local machine, run bundle exec rake install. To release a new version, update the version number in version.rb, and then run bundle exec rake release, which will create a git tag for the version, push git commits and tags, and push the .gem file to rubygems.org.

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/EAGLE12/nb_util. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.

  1. Fork it (https://github.com/EAGLE12/nb_util/fork)
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Added some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

License

The gem is available as open source under the terms of the MIT License.

Code of Conduct

Everyone interacting in the NbUtil project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.