Giter Site home page Giter Site logo

puang59 / roboart Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 24 KB

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

Home Page: https://pypi.org/project/RoboArt

License: MIT License

Python 100.00%
robohash avatar avatargenerator

roboart's Introduction

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.

roboart's People

Contributors

puang59 avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.