semvec/pypi-packages huggingface dataset:
star-lord 0.0.47
Microservice with django
Requires Python: >=3.5

Installing star-lord
------------------------

The package can be installed using:

.. code-block:: bash

    pip install star-lord

Add the following settings:

.. code-block:: python

    INSTALLED_APPS += (
        'star_lord',
    )


Creating models
---------------

Mark model as producer using "producer" decorator:

.. code-block:: python

    from django.db import models
    from star_lord import producer


    @producer
    class MyModel(models.Model):
        ...

        @classmethod
        def get_name(cls):
            return 'my_model'

        @property
        def serialized_data(self):
            """
            Optional method which can be overridden
            """
            pass

        @staticmethod
        def signal_post_save(*args, **kwargs):
            """
            Optional method which can be overridden
            """
            pass


Creating tasks
---------------
Create file tasks.py in your app:
    my_app:
        tasks.py

.. code-block:: python

    from star_lord import model_sync, job_tasks
    from .models import User, Employee

    job_tasks('auth.usr.changed', model=User)(model_sync)
    job_tasks('hrm.emp.changed')(Employee.sync)
pypdftk-secure 0.7
Python wrapper for PDFTK

# pypdftk [![circleci](https://circleci.com/gh/revolunet/pypdftk.svg?style=shield&circle-token=78ab3159527f865cf8ee850b3c1c9fcce8ccf631)](https://circleci.com/gh/revolunet/pypdftk) [![travis](https://travis-ci.org/yguarata/pypdftk.svg?branch=master)](https://travis-ci.org/yguarata/pypdftk)

Python module to drive the awesome [pdftk][0] binary.

Proudly brought to you by the [revolunet][1] team and [awesome contributors](https://github.com/revolunet/pypdftk/graphs/contributors)

## pdftk path

By default, path is `/usr/bin/pdftk`, but you can override it with the `PDFTK_PATH` environment variable

## Licence
This module is released under the permissive [MIT license](http://revolunet.mit-license.org). Your contributions are always welcome.


 [0]: http://www.pdflabs.com/tools/pdftk-the-pdf-toolkit/
 [1]: http://revolunet.com