Skip to main content

A basic random avatar generator

Project description

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.

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

RoboArt-0.1.4.tar.gz (2.9 kB view details)

Uploaded Source

Built Distribution

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

RoboArt-0.1.4-py3-none-any.whl (3.2 kB view details)

Uploaded Python 3

File details

Details for the file RoboArt-0.1.4.tar.gz.

File metadata

  • Download URL: RoboArt-0.1.4.tar.gz
  • Upload date:
  • Size: 2.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.6

File hashes

Hashes for RoboArt-0.1.4.tar.gz
Algorithm Hash digest
SHA256 1ed397dc1cd5d62e2dd8102b430d826bd49af1d477338231495d978dbde8a46e
MD5 f205f80680965c954d7169bf40c1d3d5
BLAKE2b-256 3ac0d8af140745f34cd8cacd552650f08d44c5428da36305fd2d53eac22ddebf

See more details on using hashes here.

File details

Details for the file RoboArt-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: RoboArt-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 3.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.6

File hashes

Hashes for RoboArt-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 c6b577d0af92cc5bb0c26f92d3cadb94f195bfa3dd55eecdf8ce7404464eb9a4
MD5 9e17b4b28a1831a767144f0a753cc54f
BLAKE2b-256 2b211696a8727b495bce96af49d232ada7eca3b0b946c65f0b560e4697fe2f3c

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