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 details)

Uploaded Source

File details

Details for the file lemon-tools-1.0.1.tar.gz.

File metadata

  • Download URL: lemon-tools-1.0.1.tar.gz
  • Upload date:
  • Size: 124.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.8.1 pkginfo/1.8.0 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.6.0

File hashes

Hashes for lemon-tools-1.0.1.tar.gz
Algorithm Hash digest
SHA256 d4dd07de3a8dfd6794aace3460db321f6680f108418c453db180dd9e4675f7aa
MD5 e9080bd7cd79769a18f9172be4264603
BLAKE2b-256 efe976881802058aac37ca30a5ca840d827cc32302b8e8de3fd92e3bc9a95f43

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