basefwx 2.2__tar.gz → 2.4__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: basefwx
3
- Version: 2.2
3
+ Version: 2.4
4
4
  Summary: With BaseFWX you can encode securely!
5
5
  Author-email: F1xGOD <f1xgodim@gmail.com>
6
6
  Project-URL: Homepage, https://github.com/F1xGOD/basefwx
@@ -23,10 +23,19 @@ License-File: LICENCE
23
23
 
24
24
 
25
25
  FixCraft® Inc. FWX Encryption Copyright ©
26
- Version - v2.1 😎 OCT 13 2024
26
+ Version - v2.4 😎 OCT 13 2024
27
27
  By F1xGOD 💀
28
+ Donate Crypto (Monero)
29
+ 48BKksKRWEgixzz1Yec3BH54ybDNCkmmWHLGtXRY42NPJqBowaeD5RTELqgABD1GzBT97pqrjW5PJHsNWzVyQ8zuL6tRBcY
28
30
  </pre>
29
31
 
32
+ ![GitHub license](https://img.shields.io/github/license/F1xGOD/basefwx?style=flat)
33
+ ![GitHub issues](https://img.shields.io/github/issues/F1xGOD/basefwx?label=Issues)
34
+ ![GitHub stars](https://img.shields.io/github/stars/F1xGOD/basefwx)
35
+ ![GitHub forks](https://img.shields.io/github/forks/F1xGOD/basefwx)
36
+ [![Discord](https://img.shields.io/discord/1130897522051788821?color=7289da&label=Discord&logo=discord&logoColor=ffffff)](https://discord.gg/3eRHYkjgk8)
37
+ [![Patreon](https://img.shields.io/endpoint.svg?url=https%3A%2F%2Fshieldsio-patreon.vercel.app%2Fapi%3Fusername%3DF1xGOD%26type%3Dpatrons)](https://patreon.com/F1xGOD)
38
+
30
39
  ## PRIVACY POLICY
31
40
 
32
41
  ### Last updated March 12, 2024
@@ -1,17 +1,3 @@
1
- Metadata-Version: 2.1
2
- Name: basefwx
3
- Version: 2.2
4
- Summary: With BaseFWX you can encode securely!
5
- Author-email: F1xGOD <f1xgodim@gmail.com>
6
- Project-URL: Homepage, https://github.com/F1xGOD/basefwx
7
- Project-URL: Issues, https://github.com/F1xGOD/basefwx/issues
8
- Classifier: Programming Language :: Python :: 3
9
- Classifier: License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)
10
- Classifier: Operating System :: OS Independent
11
- Requires-Python: >=3.8
12
- Description-Content-Type: text/markdown
13
- License-File: LICENCE
14
-
15
1
  <pre>
16
2
  ALL RIGHTS RESERVED
17
3
  _______ _ ______ ___
@@ -23,10 +9,19 @@ License-File: LICENCE
23
9
 
24
10
 
25
11
  FixCraft® Inc. FWX Encryption Copyright ©
26
- Version - v2.1 😎 OCT 13 2024
12
+ Version - v2.4 😎 OCT 13 2024
27
13
  By F1xGOD 💀
14
+ Donate Crypto (Monero)
15
+ 48BKksKRWEgixzz1Yec3BH54ybDNCkmmWHLGtXRY42NPJqBowaeD5RTELqgABD1GzBT97pqrjW5PJHsNWzVyQ8zuL6tRBcY
28
16
  </pre>
29
17
 
18
+ ![GitHub license](https://img.shields.io/github/license/F1xGOD/basefwx?style=flat)
19
+ ![GitHub issues](https://img.shields.io/github/issues/F1xGOD/basefwx?label=Issues)
20
+ ![GitHub stars](https://img.shields.io/github/stars/F1xGOD/basefwx)
21
+ ![GitHub forks](https://img.shields.io/github/forks/F1xGOD/basefwx)
22
+ [![Discord](https://img.shields.io/discord/1130897522051788821?color=7289da&label=Discord&logo=discord&logoColor=ffffff)](https://discord.gg/3eRHYkjgk8)
23
+ [![Patreon](https://img.shields.io/endpoint.svg?url=https%3A%2F%2Fshieldsio-patreon.vercel.app%2Fapi%3Fusername%3DF1xGOD%26type%3Dpatrons)](https://patreon.com/F1xGOD)
24
+
30
25
  ## PRIVACY POLICY
31
26
 
32
27
  ### Last updated March 12, 2024
@@ -165,7 +165,7 @@ class basefwx:
165
165
  return file.read()
166
166
 
167
167
  def encode(file: str, code: str):
168
- ext = basefwx.b512encode(pathlib.Path(file).suffix, code)
168
+ ext = basefwx.b512encode(self.pathlib.Path(file).suffix, code)
169
169
  en = str(basefwx.b512encode(self.base64.b64encode(read(file)).decode('utf-8'), code))
170
170
  return ext + "A8igTOmG" + en
171
171
 
@@ -177,9 +177,9 @@ class basefwx:
177
177
  f.close()
178
178
 
179
179
  def make_encoded(name, cd):
180
- write_fl(pathlib.Path(name).stem, encode(name, cd))
181
- self.os.chmod(pathlib.Path(pathlib.Path(name).stem + ".fwx"), 0)
182
- self.os.remove(pathlib.Path(pathlib.Path(name)))
180
+ write_fl(self.pathlib.Path(name).stem, encode(name, cd))
181
+ self.os.chmod(self.pathlib.Path(self.pathlib.Path(name).stem + ".fwx"), 0)
182
+ self.os.remove(self.pathlib.Path(self.pathlib.Path(name)))
183
183
  try:
184
184
  make_encoded(file,code)
185
185
  return "SUCCESS!"
@@ -205,7 +205,7 @@ class basefwx:
205
205
  f.close()
206
206
 
207
207
  def encode(file: str, code: str):
208
- ext = basefwx.b512encode(pathlib.Path(file).suffix, code)
208
+ ext = basefwx.b512encode(self.pathlib.Path(file).suffix, code)
209
209
  en = str(basefwx.b512encode(self.base64.b64encode(read(file)).decode('utf-8'), code))
210
210
  return ext + "A8igTOmG" + en
211
211
 
@@ -221,26 +221,26 @@ class basefwx:
221
221
  f.close()
222
222
 
223
223
  def make_decoded(name, cd):
224
- self.os.chmod(pathlib.Path(name), 0o777)
224
+ self.os.chmod(self.pathlib.Path(name), 0o777)
225
225
  try:
226
- ct = read_normal(pathlib.Path(name).stem + ".fwx")
227
- write(pathlib.Path(name).stem + decode(ct, cd)[1], decode(ct, cd)[0])
228
- self.os.remove(pathlib.Path(name))
226
+ ct = read_normal(self.pathlib.Path(name).stem + ".fwx")
227
+ write(self.pathlib.Path(name).stem + decode(ct, cd)[1], decode(ct, cd)[0])
228
+ self.os.remove(self.pathlib.Path(name))
229
229
  except:
230
- self.os.chmod(pathlib.Path(name), 0)
230
+ self.os.chmod(self.pathlib.Path(name), 0)
231
231
  print("Failed To Decode File, The Password Is Wrong Or The File Is Corrupted!")
232
232
  return "FAIL!"
233
233
 
234
234
  def make_encoded(name, cd):
235
- write_fl(pathlib.Path(name).stem, encode(name, cd))
236
- self.os.chmod(pathlib.Path(pathlib.Path(name).stem + ".fwx"), 0)
237
- self.os.remove(pathlib.Path(pathlib.Path(name)))
235
+ write_fl(self.pathlib.Path(name).stem, encode(name, cd))
236
+ self.os.chmod(self.pathlib.Path(self.pathlib.Path(name).stem + ".fwx"), 0)
237
+ self.os.remove(self.pathlib.Path(self.pathlib.Path(name)))
238
238
  return "SUCCESS!"
239
239
 
240
240
  if not self.os.path.isfile(file):
241
241
  print("\nFile Does Not Seem To Exist!")
242
242
  exit("-1")
243
- if pathlib.Path(file).suffix == ".fwx":
243
+ if self.pathlib.Path(file).suffix == ".fwx":
244
244
  v=make_decoded(file, password)
245
245
  else:
246
246
  v=make_encoded(file, password)
@@ -268,10 +268,10 @@ class basefwx:
268
268
  return [self.base64.b64decode(basefwx.b512decode(content.split("A8igTOmG")[1], code)), extd]
269
269
 
270
270
  def make_decoded(name, cd):
271
- self.os.chmod(pathlib.Path(name), 0o777)
272
- ct = read_normal(pathlib.Path(name).stem+".fwx")
273
- write(pathlib.Path(name).stem + decode(ct, cd)[1], decode(ct, cd)[0])
274
- self.os.remove(pathlib.Path(name))
271
+ self.os.chmod(self.pathlib.Path(name), 0o777)
272
+ ct = read_normal(self.pathlib.Path(name).stem+".fwx")
273
+ write(self.pathlib.Path(name).stem + decode(ct, cd)[1], decode(ct, cd)[0])
274
+ self.os.remove(self.pathlib.Path(name))
275
275
  try:
276
276
  make_decoded(file,code)
277
277
  return "SUCCESS!"
@@ -1,3 +1,17 @@
1
+ Metadata-Version: 2.1
2
+ Name: basefwx
3
+ Version: 2.4
4
+ Summary: With BaseFWX you can encode securely!
5
+ Author-email: F1xGOD <f1xgodim@gmail.com>
6
+ Project-URL: Homepage, https://github.com/F1xGOD/basefwx
7
+ Project-URL: Issues, https://github.com/F1xGOD/basefwx/issues
8
+ Classifier: Programming Language :: Python :: 3
9
+ Classifier: License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)
10
+ Classifier: Operating System :: OS Independent
11
+ Requires-Python: >=3.8
12
+ Description-Content-Type: text/markdown
13
+ License-File: LICENCE
14
+
1
15
  <pre>
2
16
  ALL RIGHTS RESERVED
3
17
  _______ _ ______ ___
@@ -9,10 +23,19 @@
9
23
 
10
24
 
11
25
  FixCraft® Inc. FWX Encryption Copyright ©
12
- Version - v2.1 😎 OCT 13 2024
26
+ Version - v2.4 😎 OCT 13 2024
13
27
  By F1xGOD 💀
28
+ Donate Crypto (Monero)
29
+ 48BKksKRWEgixzz1Yec3BH54ybDNCkmmWHLGtXRY42NPJqBowaeD5RTELqgABD1GzBT97pqrjW5PJHsNWzVyQ8zuL6tRBcY
14
30
  </pre>
15
31
 
32
+ ![GitHub license](https://img.shields.io/github/license/F1xGOD/basefwx?style=flat)
33
+ ![GitHub issues](https://img.shields.io/github/issues/F1xGOD/basefwx?label=Issues)
34
+ ![GitHub stars](https://img.shields.io/github/stars/F1xGOD/basefwx)
35
+ ![GitHub forks](https://img.shields.io/github/forks/F1xGOD/basefwx)
36
+ [![Discord](https://img.shields.io/discord/1130897522051788821?color=7289da&label=Discord&logo=discord&logoColor=ffffff)](https://discord.gg/3eRHYkjgk8)
37
+ [![Patreon](https://img.shields.io/endpoint.svg?url=https%3A%2F%2Fshieldsio-patreon.vercel.app%2Fapi%3Fusername%3DF1xGOD%26type%3Dpatrons)](https://patreon.com/F1xGOD)
38
+
16
39
  ## PRIVACY POLICY
17
40
 
18
41
  ### Last updated March 12, 2024
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "basefwx"
3
- version = "2.2"
3
+ version = "2.4"
4
4
  authors = [
5
5
  { name="F1xGOD", email="f1xgodim@gmail.com" },
6
6
  ]
@@ -2,7 +2,7 @@ from setuptools import setup, find_packages
2
2
 
3
3
  setup(
4
4
  name='basefwx',
5
- version='2.2',
5
+ version='2.4',
6
6
  packages=find_packages(),
7
7
  install_requires=[],
8
8
  description = 'With BaseFWX you can encode securely!',
File without changes
File without changes
File without changes