Alp time tools
Project description
The Alp is a new unit meant for measuring time. To understand and use this unit, the program included in this distribution has been created. It’s both a command-line tool, named “alp”, and a Python module.
You can learn about the Alp unit and download documentation about it at http://metanohi.name/projects/alp/
License
Alp software is free software under the terms of the GNU General Public License version 3 (or any later version). The author of Alp software is Niels G. W. Serup, contactable at ngws@metanohi.name. This is version 0.1.1 of the program.
The libraries used by Alp software are GPL-compatible.
Installing
The Alp program and module is contained in a single file, alp.py. It is not necessary to install it, but it can make it easier to use the Alp software.
Way #1
Just run this (requires that you have python-setuptools installed):
# easy_install Alp
Way #2
Get the newest version of Alp at http://metanohi.name/projects/alp/ or at http://pypi.python.org/pypi/Alp
Extract the downloaded file and run this in a terminal:
# python setup.py install
Dependencies
Python 2.5+ is probably a requirement.
For formatting and control codes, Alp will attempt to use ncurses. If that fails, Alp will try to use the Python termcolor module, available at http://pypi.python.org/pypi/termcolor/, installable using $ sudo easy_install termcolor (released under the GPLv3+).
If present, Alp will also use the setproctitle Python module, available at http://pypi.python.org/pypi/setproctitle/, installable using $ sudo easy_install setproctitle (released under the New BSD License).
Using
When using the Alp software as a command-line tool, simply run alp. Run alp --help to see what options you can specify.
When using it as a module, just use import alp in your Python program. To learn how the Alp module works, run pydoc alp or python -c 'import alp; help(alp)'. There are also a couple of tests in the tests directory.
Developing
Alp software is written in Python and uses Git for branches. To get the latest branch, get it from gitorious.org like this:
$ git clone git://gitorious.org/Alp/alp.git
This document
Copyright (C) 2010 Niels G. W. Serup
Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved. This file is offered as-is, without any warranty.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file Alp-0.1.1.tar.gz
.
File metadata
- Download URL: Alp-0.1.1.tar.gz
- Upload date:
- Size: 21.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 76e29ed0f5d089a655a42f879c00d84afbd4cafc1b04957e6e643490bd3fee0d |
|
MD5 | 1e320cd502d0edec969b5c740a82c87b |
|
BLAKE2b-256 | 1a098751949e9643d7bdfdb38bd5c1a64b55a50aa507e393849b9fc6572be99c |