This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description

Yorick is a work in progress. Many of the features described here are not yet complete. Currently, only the basics of the construct and create-skeleton commands work.

Whenever you start a programming project (or a book, or anything you do that involves files on a computer), you often end up doing the same initial steps, without much variation.

Yorick allows you to automate this by creating “skeletons” - templates that you can “construct” to create a boilerplate project. In the process of constructing, a skeleton can prompt the user for variables (project name, for instance), and have those variables substituted appropriately into the skeleton.

A collection of skeletons for different types of projects is called a “closet”. Yorick automatically gives you a default closet to keep all of your own skeletons in, and the ability to add other people’s closets alongside it. You can keep your closet to yourself or open it up to the world on GitHub (a bit like dotfiles).

Installation

  1. You need to have Python installed. (If you’re not a Python programmer, don’t worry, you can create and use yorick skeletons without writing a single line of Python.)
    • If you use Linux or OS X, you probably already have it. Run python --version to make sure it’s version 2.7 - if not, upgrade.
  2. Run pip install yorick. (If you don’t have pip, run easy_install pip first.)

Usage

These are just usage examples to show you what the command line interface looks like. If you want to dive in, check out the docs on ReadTheDocs.

Create a new skeleton

$ yorick create-skeleton eggs
Constructing... Done.
You can now edit your skeleton at ~/.yorick/__default__/eggs/

$ my-favorite-editor ~/.yorick/__default__/eggs/

Construct a project from a skeleton

$ yorick construct eggs
Enter a name for your project.
project_name> spam
Constructing... Done.

$ find .
./spam/
./spam/__init__.py
./README.md

$ cat README.md
# spam

Insert a readme for spam here.

Share your skeletons with the world

$ cd ~/.yorick/__default__
$ git init .
$ git add .
$ git commit -m "Initial commit"
$ git origin add master https://github.com/joe/closet.git
$ git push -u origin master

Install closets from other people…

$ yorick install-closet fred https://github.com/fred/closet.git
Closet cloned to ~/.yorick/fred/

$ yorick update-closet fred
Updating... fred was already up to date.

…and use their skeletons

$ yorick construct fred.more_eggs
Enter a name for your project.
project_name> spam
Constructing... Done.

To Do

  • Pre- and post-construction scripts
    • In-skeleton
    • Global
Release History

Release History

0.1pre

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
yorick-0.1pre.tar.gz (5.3 kB) Copy SHA256 Checksum SHA256 Source Nov 16, 2012

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting