Skip to main content

[under development] A framework to manage shell commands' inputs/outputs as relational data.

Project description

relshell
~~~~~~~~

.. image:: https://travis-ci.org/laysakura/relshell.png?branch=master
:target: https://travis-ci.org/laysakura/relshell

A framework to manage shell commands' inputs/outputs as relational data.

For developers
==============

API documents
-------------

Sphinx-powered documents are available on http://packages.python.org/relshell


Building and uploading documents
--------------------------------

.. code-block:: bash

$ ./setup.py build_sphinx
$ browser doc/html/index.html
$ ./setup.py upload_sphinx

Testing
-------

.. code-block:: bash

$ ./setup.py nosetests
$ browser htmlcov/index.html # check coverage

Uploading packages to PyPI
--------------------------

.. code-block:: bash

$ emacs setup.py # edit `version` string
$ emacs CHANGES.txt
$ ./setup.py sdist upload


TODO
====

- relshellプロセス ===(thread)===> シェルオペレータ ===(fork)===> シェルコマンドプロセス という流れを作る(Queueもいるね)
- shellstreaming/README.rst にあるような感じで,batchをop間でやりとりできるようにする
- シェルプロセスは非同期でも扱いたい.そもそもpopenとかがそういうインターフェースだし.

- デバッグオプションをonにしたらどんな動作しているのかくらい出力してあげたい

- daemonizeできる条件
- in_batchをstdinからとり,out_batchを(stdout|file)に出す
- 「in_batch_xに対する出力分out_batch_xがここまでですよ」と定義できる(例えば,空行はout_batch_xの終わりですよ,とか)
- enjuには使える

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

relshell-0.1.0.tar.gz (17.2 kB view details)

Uploaded Source

File details

Details for the file relshell-0.1.0.tar.gz.

File metadata

  • Download URL: relshell-0.1.0.tar.gz
  • Upload date:
  • Size: 17.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for relshell-0.1.0.tar.gz
Algorithm Hash digest
SHA256 fbf0ae40db45cfffc040cf79409a38be5044340c6e29b9d087776d21d93bdf08
MD5 f68302277efc9314a7d1e7dbf96a42ad
BLAKE2b-256 d3395ffa81e57f01ca17c2ccab1fd47c52a9f92c1529d87936c16a54d37a1c8a

See more details on using hashes here.

Supported by

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