semvec/pypi-packages huggingface dataset:
pyramid_soap 0.2
Soap for pyramid.
License: MIT
Keywords: web pyramid pylons soap soapbox

pyramid_soap
============

The **pyramid_soap** package adapts
`Soapbox <http://packages.python.org/Soapbox/index.html>`_
for pyramid framework, to build SOAP Web Services.

Source code at `<https://bitbucket.org/artgins/pyramid_soap>`_

Example
=======

::

    from pyramid_soap import SOAPService, SOAPVersion, xsd

    class GetStockPrice(xsd.ComplexType):
        company = xsd.Element(xsd.String, minOccurs=1)
        hora = xsd.Element(xsd.String)


    class StockPrice(xsd.ComplexType):
        price = xsd.Element(xsd.Integer)


    Schema = xsd.Schema(
        #Should be unique URL, can be any string.
        targetNamespace="http://127.0.0.1:8000/utsx/pid.xsd",
        #Register all complex types to schema.
        complexTypes=[GetStockPrice, StockPrice],
        elements={
            "getStockPrice": xsd.Element(GetStockPrice),
            "stockPrice": xsd.Element(StockPrice)
        }
    )


    soap_hello = SOAPService(
        targetNamespace="http://127.0.0.1:8000/utsx/pid.wsdl",
        location="http://127.0.0.1:8000/utsx",
        path="/utsx",
        schema=Schema,
        version=SOAPVersion.SOAP11)


    @soap_hello.api(soapAction="GetStockPrice", input="getStockPrice",
                    output="stockPrice", operationName="GetStockPrice")
    def get_stock_price(request, gsp):
        print gsp.company
        print gsp.hora
        return StockPrice(price=139)


License
=======
pyramid_soap is released under terms of The MIT
License `MIT <http://www.opensource.org/licenses/mit-license>`_.

Copyright (c) 2012, Ginés Martínez Sánchez <ginsmar@artgins.com>
django-elements 0.1.1
Enhanced Markdown editing for Django projects.
License: MIT
Keywords: django markdown macros

This application is designed to provide an easy way to embed arbitrary objects
into textual content.  Text is written in `Markdown`_ and objects can be inserted,
as either inline or block-level elements, using a simple `Trac-like macro`_
syntax.  For more details check out the `docs`_.

.. _Markdown: http://daringfireball.net/projects/markdown/
.. _Trac-like macro: http://trac.edgewall.org/wiki/WikiMacros
.. _docs: http://readthedocs.org/docs/django-elements/en/latest/