Skip to main content

Module buider with CI included

Project description

lemon-tools (Python Package Builder)

This package is a meta-package that provides python libs for projects and mainly lemon-make-package script.

lemon-make-package creates a python package template

Intall lemon_tools

pip intall lemon_tools

Create a your_pkg_name package

Use lemon-make-package to create a new python package:

  $ lemon-make-package -n new_pkg_name -d "New project package"
    => New python package new_pkg_name created
  $ cd new_pkg_name/
  $ git init; git add *; git commit -am 'initial commit'
  $ git tag -a 0.42 -m 0.42
  $ make clean

Check if __version__ is set:

  $ cd /tmp
  $ python -c 'import new_pkg_name; print (new_pkg_name.__version__)'
  0.42
  $

Check if new_pkg_name script works:

  $ (venv)user@machine:/tmp$ new_pkg_name-run
  new_pkg_name/data/data.csv.gz Loaded
  ==> out.csv MADE
      shape is (999, 142)
  (venv)user@machine:/tmp$ wc -l out.csv
  1000 out.csv
  (venv)user@machine:/tmp$

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

lemon-tools-1.0.1.tar.gz (124.5 kB view hashes)

Uploaded Source

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