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.1.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.1-py3-none-any.whl (2.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: rppt-1.1.1.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.1.tar.gz
Algorithm Hash digest
SHA256 4d11845da998af27ea9b0369ead25cb251bd6f2d6c9370b49824ce2ce47f3368
MD5 5c2d211f51a8ff5293830e856a1c056c
BLAKE2b-256 699486bb1307f88fd82cd8b5e9d9b8cdbc3aed4b7ae8022fa7c3a39dfb1158f5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: rppt-1.1.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6ed547a20119da55c7dbe2ad56149d65a7af18df77ec4fbdbbfec09160639e83
MD5 30d803d8a37d2b4549d1dae7a3afdf5b
BLAKE2b-256 f5a3024ec35aa15b3379cad82ee1af8d88777064e5d4247870d33ba023a16928

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