Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

gradient-generator

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gradient-generator

Generate random but beautiful gradients in a super simple way.

  • 0.1.1
  • PyPI
  • Socket score

Maintainers
1

Gradient Generator

Generate random but beautiful gradients in a super simple way.

Demo

gradient You can check out more examples here

Features

  • Super simple usage

Current limitations

  • No way to choose colors
  • PNG only

Installation

$ pip install gradient-generator

Usage

from gradient_generator import generate_gradient

image = generate_gradient(640, 480)

image
<_io.BytesIO object at 0x10ce70040>

with open('test.png', 'wb') as f:
	f.write(image.getbuffer())

Support

If you need help or found a bug, consider opening an issue on the project.

Licence

The source code for this project is licensed under the MIT license, which you can find in the MIT-LICENSE.txt file.

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc