All Projects → Fcmam5 → tchamba

Fcmam5 / tchamba

Licence: MIT license
Tchamba.random, is a real random data genarator (letters, jokes, names...)

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to tchamba

twitivity
🐍 Twitter Accounts Activity API Client Library for Python
Stars: ✭ 49 (+345.45%)
Mutual labels:  pypi
color
A library of well-tested helper methods for working with colors.
Stars: ✭ 13 (+18.18%)
Mutual labels:  random
ProxyGrab
Asynchronous Library made using Python and aiohttp to get proxies from multiple services!
Stars: ✭ 17 (+54.55%)
Mutual labels:  pypi
querycontacts
Query network abuse contacts for a given ip address on abuse-contacts.abusix.zone
Stars: ✭ 13 (+18.18%)
Mutual labels:  pypi
pyHeadspace
command-line script to download headspace packs, singles, everyday meditation and other sessions. You could also download all packs at once
Stars: ✭ 37 (+236.36%)
Mutual labels:  pypi
feedsearch-crawler
Crawl sites for RSS, Atom, and JSON feeds.
Stars: ✭ 23 (+109.09%)
Mutual labels:  pypi
colorsys
🎨 Minimalistic color converter for RGB, HSV, HSL, CMYK, HEX and CSS strings
Stars: ✭ 53 (+381.82%)
Mutual labels:  random
random-data
随机数据产生姬
Stars: ✭ 21 (+90.91%)
Mutual labels:  random
matrix-registration
a token based matrix registration api
Stars: ✭ 182 (+1554.55%)
Mutual labels:  pypi
sphinx-themes.org
A showcase for Sphinx documentation themes
Stars: ✭ 114 (+936.36%)
Mutual labels:  pypi
terminalplot
No description or website provided.
Stars: ✭ 40 (+263.64%)
Mutual labels:  pypi
judge
A blazingly fast online judge/ autograder ⚖️ built with Python and the Django framework to test cases against your solution. Check out the sponsor links and help fund DomeCode.
Stars: ✭ 30 (+172.73%)
Mutual labels:  pypi
Vestaboard
An API Wrapper for Vestaboards written in Python
Stars: ✭ 23 (+109.09%)
Mutual labels:  pypi
HABApp
Easy home automation with MQTT and/or openHAB
Stars: ✭ 35 (+218.18%)
Mutual labels:  pypi
ISS Info
Python wrapper for tracking information about International Space Station via http://open-notify.org
Stars: ✭ 12 (+9.09%)
Mutual labels:  pypi
ertis-auth
Generic token generator and validator service like auth
Stars: ✭ 28 (+154.55%)
Mutual labels:  pypi
cp-tool
cp-tool is an auto generator for solved problems at different online judges.
Stars: ✭ 24 (+118.18%)
Mutual labels:  pypi
random color
⚙️🎨 Rust crate for generating random attractive colors
Stars: ✭ 30 (+172.73%)
Mutual labels:  random
slamdunk
Streamlining SLAM-seq analysis with ultra-high sensitivity
Stars: ✭ 24 (+118.18%)
Mutual labels:  pypi
rfc-bibtex
A command line tool that creates bibtex entries for IETF RFCs and Internet Drafts.
Stars: ✭ 43 (+290.91%)
Mutual labels:  pypi

Tchamba.random Build Status

Tchamba.random, is a real random data genarator (letters, jokes, names...)

The idea

The name was invented by my friends Hammadi Ilyes and Bahri Aimene, and it was a joke. Now [we] are trying to implement it in order to get random data.

Installation

First install the tchamba package

  pip install tchamba

How to use

Import tchamba in your python file and use any of the functions :

    from tchamba import *

    # Print a random letter (Uppercase and undercase letters included)
    print random_letter()

    # Print a random lowercase letter
    print random_lowercase()

    # Print a random uppercase letter
    print random_uppercase()

    # Print a random digit
    print random_digit()

    # Print a random punctuation mark ( includes these chars !"#$%&\'()*+,-./:;<=>?@[\\]^_`{|}~  )
    print random_punctuation()

    # Print a random printable char from the concatenation of digits, ascii_letters, punctuation, and whitespaces.
    # [might return crazy characters like a Carriage Return, a Vertical Tabulator, or a Form Feed]
    print random_printable()

    # Print a random string with a given length
    # might return ugly results because it uses random_printable
    print random_string_given_len(42)

    # Print a random string with a random length between the given min_length and max_length
    # might return ugly results because it uses random_printable
    print random_string_rand_len(1, 20)

    # To print a random Chuck Norris joke (Internet connection needed)
    print random_chuck_joke()

    # Print a random hex color (ex: #02c65a)
    print random_hex_color()

    # Print a list of RGB color (ex: [31,12,15])
    print random_rgb_color()

    # Print a random Pokemon name (Internet connection needed)
    print random_pokemon()

    # Get a fake person (Internet connection needed)
    person = random_fake_person()
    for i in person:
        print i, person[i]

    # Get a random football team (Internet connection needed)
    football_team = random_football_team()

    # Print a random word (Internet connection needed) or it returns 'potatoes'
    print random_word()

    # Get and print random Wikipedia article (Internet connection needed) or it will return "Python article"
    article = random_wikipedia_article()
    print article['title']
    print article['text']

    # Get a JSON containing an answer that could be yes, no or maybe. with a .gif image
    yes_no_answer = random_yes_no_maybe()
    print yes_no_answer['answer']
    print yes_no_answer['image']

Contributing

If you have an idea, please feel free to submit an issue, or fork this project and add your awesome_random_function in tchamba.py file. I think that we need something cool and funny like this 😄 to use in our programs, for testing or for fun.

Credits

This package is using some of the best APIs on the Web, like:

License

MIT licensed Done by Fortas Abdeldjalil and all these awesome contributers.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].