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.post75+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 'cx_Oracle' : 'cx_Oracle>=8.3.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 'stack': { 92 'compose' : 'docker-compose>=1.29.2', 93 }, 94 'build': { 95 'cx_Freeze' : 'cx_Freeze>=7.0.0', 96 'PyInstaller' : 'pyinstaller>6.6.0', 97 }, 98 'dev-tools': { 99 'twine' : 'twine>=3.2.0', 100 'tuna' : 'tuna>=0.5.3', 101 'snakeviz' : 'snakeviz>=2.1.0', 102 'mypy' : 'mypy>=0.812.0', 103 'pytest' : 'pytest>=6.2.2', 104 'pytest_xdist' : 'pytest-xdist>=3.2.1', 105 'heartrate' : 'heartrate>=0.2.1', 106 'build' : 'build>=1.2.1', 107 'attrs' : 'attrs>=24.2.0', 108 }, 109 'setup': { 110 }, 111 'docs': { 112 'mkdocs' : 'mkdocs>=1.1.2', 113 'mkdocs_material' : 'mkdocs-material>=6.2.5', 114 'mkdocs_material_extensions' : 'mkdocs-material-extensions>=1.0.3', 115 'mkdocs_autolinks_plugin' : 'mkdocs-autolinks-plugin>=0.2.0', 116 'mkdocs_awesome_pages_plugin': 'mkdocs-awesome-pages-plugin>=2.5.0', 117 'mkdocs_section_index' : 'mkdocs-section-index>=0.3.3', 118 'mkdocs_linkcheck' : 'mkdocs-linkcheck>=1.0.6', 119 'mkdocs_redirects' : 'mkdocs-redirects>=1.0.4', 120 'jinja2' : 'jinja2==3.0.3', 121 }, 122 'gui': { 123 'toga' : 'toga>=0.3.0-dev29', 124 'webview' : 'pywebview>=3.6.3', 125 'pycparser' : 'pycparser>=2.21.0', 126 }, 127 'extras': { 128 'cmd2' : 'cmd2>=1.4.0', 129 'ruamel.yaml' : 'ruamel.yaml>=0.16.12', 130 'modin' : 'modin[ray]>=0.8.3', 131 'nanoid' : 'nanoid>=2.0.0', 132 'importlib_metadata' : 'importlib-metadata>=4.12.0', 133 }, 134} 135packages['sql'] = { 136 'numpy' : 'numpy>=1.18.5', 137 'pandas' : 'pandas[parquet]>=2.0.1', 138 'pyarrow' : 'pyarrow>=16.1.0', 139 'dask' : 'dask[complete]>=2024.5.1', 140 'partd' : 'partd>=1.4.2', 141 'pytz' : 'pytz', 142 'joblib' : 'joblib>=0.17.0', 143 'sqlalchemy' : 'SQLAlchemy>=2.0.5', 144 'databases' : 'databases>=0.4.0', 145 'aiosqlite' : 'aiosqlite>=0.16.0', 146 'asyncpg' : 'asyncpg>=0.21.0', 147} 148packages['sql'].update(packages['drivers']) 149packages['sql'].update(packages['core']) 150packages['dash'] = { 151 'flask_compress' : 'Flask-Compress>=1.10.1', 152 'dash' : 'dash>=2.6.2', 153 'dash_bootstrap_components' : 'dash-bootstrap-components>=1.2.1', 154 'dash_ace' : 'dash-ace>=0.2.1', 155 'dash_extensions' : 'dash-extensions>=1.0.4', 156 'dash_daq' : 'dash-daq>=0.5.0', 157 'terminado' : 'terminado>=0.12.1', 158 'tornado' : 'tornado>=6.1.0', 159} 160packages['api'] = { 161 'uvicorn' : 'uvicorn[standard]>=0.29.0', 162 'gunicorn' : 'gunicorn>=22.0.0', 163 'dotenv' : 'python-dotenv>=0.20.0', 164 'websockets' : 'websockets>=11.0.3', 165 'fastapi' : 'fastapi>=0.111.0', 166 'fastapi_login' : 'fastapi-login>=1.7.2', 167 'multipart' : 'python-multipart>=0.0.9', 168 'httpx' : 'httpx>=0.27.2', 169 'httpcore' : 'httpcore>=1.0.6', 170 'valkey' : 'valkey>=6.0.0', 171} 172packages['api'].update(packages['sql']) 173packages['api'].update(packages['formatting']) 174packages['api'].update(packages['dash']) 175packages['api'].update(packages['jobs']) 176 177all_packages = {} 178for group, import_names in packages.items(): 179 all_packages.update(import_names) 180install_names = {} 181def get_install_names(): 182 """ 183 Initialize the mapping between install names and import names. 184 """ 185 if not install_names: 186 from meerschaum.utils.packages import get_install_no_version 187 for _import_name, _install_name in all_packages.items(): 188 install_names[get_install_no_version(_install_name)] = _import_name 189 return install_names 190 191 192skip_groups = { 193 'docs', 194 'build', 195 'cli', 196 'dev-tools', 197 'portable', 198 'extras', 199 'stack', 200 'drivers-extras', 201 '_internal', 202} 203full = [] 204_full = {} 205for group, import_names in packages.items(): 206 ### omit 'cli' and 'docs' from 'full' 207 if group in skip_groups or group.startswith('_'): 208 continue 209 full += [ install_name for import_name, install_name in import_names.items() ] 210 for import_name, install_name in import_names.items(): 211 _full[import_name] = install_name 212packages['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.post75+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', 'cx_Oracle': 'cx_Oracle>=8.3.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'}, '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': {'toga': 'toga>=0.3.0-dev29', '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.5.1', 'partd': 'partd>=1.4.2', 'pytz': 'pytz', 'joblib': 'joblib>=0.17.0', 'sqlalchemy': 'SQLAlchemy>=2.0.5', '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'}, 'dash': {'flask_compress': 'Flask-Compress>=1.10.1', 'dash': 'dash>=2.6.2', 'dash_bootstrap_components': 'dash-bootstrap-components>=1.2.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.5.1', 'partd': 'partd>=1.4.2', 'pytz': 'pytz', 'joblib': 'joblib>=0.17.0', 'sqlalchemy': 'SQLAlchemy>=2.0.5', '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', '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.2.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', 'toga': 'toga>=0.3.0-dev29', '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.5.1', 'partd': 'partd>=1.4.2', 'pytz': 'pytz', 'joblib': 'joblib>=0.17.0', 'sqlalchemy': 'SQLAlchemy>=2.0.5', '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.2.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.post75+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', 'cx_Oracle': 'cx_Oracle>=8.3.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', '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', 'toga': 'toga>=0.3.0-dev29', '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.5.1', 'partd': 'partd>=1.4.2', 'pytz': 'pytz', 'joblib': 'joblib>=0.17.0', 'sqlalchemy': 'SQLAlchemy>=2.0.5', '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.2.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():
182def get_install_names(): 183 """ 184 Initialize the mapping between install names and import names. 185 """ 186 if not install_names: 187 from meerschaum.utils.packages import get_install_no_version 188 for _import_name, _install_name in all_packages.items(): 189 install_names[get_install_no_version(_install_name)] = _import_name 190 return install_names
Initialize the mapping between install names and import names.
skip_groups =
{'cli', 'build', 'dev-tools', 'portable', '_internal', 'extras', 'docs', 'drivers-extras', 'stack'}
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', 'toga>=0.3.0-dev29', 'pywebview>=3.6.3', 'pycparser>=2.21.0', 'numpy>=1.18.5', 'pandas[parquet]>=2.0.1', 'pyarrow>=16.1.0', 'dask[complete]>=2024.5.1', 'partd>=1.4.2', 'pytz', 'joblib>=0.17.0', 'SQLAlchemy>=2.0.5', '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', 'Flask-Compress>=1.10.1', 'dash>=2.6.2', 'dash-bootstrap-components>=1.2.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.5.1', 'partd>=1.4.2', 'pytz', 'joblib>=0.17.0', 'SQLAlchemy>=2.0.5', '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', '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.2.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']