Skip to content

Commit 937a872

Browse files
Smart Random v0.1.2 Use only safe characters during generation.
1 parent 20d1109 commit 937a872

File tree

6 files changed

+11
-11
lines changed

6 files changed

+11
-11
lines changed

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
BSD 3-Clause License
22

3-
Copyright (c) 2024, A.A Suvorov
3+
Copyright (c) 2024, A.A. Suvorov
44

55
Redistribution and use in source and binary forms, with or without
66
modification, are permitted provided that the following conditions are met:

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
# smartrandom <sup>v0.1.1</sup>
1+
# smartrandom <sup>v0.1.2</sup>
22
---
33

44
## Random Data Generators:
55

6-
Allows you to generate random strings of a given length from letters, numbers, and symbols.
7-
Helps to generate passwords, service codes (for example, for sending via SMS), hashes, and much more.
6+
>Allows you to generate random strings of a given length from letters, numbers, and symbols.
7+
>Helps to generate passwords, service codes (for example, for sending via SMS), hashes, and much more.
88
99
---
1010

@@ -17,7 +17,7 @@ Helps to generate passwords, service codes (for example, for sending via SMS), h
1717

1818
***
1919

20-
Author and developer: ___A.A Suvorov.___
20+
Author and developer: ___A.A. Suvorov.___
2121

2222
***
2323

@@ -58,6 +58,6 @@ code = RandomStringMaster.create_code(length=10, numeric_flag=True, letters_flag
5858
--------------------------------------------------------
5959
Licensed under the terms of the BSD 3-Clause License
6060
(see LICENSE for details).
61-
Copyright © 2018-2024, A.A Suvorov
61+
Copyright © 2018-2024, A.A. Suvorov
6262
All rights reserved.
6363
--------------------------------------------------------

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[metadata]
22
name = smartrandom
33
version = attr: smartrandom.__version__
4-
author = A.A Suvorov
4+
author = A.A. Suvorov
55
author_email = [email protected]
66
description = Random Data Generators.
77
long_description = file: README.md

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# --------------------------------------------------------
22
# Licensed under the terms of the BSD 3-Clause License
33
# (see LICENSE for details).
4-
# Copyright © 2018-2024, A.A Suvorov
4+
# Copyright © 2018-2024, A.A. Suvorov
55
# All rights reserved.
66
# --------------------------------------------------------
77
# https://github.com/smartlegionlab

smartrandom/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# --------------------------------------------------------
22
# Licensed under the terms of the BSD 3-Clause License
33
# (see LICENSE for details).
4-
# Copyright © 2018-2024, A.A Suvorov
4+
# Copyright © 2018-2024, A.A. Suvorov
55
# All rights reserved.
66
# --------------------------------------------------------
77
# https://github.com/smartlegionlab
@@ -11,4 +11,4 @@
1111
Allows you to generate random strings of a given length from letters, numbers, and symbols.
1212
Helps to generate passwords, service codes (for example, for sending via SMS), hashes, and much more.
1313
"""
14-
__version__ = '0.1.1'
14+
__version__ = '0.1.2'

smartrandom/random_master.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ def create(cls, length=10):
3030

3131

3232
class RandomSymbolsMaster:
33-
symbols = '@$!%*#?&-'
33+
symbols = '!@#$%&^_'
3434

3535
@classmethod
3636
def create(cls, length=10):

0 commit comments

Comments
 (0)