semvec/pypi-packages huggingface dataset:
foliantcontrib.imagemagick 1.0.2
ImageMagick preprocessor for Foliant.
License: MIT

# ImageMagick Preprocessor

This tool provides additional processing of images that referred in Markdown source, with [ImageMagick](https://imagemagick.org/).

## Installation

```bash
$ pip install foliantcontrib.imagemagick
```

## Config

To enable the preprocessor, add `imagemagick` to `preprocessors` section in the project config:

```yaml
preprocessors:
    - imagemagick
```

The preprocessor has a number of options with the following default values:

```yaml
preprocessors:
    - imagemagick:
        convert_path: convert
        cache_dir: .imagemagickcache
```

`convert_path`
:   Path to `convert` binary, a part of ImageMagick.

`cache_dir`
:   Directory to store processed images. These files can be reused later.

## Usage

Suppose you want to apply the following command to your picture `image.eps`:

```bash
$ convert image.eps -resize 600 -background Orange label:'Picture' +swap -gravity Center -append image.jpg
```

This command takes the source EPS image `image.eps`, resizes it, puts a text label over the picture, and writes the result into new file `image.jpg`. The suffix of output file name specifies that the image must be converted into JPEG format.

To use the ImageMagick preprocessor to do the same, enclose one or more image references in your Markdown source between `<<magick>` and `</magick>` tags.

```markdown
<<magick command_params="-resize 600 -background Orange label:'Picture' +swap -gravity Center -append" output_format="jpg">
(leading exclamation mark here)[Optional Caption](image.eps)
</magick>
```

Use `output_format` attribute to specify the suffix of output file name. The whole output file name will be generated automatically.

Use `command_params` attribute to specify the string of parameters that should be passed to ImageMagick `convert` binary.

Instead of using `command_params` attribute, you may specify each parameter as its own attribute with the same name:

```markdown
<<magick resize="600" background="Orange label:'Picture' +swap" gravity="Center" append="true" output_format="jpg">
(leading exclamation mark here)[Optional Caption](image.eps)
</magick>
```
django-disable-cache-headers 0.0.1
Middleware that disables caching headers in Django
License: MIT
Keywords: django-disable-cache-headers

=============================
Django disable cache headers
=============================

Middleware that disables caching headers during development in Django.

In production you will typically a CDN or browser cache to speed up subsequent
reads of your pages. This ensures reads don't need to hit your DB as often.

.. code-block:: python

    from django.views.decorators.cache import cache_control

    @method_decorator(cache_control(public=True, max_age=60 * 5)), name="dispatch")
    def my_view(request):
        ...


However this is annoying during development as you always want to serve fresh
pages and static files on page refresh. Using this middleware in development
strips out the cache headers and prevents the browser (or dev cache) from
caching your content.

Quickstart
----------

Install Django disable cache headers::

    pip install django-disable-cache-headers

Add it to your `INSTALLED_APPS`:

.. code-block:: python

    INSTALLED_APPS = (
        ...
        'disable_cache_headers.apps.DisableCacheHeadersConfig',
        ...
    )

Add the middleware in your development settings, e.g in config/settings/local.py.

.. code-block:: python

    from .base import *
    MIDDLEWARE += ["disable_cache_headers.middleware.DisableCacheControl"]

Running Tests
-------------

.. code-block:: bash

    python -m venv venv
    source ./venv/bin/activate
    pip install -r requirements_test.txt
    pytest





History
-------

0.1.0 (2019-08-22)
++++++++++++++++++

* First release on PyPI.
uitable 0.0.1
display data by table format
License: MIT

##### uitable
---
```shell
from uitable import UiTable
uitable_ins = UiTable()
uitable_ins.add_header("name", "age")
uitable_ins.add_row("yxx", "12")
print(uitable_ins)

# output:
name   age    
yxx    12  
```
statusinfo 0.1.6
A tool for gathering status information.
License: MIT
Requires Python: >=3
Keywords: status,information,gathering

.. image:: https://img.shields.io/pypi/status/statusinfo.svg
   :target: https://pypi.org/project/statusinfo/

.. image:: https://img.shields.io/pypi/l/statusinfo.svg
   :target: https://pypi.org/project/statusinfo/

.. image:: https://img.shields.io/pypi/pyversions/statusinfo.svg
   :target: https://pypi.org/project/statusinfo/

.. image:: https://img.shields.io/pypi/v/statusinfo.svg
   :target: https://pypi.org/project/statusinfo/

.. image:: https://img.shields.io/pypi/dm/statusinfo.svg
   :target: https://pypi.org/project/statusinfo/

Usage
=====

A tool for gathering status information.

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

From PyPI
---------
::

   pip install statusinfo

From Source
-----------
::

   ./setup.py install

Development
===========

The source code is located on `GitLab <https://gitlab.com/eikendev/statusinfo>`_.
To check out the repository, the following command can be used.
::

   git clone https://gitlab.com/eikendev/statusinfo.git