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

some usefull scripts for various purpouses

rename:do recursive rename of files, directories and all its content (does not work on ms windows)
run:run specified command in multiple directories

rename

call rename.sh wrapper for git repositories, it moves .git dir away, performs all renames, moves .git dir back and creates commit:

./scripts/rename.sh \
  djangobaselibrary=yournewsupercoollibrary \
  django-base-library=your-new-super-cool-library \
  "Django Base Library=You New Super Cool Library"

each param is one rename pattern.

run

you can either pass arguments directly:

./scripts/run 'git checkout master' ./first-repo/ /tmp/second-repo/ ~/third-repo/

or define some replacements in runcommand.py, which will be evaluated. it is found in actual directory:

# beginnig of runcommand.py
import os.path

MY_DIRS = (
    './first-repo',
    '/tmp/second-repo',
    os.path.expanduser('~/third-repo/'),
)

my_command = 'git checkout master'

# end of runcommand.py

than call:

./scripts/run my_command MY_DIRS

you can define as many variables as you want, and there are two special names _cmd and _ALL, which are taken if no params are given:

# beginnig of runcommand.py
import os.path

MY_DIRS = (
    './first-repo',
    '/tmp/second-repo',
    os.path('~/third-repo/'),
)

my_command = 'git checkout master'

_ALL = MY_DIRS
_cmd = my_command

# end of runcommand.py

so, if you now call:

./scripts/run

now all three script calls are equivalent

Release History

Release History

0.1.4

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

0.1.3

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

0.1.2

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

0.1.1

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
KviPyTools-0.1.4.zip (8.4 kB) Copy SHA256 Checksum SHA256 Source Jul 12, 2010

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS 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