personal lib
Project description
personal python lib
last one see xsthunder/python-lib-old: useful python pieces of code
TODO
-
- [x] fix three version replicates, in
rebuild.cmd
,x_lib.__init__
,setup.py
- [x] fix three version replicates, in
-
- [x] create github repo
-
- [x] ex_command能用,默认目录就在jupyter目录下。即外部可以直接使用x_lib.common.ex_command
-
- [x] save_and_export_notebook使用了
./
就是本目录下要求一定有script;;解决方法是通过import而不是ex_command的方式保存文件
- [x] save_and_export_notebook使用了
-
- [x] save_and_export_notebook使用了支持多级目录
Features
- Full test with traivis to make sure things are on rail.
Install and Run
Install via pip
pip install xsthunder-python-lib
orxsthunder-python-lib --user
Use in Code
use for single file
nbe = common.NBExporter()
nbe('./pdb.ipynb', to='./')
use for projcet
clone xsthunder/jupyter_dev_template
Development
Environment Setup
Ref
Packaging Python Projects — Python Packaging User Guide
notebook2script
from course-v3/nbs/dl2 at master · fastai/course-v3
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for xsthunder-python-lib-0.0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9844fcdd014dd4b943146601dba09d4366ad808b180fcbce0f91e1ef53ca1afd |
|
MD5 | c384c8f0e80d3a2391ef02019b5b2085 |
|
BLAKE2b-256 | 1f4203ccf99727a8ad2e46ed10625ed36c591f599d693e8841f7fbb21182d2aa |
Close
Hashes for xsthunder_python_lib-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4dc4bd8a56091a9195d8a4b80a305163add67daa9178112a4d3e5b5b1cc076e2 |
|
MD5 | 6e54fe2c0ca82200f248565845125eff |
|
BLAKE2b-256 | f58efec2659df5a0081f406c3e4ed982c780f33376420837a158f606bcd8d5a4 |