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.
.. contents:: :local:
For users
---------
Unfortunately, `relshell` is not documented so well yet.
See `relshell/test/test_practical_use_*.py <https://github.com/laysakura/relshell/blob/master/relshell/test/>`_ as well as
`API reference <http://packages.python.org/relshell>`_ .
For developers
--------------
API reference
#############
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.rst
$ ./setup.py sdist upload
Or use `zest.releaser <https://pypi-hypernode.com/pypi/zest.releaser>`_, a convenient tool for repeated release cycles.
TODO (ugly Japanese)
####################
- 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には使える
========
.. 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.
.. contents:: :local:
For users
---------
Unfortunately, `relshell` is not documented so well yet.
See `relshell/test/test_practical_use_*.py <https://github.com/laysakura/relshell/blob/master/relshell/test/>`_ as well as
`API reference <http://packages.python.org/relshell>`_ .
For developers
--------------
API reference
#############
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.rst
$ ./setup.py sdist upload
Or use `zest.releaser <https://pypi-hypernode.com/pypi/zest.releaser>`_, a convenient tool for repeated release cycles.
TODO (ugly Japanese)
####################
- 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
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
relshell-0.2.5.zip
(31.6 kB
view details)
File details
Details for the file relshell-0.2.5.zip
.
File metadata
- Download URL: relshell-0.2.5.zip
- Upload date:
- Size: 31.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3b5e0132d7a80eca5bd7830a6ac8f1d18146b0f3485ab2c60b03e60b29dfe7b7 |
|
MD5 | e68f6009af29e9eac58096445a278bb0 |
|
BLAKE2b-256 | d69cbb75d32c09706eff010dd1270dad89ca9972e1da98a940c5e0e788a27718 |