Skip to main content

personal lib

Project description

personal python lib Build Status

legacy python lib see xsthunder/python-lib: useful python pieces of code

code and release

  1. code at xsthunder/xs_lib at dev

  2. update xs_lib/version.py at dev · xsthunder/xs_lib

  3. merge master and travis will deploy to pip

TODO

Features

  1. Full test with traivis to make sure things are on rail.
  2. list of function see doc

Install and Run

Install via xsthunder-python-lib · PyPI

  1. pip install xsthunder-python-lib or pip install xsthunder-python-lib --user

Use in Code

use for single ipynb file

export the ipynb file

import xs_lib.common as common
nbe = common.NBExporter()
nbe('./pdb.ipynb', to='./')

use for projcet

clone xsthunder/jupyter_dev_template

Development

Environment Setup

for conda

deps

  1. not all deps are necessary. only ipython are set in the setup.py/deps.
  2. xs_lib.common supports dynamic import. feel free to import.
  3. to import other modules, please install corresponding deps first or you may come across import error.
  4. It's recommanded to install all packages listed in create-env.sh

code structures

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

xs_lib-0.0.5.tar.gz (6.3 kB view details)

Uploaded Source

File details

Details for the file xs_lib-0.0.5.tar.gz.

File metadata

  • Download URL: xs_lib-0.0.5.tar.gz
  • Upload date:
  • Size: 6.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.0 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.3

File hashes

Hashes for xs_lib-0.0.5.tar.gz
Algorithm Hash digest
SHA256 69b89fc69b32f422846b122ba1d59b91ad78776e783ef2a5bc4b6a1a2a58177c
MD5 6bce4f328c445d939c78dfbd625da56f
BLAKE2b-256 62ec8f1b41084ae7771f9e22600ba9fc8c88d7f6e1c72f0183edb66a1da6b4e4

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