semvec/pypi-packages huggingface dataset:
geonode-profiles 0.2
A fork of Idios, to be customized for Geonode
License: BSD

=======================
geonode-profiles README
=======================

geonode-profiles is a fork of Idios, customized for GeoNode.

Idios is intended to be an extensible profile app designed to replace the
profiles apps in Pinax.

Documentation for Idios can be found at http://oss.eldarion.com/idios/docs/0.1/
amonpy 0.4.4
Python client for the Amon API
License: BSD
Keywords: amon,monitoring,logging,exception logging

==================
amonpy
==================

Amonpy is the Python client for Amon

===============
 Installation
===============


1. Install the package with ``pip install amonpy`` or alternatively you can  
download the tarball and run ``python setup.py install``


===============
 Configuration 
===============


:: 

    import amonpy
    amonpy.config.address = 'http://amonhost:port'

    amonpy.config.protocol = 'http|zeromq'


=========
 Usage 
=========

::
    
    import amonpy
    
    amonpy.log(message)
    amonpy.log(message, ['list', 'of', 'tags'])


    data = {
        'exception_class': '',
        'url': '',
        'backtrace': '',
        'enviroment': '',
        'data': ''

    }
    
    amonpy.exception(data)



================
 Django 
================

Using amonpy in Django is exactly the same as in every other python library. You can customize the config options 
by adding them somewhere in `settings.py`

:: 

    # in settings.py
    import amonpy
    amon.config.address = 'http://amonhost:port' 


To capture and log exceptions

:: 

   MIDDLEWARE_CLASSES = (        
    .....
    'amonpy.adapters.DjangoExceptionMiddleware'
    ) 

===============
 Requirements
===============


Python 2.6+

requests
quipu 0.1
Quipu
=======

Evaluate simple Python mathmatical and logical expressions

http://en.wikipedia.org/wiki/Quipu

An attempt to make a safe evaluator of a subset of Python expressions.

This is mostly a proof-of-concept for getting feedback, it has not been
thoroughly checked for safety, use at your own risk :)

It uses the Python ast module to parse the expression, but all evaluation is
done by walking the ast, it is not directly executed by the Python runtime.

Nosetests are provided below including coverage of supported and unsupported
operations.

Known security considerations:

The variables are expected to be simple primitive types. Providing functions
with unsafe effects, or variables where the operator implementations can have
unsafe effects is obviously unsafe.

Some operations may also take a lot of time or memory and DOS the process. 

Usage::

  import quipu
  result = quipu.evaluate('2 + 2')


See the list of "supported_expressions" in ``test_asteval.py`` for an example of
what operations are implemented.
License: BSD

Quipu
=======

Evaluate simple Python mathmatical and logical expressions

http://en.wikipedia.org/wiki/Quipu

An attempt to make a safe evaluator of a subset of Python expressions.

This is mostly a proof-of-concept for getting feedback, it has not been
thoroughly checked for safety, use at your own risk :)

It uses the Python ast module to parse the expression, but all evaluation is
done by walking the ast, it is not directly executed by the Python runtime.

Nosetests are provided below including coverage of supported and unsupported
operations.

Known security considerations:

The variables are expected to be simple primitive types. Providing functions
with unsafe effects, or variables where the operator implementations can have
unsafe effects is obviously unsafe.

Some operations may also take a lot of time or memory and DOS the process. 

Usage::

  import quipu
  result = quipu.evaluate('2 + 2')


See the list of "supported_expressions" in ``test_asteval.py`` for an example of
what operations are implemented.