quackpanda


Namequackpanda JSON
Version 0.1.2 PyPI version JSON
download
home_page
SummaryQuackPanda: SQL Capability for Pandas using DuckDB
upload_time2023-09-27 04:02:12
maintainer
docs_urlNone
authorYour Name
requires_python>=3.10,<3.13
license
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # QuackPanda: SQL Capability for Pandas using DuckDB 🦆🐼
quackpanda is a Python library designed to bring Spark-like SQL capabilities to Pandas DataFrames using DuckDB, allowing users to execute SQL queries and perform advanced database operations directly on DataFrames.

## Features
Seamless integration with DuckDB for executing SQL queries on Pandas DataFrames.
Efficient registration of DataFrames as temporary tables.
Supports a variety of SQL functionalities, offering flexibility in DataFrame manipulation.
Installation
To install quackpanda, use pip:
```
pip install quackpanda
```
Quick Start
Here's a basic example of how to use quackpanda to register a DataFrame as a table and execute a SQL query:

```python
import pandas as pd
from quackpanda.core import QuackPanda

# Create a sample DataFrame
data = {'Name': ['Alice', 'Bob'], 'Age': [25, 30]}
df = pd.DataFrame(data)

# Initialize QuackPanda
qp = QuackPanda()

# Register DataFrame as a temporary table
qp.register_temp_table(df, 'people')

# Execute SQL query
result_df = qp.execute_query('SELECT * FROM people WHERE Age > 25')

# Display the result
print(result_df)
```
## Documentation
For detailed information on quackpanda's features and usage, please refer to the official documentation (add the link to your documentation).

## Contributing
We welcome contributions to quackpanda! Please see our Contributing Guide for more details.

## Support & Feedback
For support, questions, or feedback, please submit an issue on GitHub.

## License
quackpanda is licensed under the MIT License.

## Acknowledgments
Special thanks to the creators and contributors of Pandas and DuckDB for their incredible work, which made quackpanda possible.

Make sure to adapt the file paths, URLs, and other specific information to match your project's actual details. Also, consistently update the README as your project evolves, adding new sections or modifying existing ones as needed.
            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "quackpanda",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.10,<3.13",
    "maintainer_email": "",
    "keywords": "",
    "author": "Your Name",
    "author_email": "you@example.com",
    "download_url": "https://files.pythonhosted.org/packages/4e/20/8097e810ad59d29845ad52284c1c7c38f53fb874717b80722b9871a183dd/quackpanda-0.1.2.tar.gz",
    "platform": null,
    "description": "# QuackPanda: SQL Capability for Pandas using DuckDB \ud83e\udd86\ud83d\udc3c\nquackpanda is a Python library designed to bring Spark-like SQL capabilities to Pandas DataFrames using DuckDB, allowing users to execute SQL queries and perform advanced database operations directly on DataFrames.\n\n## Features\nSeamless integration with DuckDB for executing SQL queries on Pandas DataFrames.\nEfficient registration of DataFrames as temporary tables.\nSupports a variety of SQL functionalities, offering flexibility in DataFrame manipulation.\nInstallation\nTo install quackpanda, use pip:\n```\npip install quackpanda\n```\nQuick Start\nHere's a basic example of how to use quackpanda to register a DataFrame as a table and execute a SQL query:\n\n```python\nimport pandas as pd\nfrom quackpanda.core import QuackPanda\n\n# Create a sample DataFrame\ndata = {'Name': ['Alice', 'Bob'], 'Age': [25, 30]}\ndf = pd.DataFrame(data)\n\n# Initialize QuackPanda\nqp = QuackPanda()\n\n# Register DataFrame as a temporary table\nqp.register_temp_table(df, 'people')\n\n# Execute SQL query\nresult_df = qp.execute_query('SELECT * FROM people WHERE Age > 25')\n\n# Display the result\nprint(result_df)\n```\n## Documentation\nFor detailed information on quackpanda's features and usage, please refer to the official documentation (add the link to your documentation).\n\n## Contributing\nWe welcome contributions to quackpanda! Please see our Contributing Guide for more details.\n\n## Support & Feedback\nFor support, questions, or feedback, please submit an issue on GitHub.\n\n## License\nquackpanda is licensed under the MIT License.\n\n## Acknowledgments\nSpecial thanks to the creators and contributors of Pandas and DuckDB for their incredible work, which made quackpanda possible.\n\nMake sure to adapt the file paths, URLs, and other specific information to match your project's actual details. Also, consistently update the README as your project evolves, adding new sections or modifying existing ones as needed.",
    "bugtrack_url": null,
    "license": "",
    "summary": "QuackPanda: SQL Capability for Pandas using DuckDB",
    "version": "0.1.2",
    "project_urls": null,
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "e7b8ae9f9e858e64866ce3cc2a1ea4d876d4076922cbd5b233d33d0b1b396704",
                "md5": "cec69efb3d4c5c6bc03dae93516696c3",
                "sha256": "b98ce348eb0b5b671e91d94081bf8e7413d45f00756ae991ad418fb8658f8458"
            },
            "downloads": -1,
            "filename": "quackpanda-0.1.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "cec69efb3d4c5c6bc03dae93516696c3",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.10,<3.13",
            "size": 7446,
            "upload_time": "2023-09-27T04:02:10",
            "upload_time_iso_8601": "2023-09-27T04:02:10.812981Z",
            "url": "https://files.pythonhosted.org/packages/e7/b8/ae9f9e858e64866ce3cc2a1ea4d876d4076922cbd5b233d33d0b1b396704/quackpanda-0.1.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "4e208097e810ad59d29845ad52284c1c7c38f53fb874717b80722b9871a183dd",
                "md5": "e74e8da9ab7d7ad9ef00de90ecd4021c",
                "sha256": "2d483a11d05829c1cf8091a6e4d6919ea2c2bb6f2c9751366986bce4c89b4215"
            },
            "downloads": -1,
            "filename": "quackpanda-0.1.2.tar.gz",
            "has_sig": false,
            "md5_digest": "e74e8da9ab7d7ad9ef00de90ecd4021c",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.10,<3.13",
            "size": 6701,
            "upload_time": "2023-09-27T04:02:12",
            "upload_time_iso_8601": "2023-09-27T04:02:12.377883Z",
            "url": "https://files.pythonhosted.org/packages/4e/20/8097e810ad59d29845ad52284c1c7c38f53fb874717b80722b9871a183dd/quackpanda-0.1.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-09-27 04:02:12",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "quackpanda"
}
        
Elapsed time: 0.20685s