semvec/pypi-packages huggingface dataset:
cover-rage-server 0.0.7
Utility (server) to check coverage for the last commit / pull request while running tests on CI.
License: MIT

===================
Cover Rage - server
===================
.. image:: https://badge.fury.io/py/cover-rage-server.svg
    :target: https://badge.fury.io/py/cover-rage-server
.. image:: https://circleci.com/gh/alexryabtsev/cover_rage_server/tree/master.svg?style=shield
    :target: https://circleci.com/gh/alexryabtsev/cover_rage_server/tree/master
.. image:: https://cover-rage.doomatel.com/api/badge/ZV2EKP1xsZRHDtMA0XVevw/
    :target: https://cover-rage.doomatel.com/api/badge/ZV2EKP1xsZRHDtMA0XVevw/

Server for `Cover Rage`_.

1. Handle checks of test coverage for the last commit / pull request initiated by web-hook on Github / Bitbucket and you CI-server.
2. Keeps your overall coverage percentage for badge.

All settings should be defined in environment variables. Available settings are:

- *RAGE_SRV_REDIS_HOST* - Redis host
- *RAGE_SRV_REDIS_PORT* - Redis port
- *RAGE_SRV_REDIS_DB* - Redis database
- *RAGE_SRV_SCHEME* - http or https
- *RAGE_SRV_HOST* - domain name of your Cover Rage server
- *RAGE_SRV_MIN_GOOD_COVERAGE_PERCENTAGE* - min good coverage percentage for badge

To add a project you should run *run_cli* console script:

*./rage_cli.py gh|bb <account> <repo> <access token>*

where:

- *gh* is Github, *bb* is Bitbucket,
- *account* is your account name on Github / Bitbucket
- *repo* is your repo name on Github / Bitbucket
- *access token* is an API access token from Github / Bitbucket

This command will create a web-hook on Github / Bitbucket and generate you public and private Cover Rage tokens. Use them when you'll configuring your CI-server.

To run server inside Docker container you can use this command:

*docker-compose --file docker-compose.yml --project-name cover_rage_server up*

.. _cover rage: https://github.com/alexryabtsev/cover_rage
django-balystic 0.1.33
Connect to Balystic API in your Django project
License: MIT
Keywords: django-balystic

=============================
Django Balystic
=============================


.. image:: https://badge.fury.io/py/django-balystic.png
    :target: https://badge.fury.io/py/django-balystic

.. image:: https://travis-ci.org/inqbation/django-balystic.png?branch=master
    :target: https://travis-ci.org/inqbation/django-balystic

Connect to Balystic API in your Django project



Quickstart
----------

Install Django Balystic::

    pip install django-balystic

Then use it in a project::

    import balystic


Features
--------

This client makes it easy to use the balystic API.
Just add a couple settings::

    BALYSTIC_API_TOKEN = 'mysecrettoken'
    BALYSTIC_API-PATH = 'mycommunity.7dhub.com/api/'

Then create a client instance::

    from balystic.client import Client
    client = Client()

And use the client to perform the requests::

    user_list = client.get_users()
    user_detail = client.get_user_detail()
    client.delete_user()


A couple of views have been defined to display information
from your community.

blogs:

::
    blog/    | template name = blog_list.html
    blog/<slug>/ | template name = blog_detail.html

qa:

::
    qa/ | template_name = qa_list.html
    qa/<pk>/ | template_name= qa_detail.html

to modify the template, create a folder in your project template folder called
** balystic ** with the same name of the used inside the balystic app.

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

Does the code actually work?

::

    source <YOURVIRTUALENV>/bin/activate
    (myenv) $ pip install -r requirements_test.txt
    (myenv) $ python runtests.py

Credits
---------

Tools used in rendering this package:

*  Cookiecutter_
*  `cookiecutter-djangopackage`_

.. _Cookiecutter: https://github.com/audreyr/cookiecutter
.. _`cookiecutter-djangopackage`: https://github.com/pydanny/cookiecutter-djangopackage




History
-------

0.1.0 (2016-07-28)
++++++++++++++++++

* First release on PyPI.
imagepreview 0.0.1
Image Preview creation python library to create low footprint image previews, convenient to use as base64 data in your REST / GraphQL API payload.
License: MIT

imagepreview
============
[![Build Status](https://travis-ci.org/GaborWnuk/image-preview-python.svg?branch=master)](https://travis-ci.org/GaborWnuk/image-preview-python)

Simple helper module for Image Preview method for REST and GraphQL for immediate image preview on your client's side (Swift, Java, JavaScript and so on).

Idea is to deliver only around 200 bytes of image data as a normal base64 data in one of JSON fields of your entities and then issue request to obtain full resolution of an image.

## Short "how does it work"
The main reason to do such thing is to show your user approximate look of your data stream as soon as possible. This method gives you the ability to serve image previews in the sam milisecond you show your text content in your app, as image preview is delivered as one of data fields in your JSON response.

This library is sort of a helper to achieve above.

Because every thumbnail is compressed as JPEG, with the same size (default: 42x42 pixels) and using the same Huffman table, each JPEG file consist of a common header (620 bytes) and a small picture data part (around 200 bytes, depending on quality you use).

Having this in mind we choose to omit headers and send only 200 bytes (base64) and then prepend this data with a header on client side.

You can find basic Swift / iOS example here: [https://github.com/GaborWnuk/image-preview-ios-demo](https://github.com/GaborWnuk/image-preview-ios-demo).