dashlab 0.1.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.
- dashlab-0.1.0/LICENSE +21 -0
- dashlab-0.1.0/PKG-INFO +33 -0
- dashlab-0.1.0/README.md +3 -0
- dashlab-0.1.0/dashlab/__init__.py +7 -0
- dashlab-0.1.0/dashlab/__version__.py +1 -0
- dashlab-0.1.0/dashlab.egg-info/PKG-INFO +33 -0
- dashlab-0.1.0/dashlab.egg-info/SOURCES.txt +11 -0
- dashlab-0.1.0/dashlab.egg-info/dependency_links.txt +1 -0
- dashlab-0.1.0/dashlab.egg-info/entry_points.txt +3 -0
- dashlab-0.1.0/dashlab.egg-info/requires.txt +2 -0
- dashlab-0.1.0/dashlab.egg-info/top_level.txt +1 -0
- dashlab-0.1.0/setup.cfg +4 -0
- dashlab-0.1.0/setup.py +132 -0
dashlab-0.1.0/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2025 Abdul Saboor
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
dashlab-0.1.0/PKG-INFO
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: dashlab
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Summary: A Python package for dashboard and data visualization tools.
|
|
5
|
+
Home-page: https://github.com/asaboor-gh/dashlab
|
|
6
|
+
Author: Abdul Saboor
|
|
7
|
+
Author-email: asaboor.my@outlook.com
|
|
8
|
+
License: MIT
|
|
9
|
+
Project-URL: Bug Tracker, https://github.com/asaboor-gh/dashlab/issues
|
|
10
|
+
Keywords: Dashboard,Data Visualization,Python,Analytics
|
|
11
|
+
Platform: UNKNOWN
|
|
12
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
13
|
+
Classifier: Programming Language :: Python :: 3
|
|
14
|
+
Classifier: Programming Language :: Python :: 3.9
|
|
15
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
18
|
+
Classifier: Operating System :: OS Independent
|
|
19
|
+
Classifier: Development Status :: 3 - Alpha
|
|
20
|
+
Classifier: Intended Audience :: Developers
|
|
21
|
+
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
22
|
+
Classifier: Topic :: Scientific/Engineering :: Visualization
|
|
23
|
+
Requires-Python: >=3.9
|
|
24
|
+
Description-Content-Type: text/markdown
|
|
25
|
+
Provides-Extra: extra
|
|
26
|
+
License-File: LICENSE
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
This is going to replace einteract and should be minimal dependency package,
|
|
30
|
+
such as ipython Markdown instead of ipyslides markdown and not having fancy formatting
|
|
31
|
+
for random python objects, just str to Markdown and widgets only.
|
|
32
|
+
|
|
33
|
+
|
dashlab-0.1.0/README.md
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "0.1.0"
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: dashlab
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Summary: A Python package for dashboard and data visualization tools.
|
|
5
|
+
Home-page: https://github.com/asaboor-gh/dashlab
|
|
6
|
+
Author: Abdul Saboor
|
|
7
|
+
Author-email: asaboor.my@outlook.com
|
|
8
|
+
License: MIT
|
|
9
|
+
Project-URL: Bug Tracker, https://github.com/asaboor-gh/dashlab/issues
|
|
10
|
+
Keywords: Dashboard,Data Visualization,Python,Analytics
|
|
11
|
+
Platform: UNKNOWN
|
|
12
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
13
|
+
Classifier: Programming Language :: Python :: 3
|
|
14
|
+
Classifier: Programming Language :: Python :: 3.9
|
|
15
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
18
|
+
Classifier: Operating System :: OS Independent
|
|
19
|
+
Classifier: Development Status :: 3 - Alpha
|
|
20
|
+
Classifier: Intended Audience :: Developers
|
|
21
|
+
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
22
|
+
Classifier: Topic :: Scientific/Engineering :: Visualization
|
|
23
|
+
Requires-Python: >=3.9
|
|
24
|
+
Description-Content-Type: text/markdown
|
|
25
|
+
Provides-Extra: extra
|
|
26
|
+
License-File: LICENSE
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
This is going to replace einteract and should be minimal dependency package,
|
|
30
|
+
such as ipython Markdown instead of ipyslides markdown and not having fancy formatting
|
|
31
|
+
for random python objects, just str to Markdown and widgets only.
|
|
32
|
+
|
|
33
|
+
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
LICENSE
|
|
2
|
+
README.md
|
|
3
|
+
setup.py
|
|
4
|
+
dashlab/__init__.py
|
|
5
|
+
dashlab/__version__.py
|
|
6
|
+
dashlab.egg-info/PKG-INFO
|
|
7
|
+
dashlab.egg-info/SOURCES.txt
|
|
8
|
+
dashlab.egg-info/dependency_links.txt
|
|
9
|
+
dashlab.egg-info/entry_points.txt
|
|
10
|
+
dashlab.egg-info/requires.txt
|
|
11
|
+
dashlab.egg-info/top_level.txt
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
dashlab
|
dashlab-0.1.0/setup.cfg
ADDED
dashlab-0.1.0/setup.py
ADDED
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
import os, sys
|
|
2
|
+
from shutil import rmtree
|
|
3
|
+
|
|
4
|
+
from setuptools import setup, Command, find_packages
|
|
5
|
+
|
|
6
|
+
if sys.version_info[:2] < (3, 9):
|
|
7
|
+
sys.exit("Sorry, Python < 3.9 is not supported for dashlab")
|
|
8
|
+
|
|
9
|
+
# Package meta-data.
|
|
10
|
+
NAME = "dashlab"
|
|
11
|
+
DESCRIPTION = (
|
|
12
|
+
"A Python package for dashboard and data visualization tools."
|
|
13
|
+
)
|
|
14
|
+
URL = "https://github.com/asaboor-gh/dashlab"
|
|
15
|
+
EMAIL = "asaboor.my@outlook.com"
|
|
16
|
+
AUTHOR = "Abdul Saboor"
|
|
17
|
+
REQUIRES_PYTHON = ">=3.9"
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
# What packages are required for this module to be executed?
|
|
21
|
+
REQUIRED = [
|
|
22
|
+
# Add your required dependencies here
|
|
23
|
+
]
|
|
24
|
+
|
|
25
|
+
# What packages are optional?
|
|
26
|
+
EXTRAS = {
|
|
27
|
+
"extra": [],
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
KEYWORDS = ["Dashboard", "Data Visualization", "Python", "Analytics"]
|
|
31
|
+
PROJECT_URLS = {
|
|
32
|
+
"Bug Tracker": "https://github.com/asaboor-gh/dashlab/issues",
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
here = os.path.abspath(os.path.dirname(__file__))
|
|
36
|
+
|
|
37
|
+
# Import the README and use it as the long-description.
|
|
38
|
+
# Note: this will only work if 'README.md' is present in your MANIFEST.in file!
|
|
39
|
+
try:
|
|
40
|
+
with open(os.path.join(here, "README.md"), encoding="utf-8") as f:
|
|
41
|
+
long_description = "\n" + f.read()
|
|
42
|
+
except FileNotFoundError:
|
|
43
|
+
long_description = DESCRIPTION
|
|
44
|
+
|
|
45
|
+
# Load the package's __version__.py module as a dictionary.
|
|
46
|
+
about = {"__version__": "0.1.0"}
|
|
47
|
+
with open(os.path.join(here, NAME, "__version__.py")) as f:
|
|
48
|
+
exec(f.read(), about)
|
|
49
|
+
|
|
50
|
+
class UploadCommand(Command):
|
|
51
|
+
"""Support setup.py upload."""
|
|
52
|
+
|
|
53
|
+
description = "Build and publish the package."
|
|
54
|
+
user_options = []
|
|
55
|
+
|
|
56
|
+
@staticmethod
|
|
57
|
+
def status(s):
|
|
58
|
+
print(f'\n\033[1;92m{s}\033[0m\n{"-" * 50}')
|
|
59
|
+
|
|
60
|
+
def initialize_options(self):
|
|
61
|
+
pass
|
|
62
|
+
|
|
63
|
+
def finalize_options(self):
|
|
64
|
+
pass
|
|
65
|
+
|
|
66
|
+
def run(self):
|
|
67
|
+
try:
|
|
68
|
+
self.status("Removing previous dist …")
|
|
69
|
+
rmtree(os.path.join(here, "dist"))
|
|
70
|
+
except OSError:
|
|
71
|
+
pass
|
|
72
|
+
|
|
73
|
+
self.status("Building Source and Wheel (universal) distribution …")
|
|
74
|
+
os.system("{0} setup.py sdist bdist_wheel --universal".format(sys.executable))
|
|
75
|
+
|
|
76
|
+
self.status("Uploading the package to PyPI via Twine …")
|
|
77
|
+
os.system("twine upload dist/*")
|
|
78
|
+
|
|
79
|
+
yes_no = input("Upload this version to GitHub? [y/n]: ")
|
|
80
|
+
if yes_no.lower() == "y":
|
|
81
|
+
self.status("Pushing git tags…")
|
|
82
|
+
os.system("git tag v{0}".format(about["__version__"]))
|
|
83
|
+
os.system("git push --tags")
|
|
84
|
+
|
|
85
|
+
sys.exit()
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
# Where the magic happens:
|
|
89
|
+
setup(
|
|
90
|
+
name=NAME,
|
|
91
|
+
version=about["__version__"],
|
|
92
|
+
description=DESCRIPTION,
|
|
93
|
+
long_description=long_description,
|
|
94
|
+
long_description_content_type="text/markdown",
|
|
95
|
+
author=AUTHOR,
|
|
96
|
+
author_email=EMAIL,
|
|
97
|
+
python_requires=REQUIRES_PYTHON,
|
|
98
|
+
url=URL,
|
|
99
|
+
packages=find_packages(exclude=["tests", "*.tests", "*.tests.*", "tests.*"]),
|
|
100
|
+
# entry_points={
|
|
101
|
+
# 'console_scripts': ['mycli=mymodule:cli'],
|
|
102
|
+
# },
|
|
103
|
+
install_requires=REQUIRED,
|
|
104
|
+
extras_require=EXTRAS,
|
|
105
|
+
include_package_data=True,
|
|
106
|
+
license="MIT",
|
|
107
|
+
classifiers=[
|
|
108
|
+
# Trove classifiers
|
|
109
|
+
# Full list: https://pypi.python.org/pypi?%3Aaction=list_classifiers
|
|
110
|
+
"License :: OSI Approved :: MIT License",
|
|
111
|
+
"Programming Language :: Python :: 3",
|
|
112
|
+
"Programming Language :: Python :: 3.9",
|
|
113
|
+
"Programming Language :: Python :: 3.10",
|
|
114
|
+
"Programming Language :: Python :: 3.11",
|
|
115
|
+
"Programming Language :: Python :: 3.12",
|
|
116
|
+
"Operating System :: OS Independent",
|
|
117
|
+
"Development Status :: 3 - Alpha",
|
|
118
|
+
"Intended Audience :: Developers",
|
|
119
|
+
"Topic :: Software Development :: Libraries :: Python Modules",
|
|
120
|
+
"Topic :: Scientific/Engineering :: Visualization",
|
|
121
|
+
],
|
|
122
|
+
keywords=KEYWORDS,
|
|
123
|
+
project_urls=PROJECT_URLS,
|
|
124
|
+
# $ setup.py publish support.
|
|
125
|
+
cmdclass={
|
|
126
|
+
"upload": UploadCommand,
|
|
127
|
+
},
|
|
128
|
+
# for command line interface
|
|
129
|
+
entry_points={
|
|
130
|
+
"console_scripts": []
|
|
131
|
+
},
|
|
132
|
+
)
|