semvec/pypi-packages huggingface dataset:
opencl-for-python 0.5.2
Open CL Python bindings
License: BSD

Welcome to OpenCL for Python's documentation!
===============================================

This is yet another set of Python bindings for OpenCL.


.. warning:: This project currently is in a beta release state. 


Features:
+++++++++++

* Python 2 and Python 3 compatibility.
* Supports OpenCL 1.1 
* Discoverable properties and methods:
    No more **ctx.get_info(pyopencl.context_info.DEVICES)** just do **ctx.devices** 
* Tight integration with `ctypes <http://docs.python.org/library/ctypes.html>`_::
    
    import opencl as cl
    from ctypes import c_float
    ctx =  cl.Context()
    a = cl.empty(ctx, [2, 3], ctype=c_float)
     
* Call kernels like a python function with defaults and keyword arguments::
    
    import opencl as cl
    from ctypes import c_float, c_int
    
    source = '__kernel void foo(__global float*a, int b, float c) ...'
    ...
    # Create a program and context
    
    foo = program.foo
    foo.argnames = 'a', 'b', 'c'
    foo.argtypes = cl.global_memory(c_float, ndim=2), c_int, c_float
    # Equivalent to def foo(a, b=1, c=2.0):
    foo.__defaults__ = 1, 2.0
    
    event = foo(queue, a)
    
* Memory objects support indexing and slicing::
    
    mem2 = memobj[:, 1, :-1]
    
Links:
+++++++++++

* `Homepage <http://srossross.github.com/oclpb/>`_
* `Issue Tracker <https://github.com/srossross/oclpb/issues/>`_


* `Development documentation <http://srossross.github.com/oclpb/develop/>`_
* `PyPi <http://pypi.python.org/pypi/opencl-for-python/>`_
* `Github <https://github.com/srossross/oclpb/>`_
* `OpenCL 1.1 spec <http://www.khronos.org/registry/cl/specs/opencl-1.0.29.pdf>`_

* Also please check out `CLyther <http://srossross.github.com/Clyther>`_
mdxflavours 1.0
Markdown extensions for basic syntax flavoring.
License: BSD
Keywords: markdown,extensions

====================
Available extensions
====================

At the moment 2 extensions available:

	1. autobr - for converting line breaks to br-tags
	2. autolink - for automatically converting urls to links

============
Installation
============

Get source from GitHub_::

	$ git clone git://github.com/05bit/python-mdxflavours.git

and add mdxflavours to PYTHONPATH::

    $ export PYTHONPATH=$PYTHONPATH:$(pwd)/mdxflavours/

or::

    $ cd mdxflavours
    $ python setup.py install

Note: importing package ``mdxflavours`` automatically adds required
path to system paths.

=====
Usage
=====

Example for auto line breaks::

	>>> import markdown
	>>> markdown.markdown(u'And may the force  \nbe with you!') # no extension
	>>> u'<p>And may the force<br />\nbe with you!</p>'
	>>> markdown.markdown(u'And may the force\nbe with you!', extensions=['autobr'])
	>>> u'<p>And may the force<br />\nbe with you!</p>'

.. _GitHub: https://github.com/05bit/python-mdxflavours
Clyther 0.4-beta
OpenCL Python integration
License: BSD

Welcome to Clyther's documentation!
===================================

CLyther is a Python tool similar to Cython and PyPy. CLyther is a just-in-time specialization engine for OpenCL. 
The main entry points for CLyther are its :class:`clyther.task` and :class:`clyther.kernel` decorators.
Once a function is decorated with one of these the function will be compiled to OpenCL when called. 

CLyther is a Python language extension that makes writing OpenCL code as easy as Python itself. 
CLyther currently only supports a subset of the Python language definition but adds many new features to OpenCL. 

CLyther exposes both the OpenCL C library as well as the OpenCL language to python.

Objectives:
    * Make it easy for developers to take advantage of OpenCL
    * Take advantage existing Python numerical algorithms
    * Accelerate my code!


Philosophy:
    * Enable users to have 100% control via Python. Access one to one mapping from Python to OpenCL.
    * Endorse native Python abstractions for convenience. e.g. Slice an array, pass a function as an argument.

.. warning::
    
    This is a brand new version of CLyther. I have not released this yet. 
    
    * If you do decide to use it then please think about :ref:`contribute`.
    * The best place to add your input to the `Issue Tracker <https://github.com/srossross/Clyther/issues/>`_.
    
Links:
+++++++++++

* `Homepage <http://srossross.github.com/Clyther/>`_
* `Issue Tracker <https://github.com/srossross/Clyther/issues/>`_

* `Development documentation <http://srossross.github.com/Clyther/develop/>`_
* `PyPi <http://pypi.python.org/pypi/Clyther/>`_
* `Github <https://github.com/srossross/Clyther/>`_
* `OpenCL 1.1 spec <http://www.khronos.org/registry/cl/specs/opencl-1.1.pdf>`_

.. seealso::
    
    * `OpenCL for Python <http://srossross.github.com/oclpb>`_: Python bindings for OpenCL.
    * `Meta <http://srossross.github.com/meta>`_: Metaprogramming utilities for Python.
django-notes 0.2.2
A simple reusable app to add notes to various models
License: BSD

django-notes
=============

A simple application to allow you to attach notes to models.

Installation
-------------

Notes uses generic relations to handle attaching themselves to models. So installation is basically just like adding a generic relation item to your model.

1. Add 'notes' to your INSTALLED_APPS variable
2. Import the Note model:

        from notes.models import Note

3. Add the note inline to your model's admin def in your admin.py file:

        from notes.admin import NoteInline

        class YourModelAdmin(admin.ModelAdmin):
            inlines = [ NoteInline, ]
        
4. To enable easy management you can add a hook to your model:

        notes=generic.GenericRelation(Note)

Usage
------
Follow the steps above (including 4) and you should have access to all the notes at instance_of_yourmodel.notes_set.all():

    >>> object = YourModel.objects.get(pk=1)
    >>> notes_for_object = object.notes_set.all()

Simple.