معرفی شرکت ها


doltpy-2.0.9


Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر

توضیحات

A Python package for using Dolt database via Python.
ویژگی مقدار
سیستم عامل -
نام فایل doltpy-2.0.9
نام doltpy
نسخه کتابخانه 2.0.9
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Oscar Batori
ایمیل نویسنده oscar@dolthub.com
آدرس صفحه اصلی https://github.com/dolthub/doltpy
آدرس اینترنتی https://pypi.org/project/doltpy/
مجوز -
# Current State - Deprecated DoltPy was created in an era where Dolt was a command-line tool. We've worked very hard to make Dolt a MySQL compatible database. To use Dolt with Python, start a Dolt SQL server using `dolt sql-server` and connect with [any Python MySQL client](https://docs.dolthub.com/sql-reference/supported-clients/clients#python). Use the exposed Dolt [stored procedures](https://docs.dolthub.com/sql-reference/version-control/dolt-sql-procedures) or [system tables](https://docs.dolthub.com/sql-reference/version-control/dolt-system-tables) to access version control functionality. Popular libraries like Pandas all support MySQL connectivity. Dolt MySQL client support works in any language, not just Python. Thus, it is more time efficient for us to focus on that interface. ## DoltPy This is DoltPy, the Python API for [Dolt](https://github.com/dolthub/dolt). Python is the language of choice for data science and data engineering, and thus we thought it would be wise to publish an API for building automated workflows on top of Dolt and [DoltHub](https://www.dolthub.com/), a collaboration platform for Dolt databases. ## Installation You need to install Dolt, which is documented [here](https://docs.dolthub.com/introduction/installation). It's easy for *nix users: ``` $ sudo bash -c 'curl -L https://github.com/liquidata-inc/dolt/releases/latest/download/install.sh | sudo bash' ``` We also distribute Dolt as a Homebrew formula: ``` $ brew install dolt ``` Finally, for Windows users our release page has `.zip` and `.msi` files. Once Dolt is installed you can install Doltpy using `pip`: ``` $ pip install doltpy ``` ## Overview Doltpy is broken up into modules. ### `doltpy.cli` This is the most important module. It effectively wraps the Dolt command-line-interface (CLI) that is exposed by the Go binary. The CLI is exposed more or less exactly as it is implemented, returning wrapper objects where appropriate. It's implementation has moved to a separate repository [here](https://github.com/dolthub/doltcli) #### `doltpy.cli.read` and `doltpy.cli.write` These modules provide basic read and write interfaces for reading and writing a variety of tabular data formats, including: - CSV files - `pandas.DataFrame` - columns, that is dictionaries of lists, i.e. `{'col': [...vals...], ...}` - rows, that is lists of dictionaries, i.e. `[{'col': val, ...}, ...]` ### `doltpy.sql` This module provides tools for interacting with Dolt via a Python based SQL connector. The most important class is `DoltSQLContext`, which has concrete subclasses `DoltSQLServerContext` and `DoltSQLEngineContext`. `DoltSQLServerContext` is for users that want to write Python scripts that use and manage the Dolt SQL Server instance as a child process. `DoltSQLEngineContext` is for users who want to interact with a remote Dolt SQL Server. These classes have equivalents of the read and write functions in `doltpy.cli.read` and `doltpy.cli.write` for writing CSV files, `pandas.DataFrame` objects, rows, and columns. #### `doltpy.sql.sql_sync` This package provides tools for syncing data to and from Dolt, and other relational databases. Currently there is support for MySQL, Postgres, and Oracle. You can find a more detailed description of how to use SQL Sync tools [here](https://docs.dolthub.com/guides/sql-sync). ### `doltpy.etl` This module provides a set of tools for scripting ETL/ELT workflows. At Liquidata we use it internally to push datasets onto DoltHub. ## More Information As alluded to above, you can find a more detailed description of Doltpy [here](https://docs.dolthub.com/guides/python/doltpy).


نیازمندی

مقدار نام
==19.3.0 attrs
==4.4.2 decorator
>=1.19.0 numpy
==20.4 packaging
>=1.0.5 pandas
==0.13.1 pluggy
==3.12.2 protobuf
==5.7.2 psutil
==2.4.7 pyparsing
==2.8.1 python-dateutil
==2021.3 pytz
==0.9.2 retry
==1.15.0 six
==1.3.18 SQLAlchemy
==0.2.5 wcwidth
>=8.6.0,<9.0.0 more-itertools
>=8.0.20,<9.0.0 mysql-connector-python
>=0.1.14,<0.2.0 doltcli
>=6.0.0 pyarrow


زبان مورد نیاز

مقدار نام
>=3.6.1,<4.0 Python


نحوه نصب


نصب پکیج whl doltpy-2.0.9:

    pip install doltpy-2.0.9.whl


نصب پکیج tar.gz doltpy-2.0.9:

    pip install doltpy-2.0.9.tar.gz