semvec/pypi-packages huggingface dataset:
python-bit24 0.1.0
Unofficial Python SDK for Bit24
License: MIT
Requires Python: <4.0,>=3.10

# Bit24 Python SDK

[![Poetry](https://img.shields.io/endpoint?url=https://python-poetry.org/badge/v0.json)](https://python-poetry.org/)
![PyPI - Python Version](https://img.shields.io/pypi/pyversions/python-bit24)
![PyPI - Version](https://img.shields.io/pypi/v/python-bit24)
![PyPI - License](https://img.shields.io/pypi/l/python-bit24)
[![Documentation Status](https://readthedocs.org/projects/python-bitpin/badge/?version=latest)](https://python-bitpin.readthedocs.io/en/latest/?badge=latest)
[![Documentation Status](https://img.shields.io/badge/docs-mkdocs%20material-blue.svg?style=flat)](https://squidfunk.github.io/mkdocs-material/)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
[![pydocstyle](https://img.shields.io/badge/pydocstyle-enabled-AD4CD3)](http://www.pydocstyle.org/en/stable/)
[![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff)
[![pre-commit](https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit&logoColor=white)](https://github.com/pre-commit/pre-commit)
[![pre-commit.ci status](https://results.pre-commit.ci/badge/github/amiwrpremium/python-bitpin/master.svg)](https://results.pre-commit.ci/latest/github/amiwrpremium/python-bitpin/master)
[![Release](https://github.com/amiwrpremium/python-bit24/actions/workflows/release.yml/badge.svg)](https://github.com/amiwrpremium/python-bit24/actions/workflows/release.yml)
[![Publish to PyPI](https://github.com/amiwrpremium/python-bit24/actions/workflows/publish.yml/badge.svg)](https://github.com/amiwrpremium/python-bit24/actions/workflows/publish.yml)
[![pages-build-deployment](https://github.com/amiwrpremium/python-bit24/actions/workflows/pages/pages-build-deployment/badge.svg)](https://github.com/amiwrpremium/python-bit24/actions/workflows/pages/pages-build-deployment)
[![generate_docs](https://github.com/amiwrpremium/python-bit24/actions/workflows/gen_docs.yml/badge.svg)](https://github.com/amiwrpremium/python-bit24/actions/workflows/gen_docs.yml)

Bit24 is a cryptocurrency exchange that allows users to buy and sell cryptocurrencies.

## Introduction

This is the Python SDK for Bit24. It provides a simple way to interact with the Bit24 API.

## Installation

Install using `pip` from [PyPI](https://pypi.org/project/python-bit24/):

```bash
pip install python-bit24
```

Or install from `git`

```bash
pip install git+https://github.com/amiwrpremium/python-bit24.git
```

## Quick Start

See [Quick Start](https://python-bit24.readthedocs.io/en/latest/usage/) for usage guide.

## Documentation

See [documentation](https://python-bit24.readthedocs.io/en/latest/).

## License

See [LICENSE](LICENSE).

## Disclaimer

This is an unofficial SDK. The SDK is provided as is and is not endorsed by Bit24, and I am in no way affiliated with
Bit24.
resmushit 1.0.1
A wrapper for resmush.it API
License: MIT
Requires Python: <=3.12,>=3.6

# reSmush.it Image Optimizer Python package

[![Downloads](https://static.pepy.tech/badge/resmushit)](https://pepy.tech/project/resmushit)
![Tests](https://github.com/hemansah/resmushit/actions/workflows/tests.yaml/badge.svg?branch=master)  

## Project Description

Python3 wrapper for resmush.it API to optimize image file size.

    

[resmush.it](https://resmush.it/) Image Optimizer allows you to use free Image optimization based on reSmush.it API.

reSmush.it provides image size reduction based on several algorithms. The API accept JPG, PNG and GIF files up to 5MB.



## Installation

1. Install using pip3:

  

    `$ pip3 install resmushit`

  

## Usage

```
import resmushit

# Save image to current directory
resmushit.from_path(image_path='image.png', quality=95) 

# Save image to preferred directory
resmushit.from_path(image_path='image.png', quality=95, output_dir="output/") 

# return image bytes
_bytes = resmushit.from_url(image_url="https://ps.w.org/resmushit-image-optimizer/assets/icon-128x128.png", quality=95, save=False)

```

  

## Options

```
image_url (str): The url of image.

image_path (str): The path of image

quality (int): Quality at which image is going to be optimized.

output_dir (str): Location for output image.

preserve_exif (bool): Preserve EXIF data in the file after optimization.

preserve_filename (bool): Optimized image will prefix 'optimized-' before image name.

quiet_mode (bool): Run in quiet mode when True

save (bool): When True, saves image in directory.
             When False, returns bytes of image.             
```