Skip to main content

An api wrapper for RoboHash

Project description

RoboHashpy

An api wrapper for RoboHash, a cool service by @e1ven, which generates images from random text!

Currently Available Functions

  • get_im_hash(text: str,set: int[optional])
  • get_grav_hash(email/hash: str,gravatar: str)

The set parameter can be an integer from 1 to 5 The following list tells what each number, 1 to 5, represents

  1. Robots
  2. Monsters
  3. Disembodied heads
  4. Kittens
  5. Humans

Default values

  • set:- 1
  • gravatar:- no

Sample Usage

from RoboHashpy import RoboHash

rb =  RoboHash()

print(rb.get_im_hash("hello there",5))

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

RoboHashpy-0.1.2.tar.gz (2.4 kB view details)

Uploaded Source

File details

Details for the file RoboHashpy-0.1.2.tar.gz.

File metadata

  • Download URL: RoboHashpy-0.1.2.tar.gz
  • Upload date:
  • Size: 2.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.6.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.5

File hashes

Hashes for RoboHashpy-0.1.2.tar.gz
Algorithm Hash digest
SHA256 c20bab6bb26e7e50af4dc8d54bff8e02626e81ada9f2e7b7a7af268e688b625a
MD5 161ff45da32f87da13afc6008672595d
BLAKE2b-256 64a1d686a82be9a33de1ab0e6d8f18dc2eb75f63066b2c2858bed9eef600a060

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