Skip to main content

No project description provided

Project description

Spike-starter

Build Status

Spike-starter is a tool that helps me on my experimentation workflow.

# Simple usage
spike-starter myproject
# This command will generate 20180410_0722__myproject

It will create a Spike directory :

  • the name of the Spike directory is automatically prefix with date and time to allow quick classification of experiments.

  • the Spike directory is initialized as git repository

Spikes are invention from Kent Beck in Extreme Programming (XP). It's a special type of story that is used to gain the knowledge necessary to reduce the risk of a technical approach.

Features

  • blueprint

Blueprint

It allow to use an existing directory as a reference.

# Generate a directory based on a template
spike-starter --template ~/template/java myproject
spike-starter -t ~/template/java myproject

Advanced usage

Use aliases to have shortcuts to your favorite blueprints

An alias may be use to generate a spike based on a specific blueprint already on your computer.

alias spike-starter-python='spike-starter -t ~/projects/0004-spikes_template/python_spike'
alias spike-starter-python3='spike-starter -t ~/projects/0004-spikes_template/python3_spike'

Installation

  1. install through pip
pip install spike-starter

After the installation, the command spike_starter can be used from anywhere on your system.

  1. install from the source
git clone https://github.com/FabienArcellier/spike-starter.git
cd spike-starter
pip install .

Contribute

Continuous integration process

A pull request must pass the continuous integration process to be merged on master.

make ci

Continuous deployment process

The automation task make deploy_current_version will trigger a deployment based on tag generation.

Travis.ci will deploy the current tagged version on PyPi.

List automation tasks

$make

cd                             run continuous deployment process on spike-starter
ci                             run continuous integration process on spike-starter
deploy_current_version         deploy the current spike-starter version through travis.ci
dist                           build distribution archives
help                           provides cli help for this make file (default)
install                        install python dependencies
lint                           run static analysis on spike-starter
tests_integrations             run only integrations testing on spike-starter
tests                          run automatic testing on spike-starter
venv                           build virtualenv in ./venv directory and install python dependencies

License

MIT License
-----------

Copyright (c) 2019 Fabien Arcellier
Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
files (the "Software"), to deal in the Software without
restriction, including without limitation the rights to use,
copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the
Software is furnished to do so, subject to the following
conditions:

The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
OTHER DEALINGS IN THE SOFTWARE.

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

spike_starter-0.0.8.tar.gz (4.3 kB view hashes)

Uploaded Source

Built Distribution

spike_starter-0.0.8-py3-none-any.whl (5.4 kB view hashes)

Uploaded Python 3

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