semvec/pypi-packages huggingface dataset:
django-cmstemplates 0.3.3
Efficient django template blocks implementation
License: MIT
Keywords: django cmstemplates

Django-cmstemplates is efficient templates-in-db implementation.

---------------

|python| |pypi| |travis| |coveralls| |license|

---------------


Application is aimed to support python 3.4+ and django 1.9+.


Features
========

1. Template blocks can be edited in your admin
2. Django's cache machinery is actively used
3. Template group autocreation (if group is not exist)
4. Codemirror widget support
5. Ability to view template only for superuser, useful when editing
   in production.


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

1. Add ``cmstemplates`` to ``INSTALLED_APPS``
2. Run ``./manage.py migrate cmstemplates``
3. Go to admin and create new group template with name *test-group*
   You can skip this step for now, if you want template to be
   auto-created.
4. Add this group to your template with following tag::

    {% load cmstemplates_tags %}

    {% cms_group "test-group" %}

   If you skipped step three, then template group *test-group*
   will be created automatically.

5. Create some templates for this group in admin.
6. Refresh target site page and see your templates content.


Using codemirror widget
=======================

Add to your settings::

    CMSTEMPLATES_USE_CODEMIRROR = True

Install codemirror widget:

1. source env/bin/activate
2. pip install django-codemirror-widget
3. cd project_name/static/vendor
4. wget http://codemirror.net/codemirror.zip
5. unzip codemirror.zip
6. mv codemirror-4.2 codemirror
7. Add to settings::

    CODEMIRROR_PATH = 'vendor/codemirror'
    CODEMIRROR_THEME = 'default'
    CODEMIRROR_CONFIG = {'lineNumbers': True}


Final settings should look like this::

    # cmstemplates
    CMSTEMPLATES_USE_CODEMIRROR = True

    # codemirror
    CODEMIRROR_PATH = 'vendor/codemirror'
    CODEMIRROR_THEME = 'default'
    CODEMIRROR_CONFIG = {'lineNumbers': True}


.. |pypi| image:: https://img.shields.io/pypi/v/django-cmstemplates.svg?style=flat-square
    :target: https://pypi.python.org/pypi/django-cmstemplates
    :alt: pypi

.. |travis| image:: https://img.shields.io/travis/asyncee/django-cmstemplates.svg?style=flat-square
    :target: https://travis-ci.org/asyncee/django-cmstemplates
    :alt: Travis Build

.. |coveralls| image:: https://img.shields.io/coveralls/asyncee/django-cmstemplates.svg?style=flat-square
    :target: https://coveralls.io/r/asyncee/django-cmstemplates
    :alt: coverage

.. |license| image:: https://img.shields.io/github/license/asyncee/django-cmstemplates.svg?style=flat-square
    :target: https://github.com/asyncee/django-cmstemplates/blob/master/LICENSE
    :alt: MIT License

.. |python| image:: https://img.shields.io/badge/python-2.7, 3.x-blue.svg?style=flat-square
    :target: https://pypi.python.org/pypi/django-cmstemplates
    :alt: Python 2.7, 3.x
securityheaders 0.0.1
Fetch Security Headers for a specific URL using securityheaders.io
License: MIT

securityheaders
===============

*securityheaders* is a CLI application to analyze the Security Headers
of a given URL using securityheaders.io

.. figure:: https://raw.githubusercontent.com/timofurrer/securityheaders/master/screenshots/cli.jpg
   :alt: Screenshot CLI

   Screenshot CLI

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

Install in python 3 environment:

.. code:: bash

    pip3 install securityheaders

*Note: you might need root privileges or use ``--user`` switch*

Usage
-----

::

    Usage: securityheaders [OPTIONS] URL

      Get Security Headers from a given URL. The data is fetched from
        SecurityHeaders.io.

    Options:
      --version  Show the version and exit.
      --json     Print the Security Headers analysis as JSON
      --help     Show this message and exit.

Thanks
------

Thanks to **`SecurityHeaders.io <https://securityheaders.io>`__** for
their awesome service!
uq 0.1.2
Python library for uq cluster
License: MIT
Keywords: uq,message queue,client library

PyUQ
========

Python client library for `UQ <https://github.com/buaazp/uq>`_ cluster.

.. image:: https://badge.fury.io/py/uq.svg
    :target: https://badge.fury.io/py/uq
.. image:: https://travis-ci.org/amyangfei/pyuq.svg?branch=master
    :target: https://travis-ci.org/amyangfei/pyuq

Installation
------------

pyuq requires a running uq server, in either standalone mode or cluster mode.
See `UQ's getting-started <https://github.com/buaazp/uq#getting-started>`_
for installation instructions.

To install pyuq, simply:

.. code-block:: bash

    $ pip install uq

or from source:

.. code-block:: bash

    python setup.py install


Getting Started
---------------

.. code-block:: pycon

    >>> import uq, datetime
    >>> cli = uq.UqClient(protocol='http', ip='127.0.0.1', port=8808)
    >>> cli.add('foo')
    (True, '')
    >>> cli.add('foo', 'x', datetime.timedelta(seconds=10))
    (True, '')
    >>> cli.push('foo', 'hello')
    (True, '')
    >>> cli.pop('foo/x')
    (True, '127.0.0.1:8808/foo/x/0', u'hello')
    >>> cli.remove('127.0.0.1:8808/foo/x/0')
    (True, '')
md5checker 0.2.1
Check md5 hash of file.
License: MIT
Keywords: md5 hash security

.. image:: https://travis-ci.org/trendsetter37/md5-checker.svg?branch=master
   :target: https://travis-ci.org/trendsetter37/md5-checker
   :width: 50%

.. image:: https://codecov.io/github/trendsetter37/md5-checker/coverage.svg?branch=master
   :target: https://codecov.io/github/trendsetter37/md5-checker?branch=master
   :width: 50%


MD5Checker
==========

This module is a simple utility to examine a file's checksum

Install
-------

One-liner
~~~~~~~~~
::

  pip install md5checker

Other ways
~~~~~~~~~~~
::

  git clone https://github.com/trendsetter37/md5-checker
  cd md5-checker

Followed by:

::

  python setup.py install

or

::

  pip install .

Testing (Development)
---------------------

Inside the root directory, run


::

  pip install -r requirements.txt
  pip install -e .
  py.test

or

::

  pip install -r requirements.txt
  pip install -e .
  python setup.py test

Usage
-----

Command Line
~~~~~~~~~~~~
::

  md5checker "Space containing directory/path-to-file.extension"

Surround path with double quotes if it contains spaces. Otherwise
quotations are unnecessary.

::

  md5checker space-containing-directory/path-to-file.extension

Options
^^^^^^^
Get version.

::

  md5checker -v
  0.2.0

List hash algorithms.

::

  md5checker -a

Use alternate hash algorithm.

::

  md5checker setup.cfg -a sha1
  bf72c7d5ca4a4b2731bde5cfcc323ce64b533865

Module
~~~~~~
::

  >>> from md5checker import make_hash
  >>> make_hash('setup.cfg')
  ad895e8b0bd7d47e2a793dca3730aead
  >>> make_hash('setup.cfg', algo='sha1')
  bf72c7d5ca4a4b2731bde5cfcc323ce64b533865

Available algorithms
~~~~~~~~~~~~~~~~~~~~
* MD5
* SHA1
* SHA224
* SHA256
* SHA384
* SHA512
rfhq 0.1.6
UNKNOWN
License: MIT

=====
Django Rest Framework HQ (Filter Extensions and support for ElasticSearch)


--------
Change Log

- 0.1.6   Remove Exception classes, Project specific
- 0.1.5   Add tests + removed MixedFilterBackend, MixedSerializerMixin. Project specific
- 0.1.4   Add max offset in ElasticsearchPagination
- 0.1.3   Raise parse error on invalid dates
- 0.1.2   Removed permission classes, Project specific
- 0.1.1   Removed _index from more_like_this (causing issue with ES2)
- 0.1.0   Imported