semvec/pypi-packages huggingface dataset:
ohmr 0.1.0
Ids for guru meditation.
License: BSD

====
ohmr
====

.. image:: https://travis-ci.org/bninja/ohmr.png
   :target: https://travis-ci.org/bninja/ohmr

.. image:: https://coveralls.io/repos/bninja/ohmr/badge.png
   :target: https://coveralls.io/r/bninja/ohmr

For generating, encoding and managing runtime trace ids. These are typically
used to link side-effects:

- db records
- search documents
- log entries
- ...

for things like debugging, auditing, isolation, etc.

Get it like:

.. code:: bash

   $ pip install ohmr

First create a tracer e.g. like:

.. code:: python

    import coid
    import ohmr
    
    trace = ohmr.Tracer(coid.Id(prefix='OHM-'))
    
Then use it, most likely at session begin/resume points, e.g. like:

.. code:: python

    import flask

    app = flask.Flask('krazy_eyez_killah')
    
    @app.before_request
    def set_trace_id()
        trace.reset()
django-oscar-easyrec 0.0.9
easyrec recommendations module for django-oscar
License: BSD
Keywords: Recommendation,easyrec

================================
Easyrec package for django-oscar
================================

This package provides integration with the recommendation system, `easyrec`_.  It is designed to
integrate seamlessly with the e-commerce framework `django-oscar`_.

.. _`easyrec`: http://easyrec.org/
.. _`django-oscar`: https://github.com/tangentlabs/django-oscar

Continuous integration status:

.. image:: https://travis-ci.org/snowball-one/django-oscar-easyrec.svg?branch=master
    :target: https://travis-ci.org/snowball-one/django-oscar-easyrec

.. image:: https://coveralls.io/repos/snowball-one/django-oscar-easyrec/badge.png?branch=master
    :target: https://coveralls.io/r/snowball-one/django-oscar-easyrec

Getting started
===============

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

From PyPI::

    pip install django-oscar-easyrec

or from Github::

    pip install git+git://github.com/snowball-one/django-oscar-easyrec.git#egg=django-oscar-easyrec

Add ``'easyrec'`` to ``INSTALLED_APPS``.

You will also need to install

Instructions for installing Easyrec can be found on `easyrec's sourceforge wiki`_

.. _`easyrec's sourceforge wiki`: http://easyrec.sourceforge.net/wiki/index.php?title=Installation_Guide


Full documentation is available at `Read the Docs`_

.. _`Read the Docs`: https://django-oscar-easyrec.readthedocs.org/en/latest/
kairios 0.4.1
utilities for publishing events as a calendar
License: BSD

kairios
=======

.. image:: https://img.shields.io/travis/eldarion/kairios.svg
    :target: https://travis-ci.org/eldarion/kairios

.. image:: https://img.shields.io/coveralls/eldarion/kairios.svg
    :target: https://coveralls.io/r/eldarion/kairios

.. image:: https://img.shields.io/pypi/dm/kairios.svg
    :target:  https://pypi.python.org/pypi/kairios/

.. image:: https://img.shields.io/pypi/v/kairios.svg
    :target:  https://pypi.python.org/pypi/kairios/

.. image:: https://img.shields.io/badge/license-BSD-blue.svg
    :target:  https://pypi.python.org/pypi/kairios/

Provides utilities for publishing events as a calendar.

At the moment, it just provides a visual calendar (both large and small)
showing which days have events and optionally linking to a day detail page.


Usage
-----

::

    {% load kairios_tags %}

    ...

    {% calendar events %}


where ``events`` implements the following protocol:

``events.day_url(year, month, day, has_event, **kwargs)``
  return a link to the page for the given day or None if there is not to
  be a day link. ``has_event`` is a boolean telling this method whether
  there is an event on the day or not so you can choose whether a day
  without an event should link or not.

``events.month_url(year, month, **kwargs)``
  return a link to the page for the given month or None if there is not
  to be a month link.

``events_by_day(year, month, **kwargs)``
  return a dictionary mapping day number to a list of events on that day.

Note that all methods take additional key-word arguments that can be used in
the calculation of the return value.