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, 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.


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


To install the last stable version, use:

pip install pycoreutils


easy_install pycoreutils

To install the latest development code, try:

pip install bzr+


Releases and documentation can be found at The source code can be found at

Haven’t I seen this before?

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


Copyright (c) 2009, 2010, 2011 Hans van Leeuwen. Release under the MIT license. See LICENSE.txt for details.


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
  • cat
  • cd
  • chown
  • chroot
  • cp
  • dirname
  • env
  • false
  • gunzip
  • gzip
  • httpd
  • id
  • kill
  • ln
  • logger
  • ls
  • md5sum
  • mkdir
  • mktemp
  • mv
  • pwd
  • rm
  • rmdir
  • sendmail
  • seq
  • sha1sum
  • sha224sum
  • sha256sum
  • sha384sum
  • sha512sum
  • shred
  • shuf
  • smtpd
  • sleep
  • sort
  • tee
  • touch
  • uname
  • 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.5a.tar.gz (18.8 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page