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

IdleSpork

IdleSpork is an extension of python’s IDLE.

The main features include:

  • Background jobs
  • Running shell commands directly from IdleSpork
  • Getting help by typing “?”
  • Printing source code by typing “??”
  • Persistent history (across multiple sessions)
  • Spelling and import suggestions

Commands

IdleSpork supports the following commands:

  • jobs
  • kill
  • cd
  • open

To print help for a command, type “<command> -h”.

Control-Z (background jobs)

After running a jobs that takes a lot of time, you can press Control-Z. This will move your job to the background and return to the prompt immediately, with the same global scope (meaning all variables and functions are there). The following line will be printed:

**** [0] ....... - Background ****

The number [0] is the Job ID, you will need it to get the results of the job.

When your job is done, you will get the message:

**** [0]  Done ****

The command jobs gives you access to all the jobs you sent. Without arguments jobs will print all the running jobs. jobs -a prints all jobs (including the dead ones). jobs -o<jobid> prints the output of a job. The output of a job can be accessed using Jobs[jobid].getoutput(). The return value of your job (which is normally save into ‘_’) can be accessed using Jobs[jobid].ret.

The Jobs variable: this variable manages all jobs. Everything you can do using the commands, you can also do using this variable. If you lose this variable use can run: jobs -gJobs to restore it.

Shell Commands

IdleSpork gives you the ability to run shell programs directly from your python interpreter. For example, you can run ls, cat, sysinfo and so on. In order to run a command, type ‘!’ and then type your command. IdleSpork also allows you to store the output of a command into a variable. For example:

x = !ls -l

will store the results of ls -l into the variable x.

Note:

  • DON’T use this feature to run tty commands (vim, top, …).
  • Currently there is no input support for shell commands.
Release History

Release History

0.1.2

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
idlespork-0.1.2.tar.gz (236.2 kB) Copy SHA256 Checksum SHA256 Source May 14, 2016
idlespork-0.1.2.win32-py2.7.msi (426.0 kB) Copy SHA256 Checksum SHA256 2.7 Windows MSI Installer Jun 4, 2016

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