Skip to main content

personal lib

Project description

personal python lib Build Status

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] 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使用了支持多级目录

Features

  1. Full test with traivis to make sure things are on rail.

Install and Run

Install via pip

  1. pip install xsthunder-python-lib or xsthunder-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

for conda

Ref

deployment - How can I use setuptools to generate a console_scripts entry point which calls python -m mypackage? - Stack Overflow

Packaging Python Projects — Python Packaging User Guide

notebook2script from course-v3/nbs/dl2 at master · fastai/course-v3

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

xsthunder-python-lib-0.0.1.tar.gz (4.7 kB view details)

Uploaded Source

Built Distribution

xsthunder_python_lib-0.0.1-py3-none-any.whl (3.1 kB view details)

Uploaded Python 3

File details

Details for the file xsthunder-python-lib-0.0.1.tar.gz.

File metadata

  • Download URL: xsthunder-python-lib-0.0.1.tar.gz
  • Upload date:
  • Size: 4.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4

File hashes

Hashes for xsthunder-python-lib-0.0.1.tar.gz
Algorithm Hash digest
SHA256 9844fcdd014dd4b943146601dba09d4366ad808b180fcbce0f91e1ef53ca1afd
MD5 c384c8f0e80d3a2391ef02019b5b2085
BLAKE2b-256 1f4203ccf99727a8ad2e46ed10625ed36c591f599d693e8841f7fbb21182d2aa

See more details on using hashes here.

File details

Details for the file xsthunder_python_lib-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: xsthunder_python_lib-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 3.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4

File hashes

Hashes for xsthunder_python_lib-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4dc4bd8a56091a9195d8a4b80a305163add67daa9178112a4d3e5b5b1cc076e2
MD5 6e54fe2c0ca82200f248565845125eff
BLAKE2b-256 f58efec2659df5a0081f406c3e4ed982c780f33376420837a158f606bcd8d5a4

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page