qPython
=======
qPython is a Python library providing support for interprocess communication between Python and kdb+ processes, it offers:
- Synchronous and asynchronous queries
- Convenient asynchronous callbacks mechanism
- Support for kdb+ protocol and types as of kdb+ v4.0
- Uncompression of the IPC data stream
- Internal representation of data via numpy arrays (lists, complex types) and numpy data types (atoms)
- Supported on Python 3.4/3.5/3.6 and numpy 1.8+
For more details please refer to the `documentation`_.
Note: This is a forked version of qpython to add new features since "qpython3" by finos is in maintenance mode
Installation
------------
To install qPython from PyPI:
``$ pip install qconnect``
**Please do not use old PyPI package name: qpython or exxeleron-qpython.**
Building package
----------------
Documentation
~~~~~~~~~~~~~
qPython documentation is generated with help of `Sphinx`_ document generator.
In order to build the documentation, including the API docs, execute:
``make html`` from the doc directory.
Documentation is built into the: ``doc/build/html/`` directory.
Compile Cython extensions
~~~~~~~~~~~~~~~~~~~~~~~~~
qPython utilizes `Cython`_ to tune performance critical parts of the code.
Instructions:
- Execute: ``python setup.py build_ext --inplace``
Build binary distribution
~~~~~~~~~~~~~~~~~~~~~~~~~
Instructions:
- Execute: ``python setup.py bdist``
Testing
~~~~~~~
qPython uses py.test as a test runner for unit tests.
Instructions:
- Make sure that top directory is included in the ``PYTHONPATH``
- Execute: ``py.test``
CVE Scanning
~~~~~~~~~~~~
Configured GitHub Action as per the "Python" section of:
- https://github.com/maoo/security-scanning
Requirements
~~~~~~~~~~~~
qPython requires numpy 1.8 to run.
Optional requirements have to be met to provide additional features:
- tune performance of critical parts of the code:
- Cython 0.20.1
- support serialization/deserialization of ``pandas.Series`` and ``pandas.DataFrame``
- pandas 0.14.0
- run Twisted sample:
- Twisted 13.2.0
- build documentation via Sphinx:
- Sphinx 1.2.3
- mock 1.0.1
Required libraries can be installed using `pip`_.
To install all the required dependencies, execute:
``pip install -r requirements.txt``
Minimal set of required dependencies can be installed by executing:
``pip install -r requirements-minimal.txt``
.. _Cython: http://cython.org/
.. _Sphinx: http://sphinx-doc.org/
.. _pip: http://pypi.python.org/pypi/pip
.. _documentation: http://qpython.readthedocs.org/en/latest/
Raw data
{
"_id": null,
"home_page": "https://github.com/mm00re1/qConnect",
"name": "qConnect",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": "kdb+, q",
"author": "mm00re1",
"author_email": "mauricemoore100@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/1a/3a/f7a2e14d3254875a5f7f2bdfad4273c6998161a3fc9db942466bc3a4a714/qConnect-0.1.3.tar.gz",
"platform": null,
"description": "qPython\r\n=======\r\n\r\nqPython is a Python library providing support for interprocess communication between Python and kdb+ processes, it offers:\r\n\r\n- Synchronous and asynchronous queries\r\n- Convenient asynchronous callbacks mechanism\r\n- Support for kdb+ protocol and types as of kdb+ v4.0\r\n- Uncompression of the IPC data stream\r\n- Internal representation of data via numpy arrays (lists, complex types) and numpy data types (atoms)\r\n- Supported on Python 3.4/3.5/3.6 and numpy 1.8+\r\n\r\nFor more details please refer to the `documentation`_.\r\n\r\nNote: This is a forked version of qpython to add new features since \"qpython3\" by finos is in maintenance mode\r\n\r\nInstallation\r\n------------\r\n\r\nTo install qPython from PyPI:\r\n\r\n``$ pip install qconnect``\r\n\r\n**Please do not use old PyPI package name: qpython or exxeleron-qpython.**\r\n\r\n\r\nBuilding package\r\n----------------\r\n\r\nDocumentation\r\n~~~~~~~~~~~~~\r\n\r\nqPython documentation is generated with help of `Sphinx`_ document generator.\r\nIn order to build the documentation, including the API docs, execute:\r\n``make html`` from the doc directory.\r\n\r\nDocumentation is built into the: ``doc/build/html/`` directory.\r\n\r\n\r\nCompile Cython extensions\r\n~~~~~~~~~~~~~~~~~~~~~~~~~\r\n\r\nqPython utilizes `Cython`_ to tune performance critical parts of the code.\r\n\r\nInstructions:\r\n\r\n- Execute: ``python setup.py build_ext --inplace``\r\n\r\n\r\nBuild binary distribution\r\n~~~~~~~~~~~~~~~~~~~~~~~~~\r\n\r\nInstructions:\r\n\r\n- Execute: ``python setup.py bdist``\r\n\r\n\r\nTesting\r\n~~~~~~~\r\n\r\nqPython uses py.test as a test runner for unit tests.\r\n\r\nInstructions:\r\n\r\n- Make sure that top directory is included in the ``PYTHONPATH``\r\n- Execute: ``py.test``\r\n\r\n\r\nCVE Scanning\r\n~~~~~~~~~~~~\r\n\r\nConfigured GitHub Action as per the \"Python\" section of:\r\n\r\n- https://github.com/maoo/security-scanning\r\n\r\n\r\nRequirements\r\n~~~~~~~~~~~~\r\n\r\nqPython requires numpy 1.8 to run.\r\n\r\nOptional requirements have to be met to provide additional features:\r\n\r\n- tune performance of critical parts of the code:\r\n\r\n - Cython 0.20.1\r\n\r\n- support serialization/deserialization of ``pandas.Series`` and ``pandas.DataFrame``\r\n\r\n - pandas 0.14.0\r\n\r\n- run Twisted sample:\r\n\r\n - Twisted 13.2.0\r\n\r\n- build documentation via Sphinx:\r\n\r\n - Sphinx 1.2.3\r\n - mock 1.0.1\r\n\r\nRequired libraries can be installed using `pip`_.\r\n\r\nTo install all the required dependencies, execute:\r\n``pip install -r requirements.txt``\r\n\r\nMinimal set of required dependencies can be installed by executing:\r\n``pip install -r requirements-minimal.txt``\r\n\r\n.. _Cython: http://cython.org/\r\n.. _Sphinx: http://sphinx-doc.org/\r\n.. _pip: http://pypi.python.org/pypi/pip\r\n.. _documentation: http://qpython.readthedocs.org/en/latest/\r\n\r\n\r\n",
"bugtrack_url": null,
"license": "Apache License Version 2.0",
"summary": "kdb+ interfacing library for Python",
"version": "0.1.3",
"project_urls": {
"Homepage": "https://github.com/mm00re1/qConnect"
},
"split_keywords": [
"kdb+",
" q"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "88520eaae2e0a5e4673854141e4bd865c8b44c02251821cd04b6e891290456cc",
"md5": "042d35df5677974c24a15982c7e12f3f",
"sha256": "a1b9a4ddfc1b33d9c9c5a3f34c2c15a34092624cc470e326226150e30724cf3d"
},
"downloads": -1,
"filename": "qConnect-0.1.3-cp310-cp310-win_amd64.whl",
"has_sig": false,
"md5_digest": "042d35df5677974c24a15982c7e12f3f",
"packagetype": "bdist_wheel",
"python_version": "cp310",
"requires_python": null,
"size": 81754,
"upload_time": "2025-01-23T23:46:01",
"upload_time_iso_8601": "2025-01-23T23:46:01.761440Z",
"url": "https://files.pythonhosted.org/packages/88/52/0eaae2e0a5e4673854141e4bd865c8b44c02251821cd04b6e891290456cc/qConnect-0.1.3-cp310-cp310-win_amd64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "1a3af7a2e14d3254875a5f7f2bdfad4273c6998161a3fc9db942466bc3a4a714",
"md5": "07123ba3c080d77a64c30189ec136a9a",
"sha256": "6f399580ada1c77f26b7f64c9a0647ddd52c9f868a33221dc5c5ea1a56120623"
},
"downloads": -1,
"filename": "qConnect-0.1.3.tar.gz",
"has_sig": false,
"md5_digest": "07123ba3c080d77a64c30189ec136a9a",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 102602,
"upload_time": "2025-01-23T23:46:03",
"upload_time_iso_8601": "2025-01-23T23:46:03.972729Z",
"url": "https://files.pythonhosted.org/packages/1a/3a/f7a2e14d3254875a5f7f2bdfad4273c6998161a3fc9db942466bc3a4a714/qConnect-0.1.3.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-01-23 23:46:03",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "mm00re1",
"github_project": "qConnect",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [
{
"name": "pytest",
"specs": [
[
">=",
"2.5.0"
]
]
},
{
"name": "numpy",
"specs": [
[
">=",
"1.8.0"
]
]
},
{
"name": "pandas",
"specs": [
[
">=",
"0.14.0"
]
]
},
{
"name": "cython",
"specs": [
[
">=",
"0.20"
]
]
},
{
"name": "twisted",
"specs": [
[
">=",
"13.2.0"
]
]
},
{
"name": "mock",
"specs": [
[
">=",
"1.0.1"
]
]
}
],
"lcname": "qconnect"
}