Skip to main content

squelette - skeleton generator

Project description

squelette - skeleton generator
=============================


Requirements
------------

Python 2.x or Python 3.x


Install
-------

# Build the virtualenv and install required modules,
# including this one in editable mode

# Python 3, using the venv module
0/make_venv3.sh

# Python 2, using virtualenv. Requires virtualenv to be installed
0/make_venv2.sh

. venv/bin/activate

or install with Pip

pip install squelette


Usage
-----

squelette LANGUAGE NAME DESCRIPTION

Python example

squelette python PACKAGENAME 'A new package'

# If squelette was used from its own virtual environment,
# deactivate it
deactivate

# Create and activate the new package's development environment
cd python_test
0/make_venv.sh
. venv/bin/activate

The new package will have two executable example scripts

# in setup.py under `scripts`
bin/hello-PACKAGENAME

# in setup.py under `console_scripts`
PACKAGENAME

Package commands

# Build the module
0/build.sh

# Register the built module with PyPI
# This is no longer required, and in fact seems to be
# broken as used here. Ignore this
0/register.sh

# Upload a new build to PyPI
0/upload.sh

# Delete all built files
0/clean.sh


Development
-----------

The version number read by both `setup.py` and the package `__init__.py`
is in

squelette/VERSION

The same command for generated modules apply to `squelette` itself

# This IPython config will set autoreload
ipython --config=0/ipython_config.py

The files under `venv/bin` generated by the module will have to be rebuilt
on changes, rebuild with

pip install -e .




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

squelette-0.0.9.tar.gz (12.9 kB view details)

Uploaded Source

Built Distribution

squelette-0.0.9-py2.py3-none-any.whl (17.7 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file squelette-0.0.9.tar.gz.

File metadata

  • Download URL: squelette-0.0.9.tar.gz
  • Upload date:
  • Size: 12.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.4

File hashes

Hashes for squelette-0.0.9.tar.gz
Algorithm Hash digest
SHA256 bf6ac5d09ce2d1d1362563eb1944b201999f924a872166402bede6964fdb8dc5
MD5 e36e9cc13a06d99d8b1c01b603049701
BLAKE2b-256 c8384718ff075c713264cd7fdec4f2177b3eca850dc7a95ddc42aff297745fe5

See more details on using hashes here.

File details

Details for the file squelette-0.0.9-py2.py3-none-any.whl.

File metadata

  • Download URL: squelette-0.0.9-py2.py3-none-any.whl
  • Upload date:
  • Size: 17.7 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.4

File hashes

Hashes for squelette-0.0.9-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 60c55b6330ef2f8ac32ba8605a5bbbc3d238bd1e7a907119c355eabce087c71d
MD5 a6c24bfc64e0015f900d9174d2ccb348
BLAKE2b-256 769d6254e6098e9f52dd2cd4619cebe9d677504cac84d4fc6fc02dc5b565e16a

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