semvec/pypi-packages huggingface dataset:
ps_tree 0.0.1.post0
JQuery tree structure in pyramid_sacrud or anywhere else.
License: MIT

|Build Status| |Coverage Status| |PyPI|

ps_tree
=======

`ps_tree` is extension for `pyramid_sacrud
<https://github.com/ITCase/pyramid_sacrud/>`_ which displays a list of records
as tree. This works fine with models from `sqlalchemy_mptt
<https://github.com/ITCase/sqlalchemy_mptt/>`_.

.. image:: https://cdn.rawgit.com/ITCase/ps_tree/master/docs/source/_static/tree.png
   :alt: tree

Look how easy it is to use:

.. code-block:: python

   from pyramid_pages.models import BaseSacrudMpttPage

   Base = declarative_base()
   DBSession = scoped_session(sessionmaker(extension=ZopeTransactionExtension()))

   class PageTree(Base, BaseSacrudMpttPage):
       __tablename__ = 'pages'

       id = Column(Integer, primary_key=True)

.. code-block:: python

   config.include('ps_tree')
   config.registry.settings['ps_tree.models'] = (PageTree, )
   config.include('pyramid_sacrud', route_prefix='admin')
   config.registry.settings['pyramid_sacrud.models'] = ('', PageTree)

For more docs see http://ps-tree.rtfd.org

Support and Development
=======================

To report bugs, use the `issue tracker
<https://github.com/ITCase/ps_tree/issues>`_

We welcome any contribution: suggestions, ideas, commits with new futures,
bug fixes, refactoring, docs, tests, translations etc

If you have question, contact me sacrud@uralbash.ru or IRC channel #sacrud

License
=======

The project is licensed under the MIT license.

.. |Build Status| image:: https://travis-ci.org/ITCase/ps_tree.svg?branch=master
   :target: https://travis-ci.org/ITCase/ps_tree
.. |Coverage Status| image:: https://coveralls.io/repos/ITCase/ps_tree/badge.png?branch=master
   :target: https://coveralls.io/r/ITCase/ps_tree?branch=master
.. |PyPI| image:: http://img.shields.io/pypi/dm/ps_tree.svg
   :target: https://pypi.python.org/pypi/ps_tree/
cm 0.1a2
Commandline Magic
License: MIT

Commandline Magic
=================

This module will present simplest mechanism for working with command line options and arguments.


Example of the usage bellow:

.. code-block:: python

    import cm
    from cm.options.path import base
    from cm.options.db import port, name


    port.type = int
    port.default = 10
    port.help = "Lolwat"
    base.help = "Base path"

    if __name__ == '__main__':
        cm.parse_command_line()

and try to run it ``$ python test.py --help``

.. code-block::

    List of available program options:
    Group "db"
        --db-port       Lolwat [default: "10"]
        --db-name


    Group "path"
        --path-base     Base path
fpastebin 1.0.1
A tool to upload text to http://paste.fedoraproject.org/
License: MIT

=========
fpastebin
=========

This a tool to paste any text to http://paste.fedoraproject.org/.

Make a git clone and start using right away. Or you can install it on your system using pip.

::

    $ sudo pip install fpastebin

Usage
-----

::

    Usage:
    $ fpastebin -h               Show this help.
    $ fpastebin --help           Show this help.
    $ <command> | fpastebin      Paste the <command output> online.
    $ fpastebin <path_to_file>   Paste the file data online.
    Examples:
    $ cat data.txt | fpastebin   Paste the 'data.txt' online.
    $ ifconfig | fpastebin       Paste 'ifconfig' output data online.
    $ fpastebin data.txt         Paste the 'data.txt' online.