..
This file is a part of sqliteimport <https://github.com/kurtmckee/sqliteimport>
Copyright 2024 Kurt McKee <contactme@kurtmckee.org>
SPDX-License-Identifier: MIT
sqliteimport
############
*Import Python code from sqlite databases.*
-------------------------------------------------------------------------------
Demo usage example, using ``demo.py`` in `the sqliteimport repository`_:
.. code-block:: bash
# Ensure sqliteimport is installed with the 'cli' extra.
pip install sqliteimport[cli]
# Install 'requests' in a standalone directory.
pip install --target=sample requests
# Generate a sqlite database containing the installed packages.
sqliteimport bundle sample sample.sqlite3
# Demonstrate that importing from a database works.
python demo.py sample.sqlite3
This is the output:
.. code-block:: console
$ python demo.py
The requests module object:
<module 'requests' (sample.sqlite3)>
Requesting a webpage...success!
.. warning::
The database format is likely to change as the project matures.
.. _the sqliteimport repository: https://github.com/kurtmckee/sqliteimport
Raw data
{
"_id": null,
"home_page": "https://github.com/kurtmckee/sqliteimport",
"name": "sqliteimport",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": null,
"keywords": null,
"author": "Kurt McKee",
"author_email": "contactme@kurtmckee.org",
"download_url": "https://files.pythonhosted.org/packages/93/d5/7662f85a13a0b0772e0ec05bc9a3ebf144b01cdbcb310ad8b37c18adf735/sqliteimport-0.2.0.tar.gz",
"platform": null,
"description": "..\n This file is a part of sqliteimport <https://github.com/kurtmckee/sqliteimport>\n Copyright 2024 Kurt McKee <contactme@kurtmckee.org>\n SPDX-License-Identifier: MIT\n\n\nsqliteimport\n############\n\n*Import Python code from sqlite databases.*\n\n-------------------------------------------------------------------------------\n\nDemo usage example, using ``demo.py`` in `the sqliteimport repository`_:\n\n.. code-block:: bash\n\n # Ensure sqliteimport is installed with the 'cli' extra.\n pip install sqliteimport[cli]\n\n # Install 'requests' in a standalone directory.\n pip install --target=sample requests\n\n # Generate a sqlite database containing the installed packages.\n sqliteimport bundle sample sample.sqlite3\n\n # Demonstrate that importing from a database works.\n python demo.py sample.sqlite3\n\n\nThis is the output:\n\n.. code-block:: console\n\n $ python demo.py\n The requests module object:\n <module 'requests' (sample.sqlite3)>\n\n Requesting a webpage...success!\n\n.. warning::\n\n The database format is likely to change as the project matures.\n\n.. _the sqliteimport repository: https://github.com/kurtmckee/sqliteimport\n\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Import Python code from sqlite databases",
"version": "0.2.0",
"project_urls": {
"Homepage": "https://github.com/kurtmckee/sqliteimport",
"Repository": "https://github.com/kurtmckee/sqliteimport"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "179c5fe3bca2b87068f6ef21fc1fa21f24cceb31b64d504c5b60554910d28412",
"md5": "64b96248f02a24509eeade8814b8f407",
"sha256": "22684eb121e45a68e40270ad8278823e5079c15a9dc3355797921aaceac93f07"
},
"downloads": -1,
"filename": "sqliteimport-0.2.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "64b96248f02a24509eeade8814b8f407",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8",
"size": 5391,
"upload_time": "2024-05-23T14:29:37",
"upload_time_iso_8601": "2024-05-23T14:29:37.909072Z",
"url": "https://files.pythonhosted.org/packages/17/9c/5fe3bca2b87068f6ef21fc1fa21f24cceb31b64d504c5b60554910d28412/sqliteimport-0.2.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "93d57662f85a13a0b0772e0ec05bc9a3ebf144b01cdbcb310ad8b37c18adf735",
"md5": "8477d11a03922d2646d4785165c113fc",
"sha256": "11fba728ed351cf9b1882809dca1e1580117d3b56b584320529370fc996b58b5"
},
"downloads": -1,
"filename": "sqliteimport-0.2.0.tar.gz",
"has_sig": false,
"md5_digest": "8477d11a03922d2646d4785165c113fc",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8",
"size": 4123,
"upload_time": "2024-05-23T14:29:39",
"upload_time_iso_8601": "2024-05-23T14:29:39.373459Z",
"url": "https://files.pythonhosted.org/packages/93/d5/7662f85a13a0b0772e0ec05bc9a3ebf144b01cdbcb310ad8b37c18adf735/sqliteimport-0.2.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-05-23 14:29:39",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "kurtmckee",
"github_project": "sqliteimport",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"tox": true,
"lcname": "sqliteimport"
}