Skip to main content

Coreutils in Pure Python

Project description

What is this?

PyCoreutils is a pure Python implementation of various standard UNIX commands, like ‘ls’, ‘cp’ and ‘gzip’. It also contains sh.py, a shell-like environment which will make Unix-users feel right at home on the Windows command-prompt.

Now why you wanna go and do that?

  1. Fun!

  2. Have a Linux-like shell environment in Windows.

  3. Create a Python-only Linux distribution.

Requirements

PyCoreutils requires Python 2.6 or greater. It also works on Python 3.

Install

To install the last stable version, use:

pip install pycoreutils

or

easy_install pycoreutils

To install the latest development code, try:

pip install bzr+http://bazaar.launchpad.net/~hanz/pycoreutils/trunk

Downloads

Releases and documentation can be found at http://pypi.python.org/pypi/pycoreutils. The source code can be found at https://launchpad.net/pycoreutils.

Haven’t I seen this before?

David Cantrell also has a project with the same name at https://github.com/dcantrell/pycoreutils. His project is a little different in that it uses C-bindings, is GPL-licensed and is structured differently.

License

Copyright (c) 2009, 2010, 2011 Hans van Leeuwen. See LICENSE.txt for details.

Warning

This is alpha software, Not all the flags in the help-section are implemented, and some behave different than one might expect.

List of available commands

  • arch

  • base64

  • basename

  • bunzip2

  • bzip2

  • cal

  • cat

  • cd

  • chroot

  • chown

  • chroot

  • cp

  • crond

  • dirname

  • env

  • expand

  • gunzip

  • gzip

  • httpd

  • id

  • kill

  • ln

  • logger

  • ls

  • md5sum

  • mkdir

  • mktemp

  • mv

  • nl

  • pwd

  • rm

  • rmdir

  • sendmail

  • seq

  • sh

  • sha1sum

  • sha224sum

  • sha256sum

  • sha384sum

  • sha512sum

  • shred

  • shuf

  • sleep

  • smtpd

  • sort

  • tar

  • tee

  • touch

  • uname

  • wc

  • wget

  • whoami

  • yes

  • zip

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

pycoreutils-0.0.6a.tar.gz (28.2 kB view details)

Uploaded Source

File details

Details for the file pycoreutils-0.0.6a.tar.gz.

File metadata

  • Download URL: pycoreutils-0.0.6a.tar.gz
  • Upload date:
  • Size: 28.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pycoreutils-0.0.6a.tar.gz
Algorithm Hash digest
SHA256 c1c593510108fc8500366b61594a4cf829c515e1358ceacbfe9a9077f1d1029f
MD5 0b95a9adb033abfe6e68812e76a2ad03
BLAKE2b-256 2a52e66a56c74d3a6357519fe3fbc1a6d821b0373c4bcdea1592e9d316142ebf

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page