meerschaum.utils.packages._packages

Directory of necessary packages

packages dictionary is structured in the following schema: { : { : } }

  1#! /usr/bin/env python
  2# -*- coding: utf-8 -*-
  3# vim:fenc=utf-8
  4
  5"""
  6Directory of necessary packages
  7
  8packages dictionary is structured in the following schema:
  9    {
 10        <group> : {
 11            <import_name> : <install_name>
 12        }
 13    }
 14"""
 15
 16from __future__ import annotations
 17from meerschaum.utils.typing import Dict
 18
 19_MRSM_PACKAGE_ARCHIVES_PREFIX: str = "https://meerschaum.io/files/archives/wheels/"
 20
 21packages: Dict[str, Dict[str, str]] = {
 22    'required': {},
 23    'minimal': {},
 24    'formatting': {
 25        'pprintpp'                   : 'pprintpp>=0.4.0',
 26        'asciitree'                  : 'asciitree>=0.3.3',
 27        'typing_extensions'          : 'typing-extensions>=4.7.1',
 28        'pygments'                   : 'pygments>=2.7.2',
 29        'colorama'                   : 'colorama>=0.4.3',
 30        'rich'                       : 'rich>=13.4.2',
 31        'more_termcolor'             : 'more-termcolor>=1.1.3',
 32        'humanfriendly'              : 'humanfriendly>=10.0.0',
 33    },
 34    'core': {
 35        'wheel'                      : 'wheel>=0.34.2',
 36        'setuptools'                 : 'setuptools>=63.3.0',
 37        'yaml'                       : 'PyYAML>=5.3.1',
 38        'pip'                        : 'pip>=22.0.4',
 39        'update_checker'             : 'update-checker>=0.18.0',
 40        'semver'                     : 'semver>=3.0.2',
 41        'pathspec'                   : 'pathspec>=0.9.0',
 42        'dateutil'                   : 'python-dateutil>=2.7.5',
 43        'requests'                   : 'requests>=2.32.3',
 44        'certifi'                    : 'certifi>=2024.8.30',
 45        'idna'                       : 'idna>=3.10.0',
 46        'binaryornot'                : 'binaryornot>=0.4.4',
 47        'pyvim'                      : 'pyvim>=3.0.2',
 48        'ptpython'                   : 'ptpython>=3.0.27',
 49        'aiofiles'                   : 'aiofiles>=0.6.0',
 50        'packaging'                  : 'packaging>=21.3.0',
 51        'prompt_toolkit'             : 'prompt-toolkit>=3.0.39',
 52        'more_itertools'             : 'more-itertools>=8.7.0',
 53        'fasteners'                  : 'fasteners>=0.19.0',
 54        'virtualenv'                 : 'virtualenv>=20.1.0',
 55        'attrs'                      : 'attrs>=24.2.0',
 56        'uv'                         : 'uv>=0.2.11',
 57    },
 58    '_internal'                      : {
 59        'apscheduler'                : (
 60                                       f"{_MRSM_PACKAGE_ARCHIVES_PREFIX}"
 61                                       "APScheduler-4.0.0a5.post87+mrsm-py3-none-any.whl>=4.0.0a5"
 62        ),
 63        'dataclass_wizard'           : 'dataclass-wizard>=0.28.0',
 64    },
 65    'jobs': {
 66        'dill'                       : 'dill>=0.3.3',
 67        'daemon'                     : 'python-daemon>=0.2.3',
 68        'watchfiles'                 : 'watchfiles>=0.21.0',
 69        'psutil'                     : 'psutil>=5.8.0',
 70    },
 71    'drivers': {
 72        'cryptography'               : 'cryptography>=38.0.1',
 73        'psycopg'                    : 'psycopg[binary]>=3.2.1',
 74        'pymysql'                    : 'PyMySQL>=0.9.0',
 75        'aiomysql'                   : 'aiomysql>=0.0.21',
 76        'sqlalchemy_cockroachdb'     : 'sqlalchemy-cockroachdb>=2.0.0',
 77        'duckdb'                     : 'duckdb>=1.0.0',
 78        'duckdb_engine'              : 'duckdb-engine>=0.13.0',
 79    },
 80    'drivers-extras': {
 81        'pyodbc'                     : 'pyodbc>=4.0.30',
 82        'oracledb'                   : 'oracledb>=2.5.0',
 83    },
 84    'cli': {
 85        'pgcli'                      : 'pgcli>=3.1.0',
 86        'mycli'                      : 'mycli>=1.23.2',
 87        'litecli'                    : 'litecli>=1.5.0',
 88        'mssqlcli'                   : 'mssql-cli>=1.0.0',
 89        'gadwall'                    : 'gadwall>=0.2.0',
 90    },
 91    'gis'                            : {
 92        'pyproj'                     : 'pyproj>=3.7.1',
 93        'geopandas'                  : 'geopandas>=1.0.1', 
 94        'shapely'                    : 'shapely>=2.0.7',
 95    },
 96    'stack': {
 97        'compose'                    : 'docker-compose>=1.29.2',
 98    },
 99    'build': {
100        'cx_Freeze'                  : 'cx_Freeze>=7.0.0',
101        'PyInstaller'                : 'pyinstaller>6.6.0',
102    },
103    'dev-tools': {
104        'twine'                      : 'twine>=3.2.0',
105        'tuna'                       : 'tuna>=0.5.3',
106        'snakeviz'                   : 'snakeviz>=2.1.0',
107        'mypy'                       : 'mypy>=0.812.0',
108        'pytest'                     : 'pytest>=6.2.2',
109        'pytest_xdist'               : 'pytest-xdist>=3.2.1',
110        'heartrate'                  : 'heartrate>=0.2.1',
111        'build'                      : 'build>=1.2.1',
112        'attrs'                      : 'attrs>=24.2.0',
113    },
114    'setup': {
115    },
116    'docs': {
117        'mkdocs'                     : 'mkdocs>=1.1.2',
118        'mkdocs_material'            : 'mkdocs-material>=6.2.5',
119        'mkdocs_material_extensions' : 'mkdocs-material-extensions>=1.0.3',
120        'mkdocs_autolinks_plugin'    : 'mkdocs-autolinks-plugin>=0.2.0',
121        'mkdocs_awesome_pages_plugin': 'mkdocs-awesome-pages-plugin>=2.5.0',
122        'mkdocs_section_index'       : 'mkdocs-section-index>=0.3.3',
123        'mkdocs_linkcheck'           : 'mkdocs-linkcheck>=1.0.6',
124        'mkdocs_redirects'           : 'mkdocs-redirects>=1.0.4',
125        'jinja2'                     : 'jinja2==3.0.3',
126    },
127    'gui': {
128        'webview'                    : 'pywebview>=3.6.3',
129        'pycparser'                  : 'pycparser>=2.21.0',
130    },
131    'extras': {
132        'cmd2'                       : 'cmd2>=1.4.0',
133        'ruamel.yaml'                : 'ruamel.yaml>=0.16.12',
134        'modin'                      : 'modin[ray]>=0.8.3',
135        'nanoid'                     : 'nanoid>=2.0.0',
136        'importlib_metadata'         : 'importlib-metadata>=4.12.0',
137    },
138}
139packages['sql'] = {
140    'numpy'                          : 'numpy>=1.18.5',
141    'pandas'                         : 'pandas[parquet]>=2.0.1',
142    'pyarrow'                        : 'pyarrow>=16.1.0',
143    'dask'                           : 'dask[complete]>=2024.12.1',
144    'partd'                          : 'partd>=1.4.2',
145    'pytz'                           : 'pytz',
146    'joblib'                         : 'joblib>=0.17.0',
147    'sqlalchemy'                     : 'SQLAlchemy>=2.0.5',
148    'geoalchemy'                     : 'GeoAlchemy2>=0.17.1',
149    'databases'                      : 'databases>=0.4.0',
150    'aiosqlite'                      : 'aiosqlite>=0.16.0',
151    'asyncpg'                        : 'asyncpg>=0.21.0',
152}
153packages['sql'].update(packages['drivers'])
154packages['sql'].update(packages['core'])
155packages['sql'].update(packages['gis'])
156packages['dash'] = {
157    'flask_compress'                 : 'Flask-Compress>=1.10.1',
158    'dash'                           : 'dash>=2.6.2',
159    'dash_bootstrap_components'      : 'dash-bootstrap-components>=1.7.1',
160    'dash_ace'                       : 'dash-ace>=0.2.1',
161    'dash_extensions'                : 'dash-extensions>=1.0.4',
162    'dash_daq'                       : 'dash-daq>=0.5.0',
163    'terminado'                      : 'terminado>=0.12.1',
164    'tornado'                        : 'tornado>=6.1.0',
165}
166packages['api'] = {
167    'uvicorn'                        : 'uvicorn[standard]>=0.29.0',
168    'gunicorn'                       : 'gunicorn>=22.0.0',
169    'dotenv'                         : 'python-dotenv>=0.20.0',
170    'websockets'                     : 'websockets>=11.0.3',
171    'fastapi'                        : 'fastapi>=0.111.0',
172    'fastapi_login'                  : 'fastapi-login>=1.7.2',
173    'multipart'                      : 'python-multipart>=0.0.9',
174    'httpx'                          : 'httpx>=0.27.2',
175    'httpcore'                       : 'httpcore>=1.0.6',
176    'valkey'                         : 'valkey>=6.0.0',
177}
178packages['api'].update(packages['sql'])
179packages['api'].update(packages['formatting'])
180packages['api'].update(packages['dash'])
181packages['api'].update(packages['jobs'])
182
183all_packages = {}
184for group, import_names in packages.items():
185    all_packages.update(import_names)
186install_names = {}
187def get_install_names():
188    """
189    Initialize the mapping between install names and import names.
190    """
191    if not install_names:
192        from meerschaum.utils.packages import get_install_no_version
193        for _import_name, _install_name in all_packages.items():
194            install_names[get_install_no_version(_install_name)] = _import_name
195    return install_names
196
197
198skip_groups = {
199    'docs',
200    'build',
201    'cli',
202    'dev-tools',
203    'portable',
204    'extras',
205    'stack',
206    'drivers-extras',
207    '_internal',
208}
209full = []
210_full = {}
211for group, import_names in packages.items():
212    ### omit 'cli' and 'docs' from 'full'
213    if group in skip_groups or group.startswith('_'):
214        continue
215    full += [ install_name for import_name, install_name in import_names.items() ]
216    for import_name, install_name in import_names.items():
217        _full[import_name] = install_name
218packages['full'] = _full
packages: Dict[str, Dict[str, str]] = {'required': {}, 'minimal': {}, 'formatting': {'pprintpp': 'pprintpp>=0.4.0', 'asciitree': 'asciitree>=0.3.3', 'typing_extensions': 'typing-extensions>=4.7.1', 'pygments': 'pygments>=2.7.2', 'colorama': 'colorama>=0.4.3', 'rich': 'rich>=13.4.2', 'more_termcolor': 'more-termcolor>=1.1.3', 'humanfriendly': 'humanfriendly>=10.0.0'}, 'core': {'wheel': 'wheel>=0.34.2', 'setuptools': 'setuptools>=63.3.0', 'yaml': 'PyYAML>=5.3.1', 'pip': 'pip>=22.0.4', 'update_checker': 'update-checker>=0.18.0', 'semver': 'semver>=3.0.2', 'pathspec': 'pathspec>=0.9.0', 'dateutil': 'python-dateutil>=2.7.5', 'requests': 'requests>=2.32.3', 'certifi': 'certifi>=2024.8.30', 'idna': 'idna>=3.10.0', 'binaryornot': 'binaryornot>=0.4.4', 'pyvim': 'pyvim>=3.0.2', 'ptpython': 'ptpython>=3.0.27', 'aiofiles': 'aiofiles>=0.6.0', 'packaging': 'packaging>=21.3.0', 'prompt_toolkit': 'prompt-toolkit>=3.0.39', 'more_itertools': 'more-itertools>=8.7.0', 'fasteners': 'fasteners>=0.19.0', 'virtualenv': 'virtualenv>=20.1.0', 'attrs': 'attrs>=24.2.0', 'uv': 'uv>=0.2.11'}, '_internal': {'apscheduler': 'https://meerschaum.io/files/archives/wheels/APScheduler-4.0.0a5.post87+mrsm-py3-none-any.whl>=4.0.0a5', 'dataclass_wizard': 'dataclass-wizard>=0.28.0'}, 'jobs': {'dill': 'dill>=0.3.3', 'daemon': 'python-daemon>=0.2.3', 'watchfiles': 'watchfiles>=0.21.0', 'psutil': 'psutil>=5.8.0'}, 'drivers': {'cryptography': 'cryptography>=38.0.1', 'psycopg': 'psycopg[binary]>=3.2.1', 'pymysql': 'PyMySQL>=0.9.0', 'aiomysql': 'aiomysql>=0.0.21', 'sqlalchemy_cockroachdb': 'sqlalchemy-cockroachdb>=2.0.0', 'duckdb': 'duckdb>=1.0.0', 'duckdb_engine': 'duckdb-engine>=0.13.0'}, 'drivers-extras': {'pyodbc': 'pyodbc>=4.0.30', 'oracledb': 'oracledb>=2.5.0'}, 'cli': {'pgcli': 'pgcli>=3.1.0', 'mycli': 'mycli>=1.23.2', 'litecli': 'litecli>=1.5.0', 'mssqlcli': 'mssql-cli>=1.0.0', 'gadwall': 'gadwall>=0.2.0'}, 'gis': {'pyproj': 'pyproj>=3.7.1', 'geopandas': 'geopandas>=1.0.1', 'shapely': 'shapely>=2.0.7'}, 'stack': {'compose': 'docker-compose>=1.29.2'}, 'build': {'cx_Freeze': 'cx_Freeze>=7.0.0', 'PyInstaller': 'pyinstaller>6.6.0'}, 'dev-tools': {'twine': 'twine>=3.2.0', 'tuna': 'tuna>=0.5.3', 'snakeviz': 'snakeviz>=2.1.0', 'mypy': 'mypy>=0.812.0', 'pytest': 'pytest>=6.2.2', 'pytest_xdist': 'pytest-xdist>=3.2.1', 'heartrate': 'heartrate>=0.2.1', 'build': 'build>=1.2.1', 'attrs': 'attrs>=24.2.0'}, 'setup': {}, 'docs': {'mkdocs': 'mkdocs>=1.1.2', 'mkdocs_material': 'mkdocs-material>=6.2.5', 'mkdocs_material_extensions': 'mkdocs-material-extensions>=1.0.3', 'mkdocs_autolinks_plugin': 'mkdocs-autolinks-plugin>=0.2.0', 'mkdocs_awesome_pages_plugin': 'mkdocs-awesome-pages-plugin>=2.5.0', 'mkdocs_section_index': 'mkdocs-section-index>=0.3.3', 'mkdocs_linkcheck': 'mkdocs-linkcheck>=1.0.6', 'mkdocs_redirects': 'mkdocs-redirects>=1.0.4', 'jinja2': 'jinja2==3.0.3'}, 'gui': {'webview': 'pywebview>=3.6.3', 'pycparser': 'pycparser>=2.21.0'}, 'extras': {'cmd2': 'cmd2>=1.4.0', 'ruamel.yaml': 'ruamel.yaml>=0.16.12', 'modin': 'modin[ray]>=0.8.3', 'nanoid': 'nanoid>=2.0.0', 'importlib_metadata': 'importlib-metadata>=4.12.0'}, 'sql': {'numpy': 'numpy>=1.18.5', 'pandas': 'pandas[parquet]>=2.0.1', 'pyarrow': 'pyarrow>=16.1.0', 'dask': 'dask[complete]>=2024.12.1', 'partd': 'partd>=1.4.2', 'pytz': 'pytz', 'joblib': 'joblib>=0.17.0', 'sqlalchemy': 'SQLAlchemy>=2.0.5', 'geoalchemy': 'GeoAlchemy2>=0.17.1', 'databases': 'databases>=0.4.0', 'aiosqlite': 'aiosqlite>=0.16.0', 'asyncpg': 'asyncpg>=0.21.0', 'cryptography': 'cryptography>=38.0.1', 'psycopg': 'psycopg[binary]>=3.2.1', 'pymysql': 'PyMySQL>=0.9.0', 'aiomysql': 'aiomysql>=0.0.21', 'sqlalchemy_cockroachdb': 'sqlalchemy-cockroachdb>=2.0.0', 'duckdb': 'duckdb>=1.0.0', 'duckdb_engine': 'duckdb-engine>=0.13.0', 'wheel': 'wheel>=0.34.2', 'setuptools': 'setuptools>=63.3.0', 'yaml': 'PyYAML>=5.3.1', 'pip': 'pip>=22.0.4', 'update_checker': 'update-checker>=0.18.0', 'semver': 'semver>=3.0.2', 'pathspec': 'pathspec>=0.9.0', 'dateutil': 'python-dateutil>=2.7.5', 'requests': 'requests>=2.32.3', 'certifi': 'certifi>=2024.8.30', 'idna': 'idna>=3.10.0', 'binaryornot': 'binaryornot>=0.4.4', 'pyvim': 'pyvim>=3.0.2', 'ptpython': 'ptpython>=3.0.27', 'aiofiles': 'aiofiles>=0.6.0', 'packaging': 'packaging>=21.3.0', 'prompt_toolkit': 'prompt-toolkit>=3.0.39', 'more_itertools': 'more-itertools>=8.7.0', 'fasteners': 'fasteners>=0.19.0', 'virtualenv': 'virtualenv>=20.1.0', 'attrs': 'attrs>=24.2.0', 'uv': 'uv>=0.2.11', 'pyproj': 'pyproj>=3.7.1', 'geopandas': 'geopandas>=1.0.1', 'shapely': 'shapely>=2.0.7'}, 'dash': {'flask_compress': 'Flask-Compress>=1.10.1', 'dash': 'dash>=2.6.2', 'dash_bootstrap_components': 'dash-bootstrap-components>=1.7.1', 'dash_ace': 'dash-ace>=0.2.1', 'dash_extensions': 'dash-extensions>=1.0.4', 'dash_daq': 'dash-daq>=0.5.0', 'terminado': 'terminado>=0.12.1', 'tornado': 'tornado>=6.1.0'}, 'api': {'uvicorn': 'uvicorn[standard]>=0.29.0', 'gunicorn': 'gunicorn>=22.0.0', 'dotenv': 'python-dotenv>=0.20.0', 'websockets': 'websockets>=11.0.3', 'fastapi': 'fastapi>=0.111.0', 'fastapi_login': 'fastapi-login>=1.7.2', 'multipart': 'python-multipart>=0.0.9', 'httpx': 'httpx>=0.27.2', 'httpcore': 'httpcore>=1.0.6', 'valkey': 'valkey>=6.0.0', 'numpy': 'numpy>=1.18.5', 'pandas': 'pandas[parquet]>=2.0.1', 'pyarrow': 'pyarrow>=16.1.0', 'dask': 'dask[complete]>=2024.12.1', 'partd': 'partd>=1.4.2', 'pytz': 'pytz', 'joblib': 'joblib>=0.17.0', 'sqlalchemy': 'SQLAlchemy>=2.0.5', 'geoalchemy': 'GeoAlchemy2>=0.17.1', 'databases': 'databases>=0.4.0', 'aiosqlite': 'aiosqlite>=0.16.0', 'asyncpg': 'asyncpg>=0.21.0', 'cryptography': 'cryptography>=38.0.1', 'psycopg': 'psycopg[binary]>=3.2.1', 'pymysql': 'PyMySQL>=0.9.0', 'aiomysql': 'aiomysql>=0.0.21', 'sqlalchemy_cockroachdb': 'sqlalchemy-cockroachdb>=2.0.0', 'duckdb': 'duckdb>=1.0.0', 'duckdb_engine': 'duckdb-engine>=0.13.0', 'wheel': 'wheel>=0.34.2', 'setuptools': 'setuptools>=63.3.0', 'yaml': 'PyYAML>=5.3.1', 'pip': 'pip>=22.0.4', 'update_checker': 'update-checker>=0.18.0', 'semver': 'semver>=3.0.2', 'pathspec': 'pathspec>=0.9.0', 'dateutil': 'python-dateutil>=2.7.5', 'requests': 'requests>=2.32.3', 'certifi': 'certifi>=2024.8.30', 'idna': 'idna>=3.10.0', 'binaryornot': 'binaryornot>=0.4.4', 'pyvim': 'pyvim>=3.0.2', 'ptpython': 'ptpython>=3.0.27', 'aiofiles': 'aiofiles>=0.6.0', 'packaging': 'packaging>=21.3.0', 'prompt_toolkit': 'prompt-toolkit>=3.0.39', 'more_itertools': 'more-itertools>=8.7.0', 'fasteners': 'fasteners>=0.19.0', 'virtualenv': 'virtualenv>=20.1.0', 'attrs': 'attrs>=24.2.0', 'uv': 'uv>=0.2.11', 'pyproj': 'pyproj>=3.7.1', 'geopandas': 'geopandas>=1.0.1', 'shapely': 'shapely>=2.0.7', 'pprintpp': 'pprintpp>=0.4.0', 'asciitree': 'asciitree>=0.3.3', 'typing_extensions': 'typing-extensions>=4.7.1', 'pygments': 'pygments>=2.7.2', 'colorama': 'colorama>=0.4.3', 'rich': 'rich>=13.4.2', 'more_termcolor': 'more-termcolor>=1.1.3', 'humanfriendly': 'humanfriendly>=10.0.0', 'flask_compress': 'Flask-Compress>=1.10.1', 'dash': 'dash>=2.6.2', 'dash_bootstrap_components': 'dash-bootstrap-components>=1.7.1', 'dash_ace': 'dash-ace>=0.2.1', 'dash_extensions': 'dash-extensions>=1.0.4', 'dash_daq': 'dash-daq>=0.5.0', 'terminado': 'terminado>=0.12.1', 'tornado': 'tornado>=6.1.0', 'dill': 'dill>=0.3.3', 'daemon': 'python-daemon>=0.2.3', 'watchfiles': 'watchfiles>=0.21.0', 'psutil': 'psutil>=5.8.0'}, 'full': {'pprintpp': 'pprintpp>=0.4.0', 'asciitree': 'asciitree>=0.3.3', 'typing_extensions': 'typing-extensions>=4.7.1', 'pygments': 'pygments>=2.7.2', 'colorama': 'colorama>=0.4.3', 'rich': 'rich>=13.4.2', 'more_termcolor': 'more-termcolor>=1.1.3', 'humanfriendly': 'humanfriendly>=10.0.0', 'wheel': 'wheel>=0.34.2', 'setuptools': 'setuptools>=63.3.0', 'yaml': 'PyYAML>=5.3.1', 'pip': 'pip>=22.0.4', 'update_checker': 'update-checker>=0.18.0', 'semver': 'semver>=3.0.2', 'pathspec': 'pathspec>=0.9.0', 'dateutil': 'python-dateutil>=2.7.5', 'requests': 'requests>=2.32.3', 'certifi': 'certifi>=2024.8.30', 'idna': 'idna>=3.10.0', 'binaryornot': 'binaryornot>=0.4.4', 'pyvim': 'pyvim>=3.0.2', 'ptpython': 'ptpython>=3.0.27', 'aiofiles': 'aiofiles>=0.6.0', 'packaging': 'packaging>=21.3.0', 'prompt_toolkit': 'prompt-toolkit>=3.0.39', 'more_itertools': 'more-itertools>=8.7.0', 'fasteners': 'fasteners>=0.19.0', 'virtualenv': 'virtualenv>=20.1.0', 'attrs': 'attrs>=24.2.0', 'uv': 'uv>=0.2.11', 'dill': 'dill>=0.3.3', 'daemon': 'python-daemon>=0.2.3', 'watchfiles': 'watchfiles>=0.21.0', 'psutil': 'psutil>=5.8.0', 'cryptography': 'cryptography>=38.0.1', 'psycopg': 'psycopg[binary]>=3.2.1', 'pymysql': 'PyMySQL>=0.9.0', 'aiomysql': 'aiomysql>=0.0.21', 'sqlalchemy_cockroachdb': 'sqlalchemy-cockroachdb>=2.0.0', 'duckdb': 'duckdb>=1.0.0', 'duckdb_engine': 'duckdb-engine>=0.13.0', 'pyproj': 'pyproj>=3.7.1', 'geopandas': 'geopandas>=1.0.1', 'shapely': 'shapely>=2.0.7', 'webview': 'pywebview>=3.6.3', 'pycparser': 'pycparser>=2.21.0', 'numpy': 'numpy>=1.18.5', 'pandas': 'pandas[parquet]>=2.0.1', 'pyarrow': 'pyarrow>=16.1.0', 'dask': 'dask[complete]>=2024.12.1', 'partd': 'partd>=1.4.2', 'pytz': 'pytz', 'joblib': 'joblib>=0.17.0', 'sqlalchemy': 'SQLAlchemy>=2.0.5', 'geoalchemy': 'GeoAlchemy2>=0.17.1', 'databases': 'databases>=0.4.0', 'aiosqlite': 'aiosqlite>=0.16.0', 'asyncpg': 'asyncpg>=0.21.0', 'flask_compress': 'Flask-Compress>=1.10.1', 'dash': 'dash>=2.6.2', 'dash_bootstrap_components': 'dash-bootstrap-components>=1.7.1', 'dash_ace': 'dash-ace>=0.2.1', 'dash_extensions': 'dash-extensions>=1.0.4', 'dash_daq': 'dash-daq>=0.5.0', 'terminado': 'terminado>=0.12.1', 'tornado': 'tornado>=6.1.0', 'uvicorn': 'uvicorn[standard]>=0.29.0', 'gunicorn': 'gunicorn>=22.0.0', 'dotenv': 'python-dotenv>=0.20.0', 'websockets': 'websockets>=11.0.3', 'fastapi': 'fastapi>=0.111.0', 'fastapi_login': 'fastapi-login>=1.7.2', 'multipart': 'python-multipart>=0.0.9', 'httpx': 'httpx>=0.27.2', 'httpcore': 'httpcore>=1.0.6', 'valkey': 'valkey>=6.0.0'}}
all_packages = {'pprintpp': 'pprintpp>=0.4.0', 'asciitree': 'asciitree>=0.3.3', 'typing_extensions': 'typing-extensions>=4.7.1', 'pygments': 'pygments>=2.7.2', 'colorama': 'colorama>=0.4.3', 'rich': 'rich>=13.4.2', 'more_termcolor': 'more-termcolor>=1.1.3', 'humanfriendly': 'humanfriendly>=10.0.0', 'wheel': 'wheel>=0.34.2', 'setuptools': 'setuptools>=63.3.0', 'yaml': 'PyYAML>=5.3.1', 'pip': 'pip>=22.0.4', 'update_checker': 'update-checker>=0.18.0', 'semver': 'semver>=3.0.2', 'pathspec': 'pathspec>=0.9.0', 'dateutil': 'python-dateutil>=2.7.5', 'requests': 'requests>=2.32.3', 'certifi': 'certifi>=2024.8.30', 'idna': 'idna>=3.10.0', 'binaryornot': 'binaryornot>=0.4.4', 'pyvim': 'pyvim>=3.0.2', 'ptpython': 'ptpython>=3.0.27', 'aiofiles': 'aiofiles>=0.6.0', 'packaging': 'packaging>=21.3.0', 'prompt_toolkit': 'prompt-toolkit>=3.0.39', 'more_itertools': 'more-itertools>=8.7.0', 'fasteners': 'fasteners>=0.19.0', 'virtualenv': 'virtualenv>=20.1.0', 'attrs': 'attrs>=24.2.0', 'uv': 'uv>=0.2.11', 'apscheduler': 'https://meerschaum.io/files/archives/wheels/APScheduler-4.0.0a5.post87+mrsm-py3-none-any.whl>=4.0.0a5', 'dataclass_wizard': 'dataclass-wizard>=0.28.0', 'dill': 'dill>=0.3.3', 'daemon': 'python-daemon>=0.2.3', 'watchfiles': 'watchfiles>=0.21.0', 'psutil': 'psutil>=5.8.0', 'cryptography': 'cryptography>=38.0.1', 'psycopg': 'psycopg[binary]>=3.2.1', 'pymysql': 'PyMySQL>=0.9.0', 'aiomysql': 'aiomysql>=0.0.21', 'sqlalchemy_cockroachdb': 'sqlalchemy-cockroachdb>=2.0.0', 'duckdb': 'duckdb>=1.0.0', 'duckdb_engine': 'duckdb-engine>=0.13.0', 'pyodbc': 'pyodbc>=4.0.30', 'oracledb': 'oracledb>=2.5.0', 'pgcli': 'pgcli>=3.1.0', 'mycli': 'mycli>=1.23.2', 'litecli': 'litecli>=1.5.0', 'mssqlcli': 'mssql-cli>=1.0.0', 'gadwall': 'gadwall>=0.2.0', 'pyproj': 'pyproj>=3.7.1', 'geopandas': 'geopandas>=1.0.1', 'shapely': 'shapely>=2.0.7', 'compose': 'docker-compose>=1.29.2', 'cx_Freeze': 'cx_Freeze>=7.0.0', 'PyInstaller': 'pyinstaller>6.6.0', 'twine': 'twine>=3.2.0', 'tuna': 'tuna>=0.5.3', 'snakeviz': 'snakeviz>=2.1.0', 'mypy': 'mypy>=0.812.0', 'pytest': 'pytest>=6.2.2', 'pytest_xdist': 'pytest-xdist>=3.2.1', 'heartrate': 'heartrate>=0.2.1', 'build': 'build>=1.2.1', 'mkdocs': 'mkdocs>=1.1.2', 'mkdocs_material': 'mkdocs-material>=6.2.5', 'mkdocs_material_extensions': 'mkdocs-material-extensions>=1.0.3', 'mkdocs_autolinks_plugin': 'mkdocs-autolinks-plugin>=0.2.0', 'mkdocs_awesome_pages_plugin': 'mkdocs-awesome-pages-plugin>=2.5.0', 'mkdocs_section_index': 'mkdocs-section-index>=0.3.3', 'mkdocs_linkcheck': 'mkdocs-linkcheck>=1.0.6', 'mkdocs_redirects': 'mkdocs-redirects>=1.0.4', 'jinja2': 'jinja2==3.0.3', 'webview': 'pywebview>=3.6.3', 'pycparser': 'pycparser>=2.21.0', 'cmd2': 'cmd2>=1.4.0', 'ruamel.yaml': 'ruamel.yaml>=0.16.12', 'modin': 'modin[ray]>=0.8.3', 'nanoid': 'nanoid>=2.0.0', 'importlib_metadata': 'importlib-metadata>=4.12.0', 'numpy': 'numpy>=1.18.5', 'pandas': 'pandas[parquet]>=2.0.1', 'pyarrow': 'pyarrow>=16.1.0', 'dask': 'dask[complete]>=2024.12.1', 'partd': 'partd>=1.4.2', 'pytz': 'pytz', 'joblib': 'joblib>=0.17.0', 'sqlalchemy': 'SQLAlchemy>=2.0.5', 'geoalchemy': 'GeoAlchemy2>=0.17.1', 'databases': 'databases>=0.4.0', 'aiosqlite': 'aiosqlite>=0.16.0', 'asyncpg': 'asyncpg>=0.21.0', 'flask_compress': 'Flask-Compress>=1.10.1', 'dash': 'dash>=2.6.2', 'dash_bootstrap_components': 'dash-bootstrap-components>=1.7.1', 'dash_ace': 'dash-ace>=0.2.1', 'dash_extensions': 'dash-extensions>=1.0.4', 'dash_daq': 'dash-daq>=0.5.0', 'terminado': 'terminado>=0.12.1', 'tornado': 'tornado>=6.1.0', 'uvicorn': 'uvicorn[standard]>=0.29.0', 'gunicorn': 'gunicorn>=22.0.0', 'dotenv': 'python-dotenv>=0.20.0', 'websockets': 'websockets>=11.0.3', 'fastapi': 'fastapi>=0.111.0', 'fastapi_login': 'fastapi-login>=1.7.2', 'multipart': 'python-multipart>=0.0.9', 'httpx': 'httpx>=0.27.2', 'httpcore': 'httpcore>=1.0.6', 'valkey': 'valkey>=6.0.0'}
install_names = {}
def get_install_names():
188def get_install_names():
189    """
190    Initialize the mapping between install names and import names.
191    """
192    if not install_names:
193        from meerschaum.utils.packages import get_install_no_version
194        for _import_name, _install_name in all_packages.items():
195            install_names[get_install_no_version(_install_name)] = _import_name
196    return install_names

Initialize the mapping between install names and import names.

skip_groups = {'extras', 'portable', 'docs', '_internal', 'drivers-extras', 'stack', 'dev-tools', 'build', 'cli'}
full = ['pprintpp>=0.4.0', 'asciitree>=0.3.3', 'typing-extensions>=4.7.1', 'pygments>=2.7.2', 'colorama>=0.4.3', 'rich>=13.4.2', 'more-termcolor>=1.1.3', 'humanfriendly>=10.0.0', 'wheel>=0.34.2', 'setuptools>=63.3.0', 'PyYAML>=5.3.1', 'pip>=22.0.4', 'update-checker>=0.18.0', 'semver>=3.0.2', 'pathspec>=0.9.0', 'python-dateutil>=2.7.5', 'requests>=2.32.3', 'certifi>=2024.8.30', 'idna>=3.10.0', 'binaryornot>=0.4.4', 'pyvim>=3.0.2', 'ptpython>=3.0.27', 'aiofiles>=0.6.0', 'packaging>=21.3.0', 'prompt-toolkit>=3.0.39', 'more-itertools>=8.7.0', 'fasteners>=0.19.0', 'virtualenv>=20.1.0', 'attrs>=24.2.0', 'uv>=0.2.11', 'dill>=0.3.3', 'python-daemon>=0.2.3', 'watchfiles>=0.21.0', 'psutil>=5.8.0', 'cryptography>=38.0.1', 'psycopg[binary]>=3.2.1', 'PyMySQL>=0.9.0', 'aiomysql>=0.0.21', 'sqlalchemy-cockroachdb>=2.0.0', 'duckdb>=1.0.0', 'duckdb-engine>=0.13.0', 'pyproj>=3.7.1', 'geopandas>=1.0.1', 'shapely>=2.0.7', 'pywebview>=3.6.3', 'pycparser>=2.21.0', 'numpy>=1.18.5', 'pandas[parquet]>=2.0.1', 'pyarrow>=16.1.0', 'dask[complete]>=2024.12.1', 'partd>=1.4.2', 'pytz', 'joblib>=0.17.0', 'SQLAlchemy>=2.0.5', 'GeoAlchemy2>=0.17.1', 'databases>=0.4.0', 'aiosqlite>=0.16.0', 'asyncpg>=0.21.0', 'cryptography>=38.0.1', 'psycopg[binary]>=3.2.1', 'PyMySQL>=0.9.0', 'aiomysql>=0.0.21', 'sqlalchemy-cockroachdb>=2.0.0', 'duckdb>=1.0.0', 'duckdb-engine>=0.13.0', 'wheel>=0.34.2', 'setuptools>=63.3.0', 'PyYAML>=5.3.1', 'pip>=22.0.4', 'update-checker>=0.18.0', 'semver>=3.0.2', 'pathspec>=0.9.0', 'python-dateutil>=2.7.5', 'requests>=2.32.3', 'certifi>=2024.8.30', 'idna>=3.10.0', 'binaryornot>=0.4.4', 'pyvim>=3.0.2', 'ptpython>=3.0.27', 'aiofiles>=0.6.0', 'packaging>=21.3.0', 'prompt-toolkit>=3.0.39', 'more-itertools>=8.7.0', 'fasteners>=0.19.0', 'virtualenv>=20.1.0', 'attrs>=24.2.0', 'uv>=0.2.11', 'pyproj>=3.7.1', 'geopandas>=1.0.1', 'shapely>=2.0.7', 'Flask-Compress>=1.10.1', 'dash>=2.6.2', 'dash-bootstrap-components>=1.7.1', 'dash-ace>=0.2.1', 'dash-extensions>=1.0.4', 'dash-daq>=0.5.0', 'terminado>=0.12.1', 'tornado>=6.1.0', 'uvicorn[standard]>=0.29.0', 'gunicorn>=22.0.0', 'python-dotenv>=0.20.0', 'websockets>=11.0.3', 'fastapi>=0.111.0', 'fastapi-login>=1.7.2', 'python-multipart>=0.0.9', 'httpx>=0.27.2', 'httpcore>=1.0.6', 'valkey>=6.0.0', 'numpy>=1.18.5', 'pandas[parquet]>=2.0.1', 'pyarrow>=16.1.0', 'dask[complete]>=2024.12.1', 'partd>=1.4.2', 'pytz', 'joblib>=0.17.0', 'SQLAlchemy>=2.0.5', 'GeoAlchemy2>=0.17.1', 'databases>=0.4.0', 'aiosqlite>=0.16.0', 'asyncpg>=0.21.0', 'cryptography>=38.0.1', 'psycopg[binary]>=3.2.1', 'PyMySQL>=0.9.0', 'aiomysql>=0.0.21', 'sqlalchemy-cockroachdb>=2.0.0', 'duckdb>=1.0.0', 'duckdb-engine>=0.13.0', 'wheel>=0.34.2', 'setuptools>=63.3.0', 'PyYAML>=5.3.1', 'pip>=22.0.4', 'update-checker>=0.18.0', 'semver>=3.0.2', 'pathspec>=0.9.0', 'python-dateutil>=2.7.5', 'requests>=2.32.3', 'certifi>=2024.8.30', 'idna>=3.10.0', 'binaryornot>=0.4.4', 'pyvim>=3.0.2', 'ptpython>=3.0.27', 'aiofiles>=0.6.0', 'packaging>=21.3.0', 'prompt-toolkit>=3.0.39', 'more-itertools>=8.7.0', 'fasteners>=0.19.0', 'virtualenv>=20.1.0', 'attrs>=24.2.0', 'uv>=0.2.11', 'pyproj>=3.7.1', 'geopandas>=1.0.1', 'shapely>=2.0.7', 'pprintpp>=0.4.0', 'asciitree>=0.3.3', 'typing-extensions>=4.7.1', 'pygments>=2.7.2', 'colorama>=0.4.3', 'rich>=13.4.2', 'more-termcolor>=1.1.3', 'humanfriendly>=10.0.0', 'Flask-Compress>=1.10.1', 'dash>=2.6.2', 'dash-bootstrap-components>=1.7.1', 'dash-ace>=0.2.1', 'dash-extensions>=1.0.4', 'dash-daq>=0.5.0', 'terminado>=0.12.1', 'tornado>=6.1.0', 'dill>=0.3.3', 'python-daemon>=0.2.3', 'watchfiles>=0.21.0', 'psutil>=5.8.0']