Skip to main content

Gifiscle binaries to both x86 and ARM for Indigo Plugin (and others!)

Project description

plugin_gifsicle pypi package

A package that provides pre-compiled Gifsicle binaries for OSX systems. Yah to:https://github.com/kohler/gifsicle

Usage: Should be used behind the scenes to enable plugins to download gifsicle binaries without apple quarantine becoming a major PITA

What is Gifsicle: https://github.com/kohler/gifsicle Basically it is a binary to create animated gifs with many options and typically producing a excellent, small file as a result

The package consists of two 1.94 gifscile binaries including newer --lossy options. get_gifsicle_binary will return the path to the correct binary for either x86 OSX Mac or ARM MAC

Installation

To install the package, run:

pip3 install plugin_gifsicle

Usage

Here's how you can use the package:

from plugin_gifsicle import get_gifsicle_binary
import subprocess

binary_path = get_gifsicle_binary()
print(binary_path)
# and for good measure below will check can run the binary correctly
# will need options etc. for proper usage
subprocess.run([binary_path,"--help"])

# You can now use the path to the binary in your application

License

This project is licensed under the MIT License - see the LICENSE file for details

MIT License

Copyright (c) [2023]

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

plugin_gifsicle-0.3.1.tar.gz (246.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

plugin_gifsicle-0.3.1-py3-none-any.whl (244.0 kB view details)

Uploaded Python 3

File details

Details for the file plugin_gifsicle-0.3.1.tar.gz.

File metadata

  • Download URL: plugin_gifsicle-0.3.1.tar.gz
  • Upload date:
  • Size: 246.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.6

File hashes

Hashes for plugin_gifsicle-0.3.1.tar.gz
Algorithm Hash digest
SHA256 c2819bc406b60c73c73daf379cd78af61bd5750f8b80d26a1bb8984c6cf6d7db
MD5 609b2ac71a49f330ec6b0b88c405fe0f
BLAKE2b-256 cdbab8f245e9d6d7ef1e2a2d659f319a1091ac7acda2c267272b28dea3b8064f

See more details on using hashes here.

File details

Details for the file plugin_gifsicle-0.3.1-py3-none-any.whl.

File metadata

File hashes

Hashes for plugin_gifsicle-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 bfef7b78e838ab0dbaf7f9ce9e7432fa1f28833a3ed63ce1cc567965a3d60f3e
MD5 6654f531641fc98dc4c120d9b26b10e5
BLAKE2b-256 2aacf9f14e52d35d49e7f5784971f74d3ff60ce312909f214e5c754c79d37981

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page