Skip to main content

a library that simplifies writing code using ```random``` library

Project description

rpp-t

rpp-t is RandomPlusPLus Tools. So to speak, an extension for the random module


Package functions:


the first function

the first thing I started with was Rlist
it makes it easier to write code to randomize the list by 9.5 times.

import rppt

rppt.Rlist([1,2,3,4,5,6,7,8,9], [1,2,3])# <---------+ 
# here for randomization ^                          | 
# and here that these symbols would be an exception +
# you can also choose not to enter a list of exceptions.

Rlist has a total of 8 functions. let's go through them too!

myRandomList = rppt.Rlist([1,2,3,4,5]) - since 'Rlist` is a class, it can be assigned to a variable

  1. myRandomList.Rlist() - changes values

  2. myRandomList.AppendMainList([6,7,8]) - adds numbers from the argument to the list

  3. myRandomList.AppendBlackList([1,3,5]) - adds a blacklist

  4. myRandomList.SetSeed('seed') - changes the seed of generation

  5. myRandomList.SetOutput('4') - changes the output

  6. myRandomList.GetMainList('list/str') - displays the main list you can set the type:
    list or str, or you can not set

  7. myRandomList.GetBlackList('list/str') - displays the blacklist you can set the type:
    list or str, or you can not set

  8. myRandomList.GetList('list/str')- displays a list without items that are in the blacklist
    you can set the type: list or str, or you can not set

at the moment, the functions of the library rppt are completed.

but it is updated every day. don't miss it and keep an eye on this page!

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

rppt-1.1.0.tar.gz (2.5 kB view details)

Uploaded Source

Built Distribution

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

rppt-1.1.0-py3-none-any.whl (2.7 kB view details)

Uploaded Python 3

File details

Details for the file rppt-1.1.0.tar.gz.

File metadata

  • Download URL: rppt-1.1.0.tar.gz
  • Upload date:
  • Size: 2.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.3

File hashes

Hashes for rppt-1.1.0.tar.gz
Algorithm Hash digest
SHA256 a8ef42b7ebcd7d9f734c37996fd7f8f5090cecd74b4f5175d958a17f57ac31d2
MD5 d84508339e5a940ca779def67644bc19
BLAKE2b-256 cc6bde05cd2ef15a1c72f3a9b2b135d7e822cf13858658e28f39075b5b989942

See more details on using hashes here.

File details

Details for the file rppt-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: rppt-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 2.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.3

File hashes

Hashes for rppt-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 243c9d0c01ab518f6e5ef11cab26be409bc9d474bc0cd2bcebf45261845045e9
MD5 44c40e0a9085f6e145e983a9f6c83b81
BLAKE2b-256 629b28d8dc6121a80900a092087a0826ab380e2df8014259387e44048c82d4a1

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