semvec/pypi-packages huggingface dataset:
lomapy 0.4.4
Lomapy
License: MIT
Keywords: lomapy,lomadee

# Lomapy

[![Version](https://img.shields.io/pypi/v/lomapy.svg?style=flat)](https://pypi.python.org/pypi/lomapy)
[![Python Version](https://img.shields.io/pypi/pyversions/lomapy?style=flat)](https://pypi.python.org/pypi/lomapy)
[![License](https://img.shields.io/github/license/AlanTaranti/Lomapy)](LICENSE)
[![Documentação](https://readthedocs.org/projects/lomapy/badge/?version=latest)](https://lomapy.readthedocs.io/en/latest/?badge=latest)
[![Build](https://travis-ci.org/AlanTaranti/Lomapy.svg?branch=master)](https://travis-ci.org/AlanTaranti/Lomapy)
[![Coverage Status](https://coveralls.io/repos/github/AlanTaranti/Lomapy/badge.svg?branch=master)](https://coveralls.io/github/AlanTaranti/Lomapy?branch=master)

## O que é esse o projeto?

É uma biblioteca **não oficial** que disponibiliza um interface em python para a API de Afiliados do Lomadee.
O Lomapy é compatível com versão 3 da API da Lomadee.

## Requisitos

- Python 3.5+
- Linux, Windows, Mac OSX ou BSD

## Como instalar e utilizar esse projeto? 

### Instalação
    
    pip install lomapy
    
### Começo Rápido

Segue um exemplo de como utilizar essa biblioteca.

*Não possui um APP_TOKEN ou SOURCE_ID? Consulte a documentação da [Lomadee](https://developer.lomadee.com/).*

    import lomapy
    
    app_token = {SEU_APP_TOKEN_AQUI}
    source_id = {SEU_SOURCE_ID_AQUI}
    
    lomapy.autenticar(app_token, source_id)
    
    lomapy.categorias.obter_todas()

### Documentação

A documentação está disponível online em [Lomapy Read The Docs](https://lomapy.readthedocs.io/) e no diretório [docs](docs)
    

## Como eu entro em contato?
* Email: [alan.taranti@gmail.com](mailto:alan.taranti@gmail.com)
* Website: <a href="http://alantaranti.github.io" target="_blank">alantaranti.github.io</a>
wagtail-commonmark 0.2.2
Commonmark support for Wagtail
License: MIT

## wagtail-commonmark: CommonMark fields and blocks for Wagtail

Tired of annoying rich text editors getting in the way of your content
input?  Wish Wagtail worked more like a wiki?  Well, now it can.

`wagtail-commonmark` provides CommonMark field support for [Wagtail](https://github.com/torchbox/wagtail/).
Specifically, it provides:

* A `wagtailcommonmark.blocks.CommonMarkBlock` for use in streamfields.
* A `wagtailcommonmark.fields.CommonMarkField` for use in page models.
* A `wagtailcommonmark.edit_handlers.CommonMarkPanel` for use in the editor interface.
* A `wagtailcommonmark.jinja2tags.commonmark` extension for use in jinja2 templates.
* A `commonmark` template tag.

### Installation

Alpha release is available on Pypi - https://pypi.org/project/wagtail-commonmark/ - installable via `pip install wagtail-commonmark`.


### Using it

Add it to `INSTALLED_APPS`:

```python
INSTALLED_APPS += [
    'wagtailcommonmark',
]
```

Use it as a `StreamField` block:

```python
from wagtailcommonmark.blocks import CommonMarkBlock

class MyStreamBlock(StreamBlock):
    markdown = CommonMarkBlock(icon="code")
```

Or use as a page field:

```python
from wagtailcommonmark.edit_handlers import CommonMarkPanel
from wagtailcommonmark.fields import CommonMarkField

class MyPage(Page):
    body = CommonMarkField()

    content_panels = [
        FieldPanel("title", classname="full title"),
        CommonMarkPanel("body"),
    ]
```

And render the content in a template:

```html+django
{% load wagtailcommonmark %}
<article>
{{ self.body|commonmark }}
</article>
```