semvec/pypi-packages huggingface dataset:
admin-favorite 1.0
Mark most used app to favorite in Django admin
License: MIT
Requires Python: >=3.6

**Mark most usable app as favorite in django admin**

https://admin-favorite.herokuapp.com/admin/

**Author :** Achintya Ranjan Chaudhary

![alt text](https://img.shields.io/website?url=https://admin-favorite.herokuapp.com/admin)
![alt text](https://img.shields.io/apm/l/docker)

----

Steps to add this library to your project
    
**Step 1 :** Install library in your project by running command below
   
    `pip install admin-favorite` 

**Step 2 :** Add app name in your INSTALLED_APPS, make sure this is above 'django.contrib.admin' in your project
            
     'admin_favorite',

**Step 3 :** Add the path in your django project urls.py file 
    
    `path('', include('admin_favorite.urls'))`
safe-pip-upgrade 0.0.5
Pip safe auto-upgrade
License: MIT

Pip-safe-upgrade
==================

Pip-safe-upgrade automatically updates your pip requirements to the highest versions the tests pass.

![build](https://github.com/VVyacheslav/safe-pip-upgrade/workflows/build/badge.svg?branch=master)
[![codecov](https://codecov.io/gh/VVyacheslav/safe-pip-upgrade/branch/master/graph/badge.svg)](https://codecov.io/gh/VVyacheslav/safe-pip-upgrade)
[![PyPI version](https://badge.fury.io/py/safe-pip-upgrade.svg)](https://badge.fury.io/py/safe-pip-upgrade)

Overview
--------

This package can works only with docker-compose projects for now. 

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

```shell script
pip install safe-pip-upgrade
```

Work algorithm
----------------------

Pip-safe-upgrade try to upgrade the packages versions in requirements file one by one, run your tests after every 
step and if the tests fail it returns version back. The whole workflow goes without rebuilding the docker image
and hence is very fast.

Additionally pip-safe-upgrade add sensible comments to requirements file.

Here is a detailed algorithm of what safe-pip will do after launch:

1. starts the container in daemon mode (runs `docker-compose run project sleep 3590`).
1. read the next package in requirements.
1. check comment. if the comment is `'# the latest working version'` go to p. 2.
1. check comment. if the comment is `'# error on the version x.x.x'`:
    1. check if the is version between current and x.x.x
    2. if there is update requirements file to version in the middle between the current and x.x.x and go to p. 3
    1. if there is not, add comment `'# the latest working version'` and go to p. 2
1. check if there is newer version
    1. if there is not go to p. 2
    1. if there is, update requirements file to the newest version
1. starts the tests
1. if tests fail set version back, add comment `'# error on the version x.x.x'` and go to p. 4.
1. otherwise, go to p. 2

Usage
-----

Using safe-pip-upgrade is basically a two-step process.

1. Define your app's parameters with a `pip_upgrade.ini`
2. Run ```pip-upgrade.py UPGRADE``` to start the upgrade of your requirements 

A `pip_upgrade.ini` looks like this:

```ini
[MAIN]
working_directory = ./  # change it if you want to start upgrade from other directory.
local_requirements_file = requirements.txt # path and name of the requirements file relative to the working directory
ignore_line_starts = ['#', '-r', 'https://', 'http://', 'git+'] # list of the line beginnings you want to ignore 

[COMPOSE RUNNER]
compose_project_folder = . # path to your docker-compose file
compose_requirements_file = requirements.txt # path and name of the requirements file in docker container relative to CWD in your Dockerfile 
compose_service_name = django # name of the docker-compose service
compose_work_dir = # set it if you want to change working directory in container 
```

You can run ```pip_upgrade.py CREATE-INI``` so that pip-upgrade automatically creates an ini-file for you 

All ini-files option can also be defined with command keys. Type ```pip_upgrade.py``` to see a detailed description.
imagetogif 0.2
Useful for Converting images to gif
License: MIT
Keywords: imagetogif,gif show,image to gif,img2gif

# Images to GIf

### To install
```
pip3 install imagetogif
```
### Dependencies
> pillow
>Ipython

Example :
```
   >>from imagetogif import imegetogif
   >>imagetogif(path="./",file_name="mine.gif")
 ```
#### Default parameters values:

> imagetogif (path="./",file_name="imgtogif.gif",to="./",
img_format="all",duration=400,loop=0,
number_sort="n",string_sort="n",
gif_width=510,gif_height=310 )
  ___  
    Parameters:
    path:
        Path to the source of the image files
    file_name:
        File name for the gif to be saved 
    to:
        Destination of the gif file
    img_format:
        In which format of images are need to be converted to gif
        Formats are : png , jpg , jpeg or all
    duration:
        Duration of the gif
    loop:
        0 for gif to play again and again
        1 for play 1 time
    number_sort:
        [Sorting image files numerically]
        Example:
        images=[2.png,34.png,1.png]
        if number sort is yes means:
         this will be sorted as [1.png,2.png,34.png]
         and gif will be created
    string_sort:
        [sorting image files alphabetically]
        Example:
        images=[c.png,b.png,a.png]
        if string sort is yes means:
         this will be sorted as [a.png,b.png,c.png]
         and gif will be created
    gif_width:
        width of the gif
    gif_height:
        Height of the gif
```