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

RoboArt

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

RoboArt

A basic random avatar generator

  • 0.1.4
  • PyPI
  • Socket score

Maintainers
1

RoboArt

Avatars lovingly delivered by Robohash.org

RoboArt is a basic random avatar generator which generates avatar in 4 different sets when hash is provided.

Installation

You can install RoboArt via pip:

pip3 install -U RoboArt

This will install the latest version of RoboArt

To update your existing RoboArt package, use:

pip3 install RoboArt - U

Usage

Import RoboArt in your Python script and create an instance of the roboart class:

from RoboArt import roboart
ra = roboart()

Then, generate an avatar by passing a hash value to the robo() method:

ra.robo("thisishash")

This will generate an avatar based on the provided hash value.

Quick Example

from RoboArt import roboart

ra = roboart()

# You can use any random string hash, it doesnt matter
Robot = ra.robo("Robot") # It generates a robot avatar
Monster = ra.monster("Monster") # It generates a monster avatar
RoboHead = ra.robohead("Head") # It generates a robot head avatar
Kittens = ra.kitten('cats') # It generates a cat avatar

print(Robot) # prints robo

License:

This project is licensed under the terms of the MIT license. You can find the full license text in the LICENSE file.

Keywords

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