Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

randomisedString

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

randomisedString

A well maintained program to generate randomised strings. Can be used for assigning unique IDs of any specified size. Can be alpha only or numeric or alphanumeric as specified.

  • 1.3.3
  • PyPI
  • Socket score

Maintainers
1

randomisedString v1.3.3

pip install randomisedString --upgrade


A well maintained program to generate randomised strings. Can be used for assigning unique IDs of any specified size. Can be alpha only or numeric or alphanumeric as specified.


To install:

pip install randomisedString --upgrade
pip3 install randomisedString --upgrade
python -m pip install randomisedString --upgrade
python3 -m pip install randomisedString --upgrade


Using this program is as simple as:
from randomisedString import Generator as StringGenerator

generator = StringGenerator()

print(generator.AlphaNumeric(10, 10))
>> 45HCMJ4SCy
print(generator.OnlyNumeric(10, 10))
>> 1127163
print(generator.OnlyAlpha(10, 10))
>> UjfQZDDOOq
print(generator.AlphaNumeric(5, 10))
>> FxgirdEYB
print(generator.OnlyNumeric(5, 10))
>> 917478
print(generator.OnlyAlpha(5, 10))
>> HqGiHqt

Future implementations:

  • Include special characters.

This project is always open to suggestions and feature requests.

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc