passphera-core 0.8.0__tar.gz → 0.8.2__tar.gz

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: passphera-core
3
- Version: 0.8.0
3
+ Version: 0.8.2
4
4
  Summary: The core system of passphera project
5
5
  Home-page: https://github.com/passphera/core
6
6
  Author: Fathi Abdelmalek
@@ -12,7 +12,9 @@ Classifier: Programming Language :: Python
12
12
  Classifier: Programming Language :: Python :: 3
13
13
  Classifier: Topic :: Security
14
14
  Classifier: Topic :: Security :: Cryptography
15
+ Requires-Python: >=3
15
16
  Description-Content-Type: text/markdown
17
+ Requires-Dist: cipherspy
16
18
 
17
19
  # passphera-core
18
20
 
@@ -78,7 +78,7 @@ class PasswordGenerator:
78
78
  def key(self) -> str:
79
79
  """
80
80
  Returns the key string for the cipher algorithm
81
- Eg: ```key_str = pg.key_str```
81
+ Eg: ```key = pg.key```
82
82
  :return: str: The key string for the cipher algorithm
83
83
  """
84
84
  return self._key
@@ -93,6 +93,44 @@ class PasswordGenerator:
93
93
  """
94
94
  self._key = key
95
95
 
96
+ @property
97
+ def prefix(self) -> str:
98
+ """
99
+ Returns the prefix string for the cipher algorithm
100
+ Eg: ```prefix = pg.prefix```
101
+ :return: str: The prefix string for the cipher algorithm
102
+ """
103
+ return self._prefix
104
+
105
+ @prefix.setter
106
+ def prefix(self, prefix: str):
107
+ """
108
+ Sets the prefix string for the cipher algorithm
109
+ Eg: ```pg.prefix = 'something'```
110
+ :param prefix: The string for the cipher algorithm
111
+ :return:
112
+ """
113
+ self._prefix = prefix
114
+
115
+ @property
116
+ def postfix(self) -> str:
117
+ """
118
+ Returns the postfix string for the cipher algorithm
119
+ Eg: ```postfix = pg.postfix```
120
+ :return: str: The postfix string for the cipher algorithm
121
+ """
122
+ return self._postfix
123
+
124
+ @postfix.setter
125
+ def postfix(self, postfix: str):
126
+ """
127
+ Sets the postfix string for the cipher algorithm
128
+ Eg: ```pg.postfix = 'something'```
129
+ :param postfix: The string for the cipher algorithm
130
+ :return:
131
+ """
132
+ self._postfix = postfix
133
+
96
134
  @property
97
135
  def algorithm(self) -> str:
98
136
  """
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: passphera-core
3
- Version: 0.8.0
3
+ Version: 0.8.2
4
4
  Summary: The core system of passphera project
5
5
  Home-page: https://github.com/passphera/core
6
6
  Author: Fathi Abdelmalek
@@ -12,7 +12,9 @@ Classifier: Programming Language :: Python
12
12
  Classifier: Programming Language :: Python :: 3
13
13
  Classifier: Topic :: Security
14
14
  Classifier: Topic :: Security :: Cryptography
15
+ Requires-Python: >=3
15
16
  Description-Content-Type: text/markdown
17
+ Requires-Dist: cipherspy
16
18
 
17
19
  # passphera-core
18
20
 
@@ -6,4 +6,5 @@ passphera_core/generator.py
6
6
  passphera_core.egg-info/PKG-INFO
7
7
  passphera_core.egg-info/SOURCES.txt
8
8
  passphera_core.egg-info/dependency_links.txt
9
+ passphera_core.egg-info/requires.txt
9
10
  passphera_core.egg-info/top_level.txt
@@ -0,0 +1 @@
1
+ cipherspy
@@ -5,7 +5,7 @@ with open("README.md", "r") as fh:
5
5
 
6
6
  setup(
7
7
  name='passphera-core',
8
- version='0.8.0',
8
+ version='0.8.2',
9
9
  author='Fathi Abdelmalek',
10
10
  author_email='abdelmalek.fathi.2001@gmail.com',
11
11
  url='https://github.com/passphera/core',
@@ -13,6 +13,8 @@ setup(
13
13
  long_description=long_description,
14
14
  long_description_content_type="text/markdown",
15
15
  packages=['passphera_core'],
16
+ python_requires='>=3',
17
+ install_requires=['cipherspy'],
16
18
  classifiers=[
17
19
  "Development Status :: 2 - Pre-Alpha",
18
20
  "License :: OSI Approved :: MIT License",
File without changes
File without changes