persiantools 5.4.0__tar.gz → 5.5.0__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.
- {persiantools-5.4.0/persiantools.egg-info → persiantools-5.5.0}/PKG-INFO +6 -18
- {persiantools-5.4.0 → persiantools-5.5.0}/persiantools/__init__.py +1 -1
- {persiantools-5.4.0 → persiantools-5.5.0/persiantools.egg-info}/PKG-INFO +6 -18
- {persiantools-5.4.0 → persiantools-5.5.0}/persiantools.egg-info/SOURCES.txt +0 -2
- persiantools-5.5.0/pyproject.toml +104 -0
- persiantools-5.4.0/persiantools.egg-info/not-zip-safe +0 -1
- persiantools-5.4.0/pyproject.toml +0 -39
- persiantools-5.4.0/setup.py +0 -60
- {persiantools-5.4.0 → persiantools-5.5.0}/LICENSE +0 -0
- {persiantools-5.4.0 → persiantools-5.5.0}/MANIFEST.in +0 -0
- {persiantools-5.4.0 → persiantools-5.5.0}/README.md +0 -0
- {persiantools-5.4.0 → persiantools-5.5.0}/persiantools/characters.py +0 -0
- {persiantools-5.4.0 → persiantools-5.5.0}/persiantools/digits.py +0 -0
- {persiantools-5.4.0 → persiantools-5.5.0}/persiantools/jdatetime.py +0 -0
- {persiantools-5.4.0 → persiantools-5.5.0}/persiantools/utils.py +0 -0
- {persiantools-5.4.0 → persiantools-5.5.0}/persiantools.egg-info/dependency_links.txt +0 -0
- {persiantools-5.4.0 → persiantools-5.5.0}/persiantools.egg-info/requires.txt +0 -0
- {persiantools-5.4.0 → persiantools-5.5.0}/persiantools.egg-info/top_level.txt +0 -0
- {persiantools-5.4.0 → persiantools-5.5.0}/setup.cfg +0 -0
- {persiantools-5.4.0 → persiantools-5.5.0}/tests/test_characters.py +0 -0
- {persiantools-5.4.0 → persiantools-5.5.0}/tests/test_digits.py +0 -0
- {persiantools-5.4.0 → persiantools-5.5.0}/tests/test_jalalidate.py +0 -0
- {persiantools-5.4.0 → persiantools-5.5.0}/tests/test_jalalidatetime.py +0 -0
- {persiantools-5.4.0 → persiantools-5.5.0}/tests/test_utils.py +0 -0
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: persiantools
|
|
3
|
-
Version: 5.
|
|
3
|
+
Version: 5.5.0
|
|
4
4
|
Summary: Jalali date and datetime with other tools
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
License: MIT
|
|
5
|
+
Author-email: Majid Hajiloo <majid.hajiloo@gmail.com>
|
|
6
|
+
License-Expression: MIT
|
|
7
|
+
Project-URL: Homepage, https://github.com/majiidd/persiantools
|
|
9
8
|
Project-URL: Source, https://github.com/majiidd/persiantools
|
|
10
9
|
Project-URL: Issues, https://github.com/majiidd/persiantools/issues
|
|
11
|
-
Keywords: jalali
|
|
10
|
+
Keywords: jalali,shamsi,persian,digits,characters,converter,jalalidate,jalalidatetime,date,datetime,jdate,jdatetime,farsi
|
|
12
11
|
Classifier: Intended Audience :: Developers
|
|
13
12
|
Classifier: Natural Language :: Persian
|
|
14
13
|
Classifier: Operating System :: OS Independent
|
|
@@ -19,6 +18,7 @@ Classifier: Programming Language :: Python :: 3.10
|
|
|
19
18
|
Classifier: Programming Language :: Python :: 3.11
|
|
20
19
|
Classifier: Programming Language :: Python :: 3.12
|
|
21
20
|
Classifier: Programming Language :: Python :: 3.13
|
|
21
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
22
22
|
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
23
23
|
Classifier: Programming Language :: Python :: Implementation :: PyPy
|
|
24
24
|
Classifier: Topic :: Software Development
|
|
@@ -30,19 +30,7 @@ Requires-Python: >=3.9
|
|
|
30
30
|
Description-Content-Type: text/markdown
|
|
31
31
|
License-File: LICENSE
|
|
32
32
|
Requires-Dist: tzdata; platform_system == "Windows"
|
|
33
|
-
Dynamic: author
|
|
34
|
-
Dynamic: author-email
|
|
35
|
-
Dynamic: classifier
|
|
36
|
-
Dynamic: description
|
|
37
|
-
Dynamic: description-content-type
|
|
38
|
-
Dynamic: home-page
|
|
39
|
-
Dynamic: keywords
|
|
40
|
-
Dynamic: license
|
|
41
33
|
Dynamic: license-file
|
|
42
|
-
Dynamic: project-url
|
|
43
|
-
Dynamic: requires-dist
|
|
44
|
-
Dynamic: requires-python
|
|
45
|
-
Dynamic: summary
|
|
46
34
|
|
|
47
35
|
# PersianTools
|
|
48
36
|
|
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: persiantools
|
|
3
|
-
Version: 5.
|
|
3
|
+
Version: 5.5.0
|
|
4
4
|
Summary: Jalali date and datetime with other tools
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
License: MIT
|
|
5
|
+
Author-email: Majid Hajiloo <majid.hajiloo@gmail.com>
|
|
6
|
+
License-Expression: MIT
|
|
7
|
+
Project-URL: Homepage, https://github.com/majiidd/persiantools
|
|
9
8
|
Project-URL: Source, https://github.com/majiidd/persiantools
|
|
10
9
|
Project-URL: Issues, https://github.com/majiidd/persiantools/issues
|
|
11
|
-
Keywords: jalali
|
|
10
|
+
Keywords: jalali,shamsi,persian,digits,characters,converter,jalalidate,jalalidatetime,date,datetime,jdate,jdatetime,farsi
|
|
12
11
|
Classifier: Intended Audience :: Developers
|
|
13
12
|
Classifier: Natural Language :: Persian
|
|
14
13
|
Classifier: Operating System :: OS Independent
|
|
@@ -19,6 +18,7 @@ Classifier: Programming Language :: Python :: 3.10
|
|
|
19
18
|
Classifier: Programming Language :: Python :: 3.11
|
|
20
19
|
Classifier: Programming Language :: Python :: 3.12
|
|
21
20
|
Classifier: Programming Language :: Python :: 3.13
|
|
21
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
22
22
|
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
23
23
|
Classifier: Programming Language :: Python :: Implementation :: PyPy
|
|
24
24
|
Classifier: Topic :: Software Development
|
|
@@ -30,19 +30,7 @@ Requires-Python: >=3.9
|
|
|
30
30
|
Description-Content-Type: text/markdown
|
|
31
31
|
License-File: LICENSE
|
|
32
32
|
Requires-Dist: tzdata; platform_system == "Windows"
|
|
33
|
-
Dynamic: author
|
|
34
|
-
Dynamic: author-email
|
|
35
|
-
Dynamic: classifier
|
|
36
|
-
Dynamic: description
|
|
37
|
-
Dynamic: description-content-type
|
|
38
|
-
Dynamic: home-page
|
|
39
|
-
Dynamic: keywords
|
|
40
|
-
Dynamic: license
|
|
41
33
|
Dynamic: license-file
|
|
42
|
-
Dynamic: project-url
|
|
43
|
-
Dynamic: requires-dist
|
|
44
|
-
Dynamic: requires-python
|
|
45
|
-
Dynamic: summary
|
|
46
34
|
|
|
47
35
|
# PersianTools
|
|
48
36
|
|
|
@@ -2,7 +2,6 @@ LICENSE
|
|
|
2
2
|
MANIFEST.in
|
|
3
3
|
README.md
|
|
4
4
|
pyproject.toml
|
|
5
|
-
setup.py
|
|
6
5
|
persiantools/__init__.py
|
|
7
6
|
persiantools/characters.py
|
|
8
7
|
persiantools/digits.py
|
|
@@ -11,7 +10,6 @@ persiantools/utils.py
|
|
|
11
10
|
persiantools.egg-info/PKG-INFO
|
|
12
11
|
persiantools.egg-info/SOURCES.txt
|
|
13
12
|
persiantools.egg-info/dependency_links.txt
|
|
14
|
-
persiantools.egg-info/not-zip-safe
|
|
15
13
|
persiantools.egg-info/requires.txt
|
|
16
14
|
persiantools.egg-info/top_level.txt
|
|
17
15
|
tests/test_characters.py
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
[build-system]
|
|
2
|
+
requires = ["setuptools>=80.0"]
|
|
3
|
+
build-backend = "setuptools.build_meta"
|
|
4
|
+
|
|
5
|
+
[project]
|
|
6
|
+
name = "persiantools"
|
|
7
|
+
dynamic = ["version"]
|
|
8
|
+
description = "Jalali date and datetime with other tools"
|
|
9
|
+
readme = "README.md"
|
|
10
|
+
license = "MIT"
|
|
11
|
+
requires-python = ">=3.9"
|
|
12
|
+
authors = [
|
|
13
|
+
{ name = "Majid Hajiloo", email = "majid.hajiloo@gmail.com" }
|
|
14
|
+
]
|
|
15
|
+
keywords = [
|
|
16
|
+
"jalali",
|
|
17
|
+
"shamsi",
|
|
18
|
+
"persian",
|
|
19
|
+
"digits",
|
|
20
|
+
"characters",
|
|
21
|
+
"converter",
|
|
22
|
+
"jalalidate",
|
|
23
|
+
"jalalidatetime",
|
|
24
|
+
"date",
|
|
25
|
+
"datetime",
|
|
26
|
+
"jdate",
|
|
27
|
+
"jdatetime",
|
|
28
|
+
"farsi",
|
|
29
|
+
]
|
|
30
|
+
classifiers = [
|
|
31
|
+
"Intended Audience :: Developers",
|
|
32
|
+
"Natural Language :: Persian",
|
|
33
|
+
"Operating System :: OS Independent",
|
|
34
|
+
"Programming Language :: Python",
|
|
35
|
+
"Programming Language :: Python :: 3",
|
|
36
|
+
"Programming Language :: Python :: 3.9",
|
|
37
|
+
"Programming Language :: Python :: 3.10",
|
|
38
|
+
"Programming Language :: Python :: 3.11",
|
|
39
|
+
"Programming Language :: Python :: 3.12",
|
|
40
|
+
"Programming Language :: Python :: 3.13",
|
|
41
|
+
"Programming Language :: Python :: 3.14",
|
|
42
|
+
"Programming Language :: Python :: Implementation :: CPython",
|
|
43
|
+
"Programming Language :: Python :: Implementation :: PyPy",
|
|
44
|
+
"Topic :: Software Development",
|
|
45
|
+
"Topic :: Software Development :: Libraries",
|
|
46
|
+
"Topic :: Software Development :: Libraries :: Python Modules",
|
|
47
|
+
"Topic :: Software Development :: Localization",
|
|
48
|
+
"Topic :: Utilities",
|
|
49
|
+
]
|
|
50
|
+
|
|
51
|
+
dependencies = [
|
|
52
|
+
"tzdata; platform_system == 'Windows'",
|
|
53
|
+
]
|
|
54
|
+
|
|
55
|
+
[project.urls]
|
|
56
|
+
Homepage = "https://github.com/majiidd/persiantools"
|
|
57
|
+
Source = "https://github.com/majiidd/persiantools"
|
|
58
|
+
Issues = "https://github.com/majiidd/persiantools/issues"
|
|
59
|
+
|
|
60
|
+
[tool.setuptools.dynamic]
|
|
61
|
+
version = { attr = "persiantools.__version__" }
|
|
62
|
+
|
|
63
|
+
[tool.setuptools.packages.find]
|
|
64
|
+
include = ["persiantools*"]
|
|
65
|
+
|
|
66
|
+
[tool.black]
|
|
67
|
+
line-length = 120
|
|
68
|
+
target-version = ["py39", "py310", "py311", "py312", "py313", "py314"]
|
|
69
|
+
include = '\.pyi?$'
|
|
70
|
+
exclude = '''
|
|
71
|
+
(
|
|
72
|
+
/(
|
|
73
|
+
\.eggs
|
|
74
|
+
| \.git
|
|
75
|
+
| \.hg
|
|
76
|
+
| \.mypy_cache
|
|
77
|
+
| \.tox
|
|
78
|
+
| \.venv
|
|
79
|
+
| _build
|
|
80
|
+
| buck-out
|
|
81
|
+
| build
|
|
82
|
+
| dist
|
|
83
|
+
)/
|
|
84
|
+
)
|
|
85
|
+
'''
|
|
86
|
+
|
|
87
|
+
[tool.isort]
|
|
88
|
+
profile = "black"
|
|
89
|
+
line_length = 120
|
|
90
|
+
|
|
91
|
+
[tool.pytest.ini_options]
|
|
92
|
+
addopts = "-ra"
|
|
93
|
+
testpaths = ["tests"]
|
|
94
|
+
python_files = ["test_*.py"]
|
|
95
|
+
python_functions = ["test_*"]
|
|
96
|
+
|
|
97
|
+
[tool.mypy]
|
|
98
|
+
python_version = "3.9"
|
|
99
|
+
warn_unused_ignores = true
|
|
100
|
+
warn_redundant_casts = true
|
|
101
|
+
disallow_incomplete_defs = false
|
|
102
|
+
no_implicit_optional = true
|
|
103
|
+
check_untyped_defs = false
|
|
104
|
+
ignore_missing_imports = false
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
[tool.black]
|
|
2
|
-
line-length = 120
|
|
3
|
-
target-version = ["py39", "py310", "py311", "py312", "py313"]
|
|
4
|
-
include = '\.pyi?$'
|
|
5
|
-
exclude = '''
|
|
6
|
-
(
|
|
7
|
-
/(
|
|
8
|
-
\.eggs
|
|
9
|
-
| \.git
|
|
10
|
-
| \.hg
|
|
11
|
-
| \.mypy_cache
|
|
12
|
-
| \.tox
|
|
13
|
-
| \.venv
|
|
14
|
-
| _build
|
|
15
|
-
| buck-out
|
|
16
|
-
| build
|
|
17
|
-
| dist
|
|
18
|
-
)/
|
|
19
|
-
)
|
|
20
|
-
'''
|
|
21
|
-
|
|
22
|
-
[tool.isort]
|
|
23
|
-
profile = "black"
|
|
24
|
-
line_length = 120
|
|
25
|
-
|
|
26
|
-
[tool.pytest.ini_options]
|
|
27
|
-
addopts = "-ra"
|
|
28
|
-
testpaths = ["tests"]
|
|
29
|
-
python_files = ["test_*.py"]
|
|
30
|
-
python_functions = ["test_*"]
|
|
31
|
-
|
|
32
|
-
[tool.mypy]
|
|
33
|
-
python_version = "3.9"
|
|
34
|
-
warn_unused_ignores = true
|
|
35
|
-
warn_redundant_casts = true
|
|
36
|
-
disallow_incomplete_defs = false
|
|
37
|
-
no_implicit_optional = true
|
|
38
|
-
check_untyped_defs = false
|
|
39
|
-
ignore_missing_imports = false
|
persiantools-5.4.0/setup.py
DELETED
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
import re
|
|
2
|
-
|
|
3
|
-
from setuptools import setup
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
def readme():
|
|
7
|
-
with open("README.md", encoding="utf-8") as f:
|
|
8
|
-
return f.read()
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
def read_version():
|
|
12
|
-
with open("persiantools/__init__.py", encoding="utf-8") as f:
|
|
13
|
-
m = re.search(r"^__version__\s*=\s*['\"]([^'\"]+)['\"]", f.read(), re.M)
|
|
14
|
-
if not m:
|
|
15
|
-
raise RuntimeError("Cannot find __version__ in persiantools/__init__.py")
|
|
16
|
-
return m.group(1)
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
setup(
|
|
20
|
-
name="persiantools",
|
|
21
|
-
version=read_version(),
|
|
22
|
-
description="Jalali date and datetime with other tools",
|
|
23
|
-
long_description=readme(),
|
|
24
|
-
long_description_content_type="text/markdown",
|
|
25
|
-
classifiers=[
|
|
26
|
-
"Intended Audience :: Developers",
|
|
27
|
-
"Natural Language :: Persian",
|
|
28
|
-
"Operating System :: OS Independent",
|
|
29
|
-
"Programming Language :: Python",
|
|
30
|
-
"Programming Language :: Python :: 3",
|
|
31
|
-
"Programming Language :: Python :: 3.9",
|
|
32
|
-
"Programming Language :: Python :: 3.10",
|
|
33
|
-
"Programming Language :: Python :: 3.11",
|
|
34
|
-
"Programming Language :: Python :: 3.12",
|
|
35
|
-
"Programming Language :: Python :: 3.13",
|
|
36
|
-
"Programming Language :: Python :: Implementation :: CPython",
|
|
37
|
-
"Programming Language :: Python :: Implementation :: PyPy",
|
|
38
|
-
"Topic :: Software Development",
|
|
39
|
-
"Topic :: Software Development :: Libraries",
|
|
40
|
-
"Topic :: Software Development :: Libraries :: Python Modules",
|
|
41
|
-
"Topic :: Software Development :: Localization",
|
|
42
|
-
"Topic :: Utilities",
|
|
43
|
-
],
|
|
44
|
-
keywords="jalali shamsi persian digits characters converter jalalidate "
|
|
45
|
-
"jalalidatetime date datetime jdate jdatetime farsi",
|
|
46
|
-
url="https://github.com/majiidd/persiantools",
|
|
47
|
-
project_urls={
|
|
48
|
-
"Source": "https://github.com/majiidd/persiantools",
|
|
49
|
-
"Issues": "https://github.com/majiidd/persiantools/issues",
|
|
50
|
-
},
|
|
51
|
-
author="Majid Hajiloo",
|
|
52
|
-
author_email="majid.hajiloo@gmail.com",
|
|
53
|
-
license="MIT",
|
|
54
|
-
license_files=("LICENSE",),
|
|
55
|
-
packages=["persiantools"],
|
|
56
|
-
python_requires=">=3.9",
|
|
57
|
-
install_requires=["tzdata; platform_system == 'Windows'"],
|
|
58
|
-
include_package_data=True,
|
|
59
|
-
zip_safe=False,
|
|
60
|
-
)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|