orionis 0.718.0__py3-none-any.whl → 0.719.0__py3-none-any.whl

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.
@@ -6,7 +6,7 @@
6
6
  NAME = "orionis"
7
7
 
8
8
  # Current version of the framework
9
- VERSION = "0.718.0"
9
+ VERSION = "0.719.0"
10
10
 
11
11
  # Full name of the author or maintainer of the project
12
12
  AUTHOR = "Raul Mauricio Uñate Castro"
@@ -1,14 +1,14 @@
1
- import re
2
1
  import base64
3
- import json
4
2
  import hashlib
3
+ import html
4
+ import json
5
+ import os
6
+ import re
7
+ import unicodedata
5
8
  import urllib.parse
6
9
  import uuid
7
- import os
8
- import html
9
10
  from datetime import datetime
10
- from typing import Any, Callable, Iterable, Optional, Union, List, Dict
11
- import unicodedata
11
+ from typing import Any, Callable, Dict, Iterable, List, Optional, Union
12
12
 
13
13
  class Stringable(str):
14
14
 
@@ -884,7 +884,7 @@ class Stringable(str):
884
884
  """
885
885
  return self.studly()
886
886
 
887
- def slug(self, separator: str = '-', language: str = 'en', dictionary: Optional[Dict[str, str]] = None) -> "Stringable":
887
+ def slug(self, separator: str = '-', dictionary: Optional[Dict[str, str]] = None) -> "Stringable":
888
888
  """
889
889
  Generate a URL friendly "slug" from a given string.
890
890
 
@@ -892,8 +892,6 @@ class Stringable(str):
892
892
  ----------
893
893
  separator : str, optional
894
894
  The separator to use, by default '-'
895
- language : str, optional
896
- The language for transliteration, by default 'en'
897
895
  dictionary : dict, optional
898
896
  Dictionary for character replacements, by default {'@': 'at'}
899
897
 
@@ -2987,8 +2985,6 @@ class Stringable(str):
2987
2985
  """
2988
2986
  return self.when(self.isUlid(), callback, default)
2989
2987
 
2990
-
2991
-
2992
2988
  def toDate(self, format_str: Optional[str] = None) -> Optional[datetime]:
2993
2989
  """
2994
2990
  Convert the string to a datetime object.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: orionis
3
- Version: 0.718.0
3
+ Version: 0.719.0
4
4
  Summary: Orionis Framework – Elegant, Fast, and Powerful.
5
5
  Home-page: https://github.com/orionis-framework/framework
6
6
  Author: Raul Mauricio Uñate Castro
@@ -207,7 +207,7 @@ orionis/foundation/providers/scheduler_provider.py,sha256=IrPQJwvQVLRm5Qnz0Cxon4
207
207
  orionis/foundation/providers/testing_provider.py,sha256=eI1p2lUlxl25b5Z487O4nmqLE31CTDb4c3Q21xFadkE,1615
208
208
  orionis/foundation/providers/workers_provider.py,sha256=GdHENYV_yGyqmHJHn0DCyWmWId5xWjD48e6Zq2PGCWY,1674
209
209
  orionis/metadata/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
210
- orionis/metadata/framework.py,sha256=tkP3XFrrHmDoPVIz_GFovPAgOfMMkvsHuka15_G5-28,4689
210
+ orionis/metadata/framework.py,sha256=EkYVacd164De7CcfqRBTxk0nm468sJ7GQIzFmISp4gc,4689
211
211
  orionis/metadata/package.py,sha256=s1JeGJPwdVh4jO3IOfmpwMuJ_oX6Vf9NL7jgPEQNf5Y,16050
212
212
  orionis/services/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
213
213
  orionis/services/asynchrony/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -348,7 +348,7 @@ orionis/support/standard/contracts/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQe
348
348
  orionis/support/standard/contracts/std.py,sha256=SJ44qIFDCp4jHL18k4sji5Mt_MN16lpg-0ku1qudh04,3331
349
349
  orionis/support/standard/exceptions/__init__.py,sha256=GovJ24C8fCOlnU5_TrMJKngYNcJ1rvJnF9WFTA8ktyw,96
350
350
  orionis/support/standard/exceptions/standard.py,sha256=BM0VHLRYD7SzoMJkaA7BxY5280v81hlj1Xslu0UaFag,788
351
- orionis/support/types/stringable.py,sha256=40-n1OzZaorBOdANXpDiPXW4mXUhAPwrxeKNKd4nSmA,94104
351
+ orionis/support/types/stringable.py,sha256=6Kx1tXULZX_Mjoha3_-RQfVD35RA7WbWTKjdVDv84ow,93981
352
352
  orionis/support/wrapper/__init__.py,sha256=jGoWoIGYuRYqMYQKlrX7Dpcbg-AGkHoB_aM2xhu73yc,62
353
353
  orionis/support/wrapper/dataclass.py,sha256=D2g9vHc6F0T7qLpzDwWUAiohcYz8Gcs2Ph5rLaOhqMo,9432
354
354
  orionis/support/wrapper/dot_dict.py,sha256=T8xWwwOhBZHNeXRwE_CxvOwG9UFxsLqNmOJjV2CNIrc,7284
@@ -401,8 +401,8 @@ orionis/test/validators/workers.py,sha256=HcZ3cnrk6u7cvM1xZpn_lsglHAq69_jx9RcTSv
401
401
  orionis/test/view/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
402
402
  orionis/test/view/render.py,sha256=arysoswhkV2vUd2aVMZRPpmH317jaWbgjDpQ_AWQ5AE,5663
403
403
  orionis/test/view/report.stub,sha256=QLqqCdRoENr3ECiritRB3DO_MOjRQvgBh5jxZ3Hs1r0,28189
404
- orionis-0.718.0.dist-info/licenses/LICENCE,sha256=JhC-z_9mbpUrCfPjcl3DhDA8trNDMzb57cvRSam1avc,1463
405
- orionis-0.718.0.dist-info/METADATA,sha256=3eOyLbifJL9c81ndhu_dZGxe0_Yygvu63OQsWb-Oj4E,4931
406
- orionis-0.718.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
407
- orionis-0.718.0.dist-info/top_level.txt,sha256=lyXi6jArpqJ-0zzNqd_uwsH-z9TCEBVBL-pC3Ekv7hU,8
408
- orionis-0.718.0.dist-info/RECORD,,
404
+ orionis-0.719.0.dist-info/licenses/LICENCE,sha256=JhC-z_9mbpUrCfPjcl3DhDA8trNDMzb57cvRSam1avc,1463
405
+ orionis-0.719.0.dist-info/METADATA,sha256=h88WnuRcIzuWuMQ6k2oYEZG_4ZwJcmsNB3cYzEE8jAU,4931
406
+ orionis-0.719.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
407
+ orionis-0.719.0.dist-info/top_level.txt,sha256=lyXi6jArpqJ-0zzNqd_uwsH-z9TCEBVBL-pC3Ekv7hU,8
408
+ orionis-0.719.0.dist-info/RECORD,,