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/f4/90/b70d086c54be7e63f785fb7568f540d4b01d9876bb9e26b636c17e24488a/qConnect-0.1.1.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.1",
"project_urls": {
"Homepage": "https://github.com/mm00re1/qConnect"
},
"split_keywords": [
"kdb+",
" q"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "b69593ebd587deba29ce0411b93ac88b41f189627f15585cd9cc106688ff69d6",
"md5": "6149bb281e614f915b55ea04a24cf609",
"sha256": "22c8520c139934608d3773ffc00859d7fdeaee8a9044f6bbb89edb3350ccb994"
},
"downloads": -1,
"filename": "qConnect-0.1.1-cp310-cp310-win_amd64.whl",
"has_sig": false,
"md5_digest": "6149bb281e614f915b55ea04a24cf609",
"packagetype": "bdist_wheel",
"python_version": "cp310",
"requires_python": null,
"size": 78636,
"upload_time": "2024-08-10T09:40:53",
"upload_time_iso_8601": "2024-08-10T09:40:53.275640Z",
"url": "https://files.pythonhosted.org/packages/b6/95/93ebd587deba29ce0411b93ac88b41f189627f15585cd9cc106688ff69d6/qConnect-0.1.1-cp310-cp310-win_amd64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "f490b70d086c54be7e63f785fb7568f540d4b01d9876bb9e26b636c17e24488a",
"md5": "1a5707be6c3363a4d6f8bcd27c8c3610",
"sha256": "eb7eb024deabb8a33a89ac41a847f9bea89aba76bdcc616d838c2375bb684a53"
},
"downloads": -1,
"filename": "qConnect-0.1.1.tar.gz",
"has_sig": false,
"md5_digest": "1a5707be6c3363a4d6f8bcd27c8c3610",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 99734,
"upload_time": "2024-08-10T09:40:55",
"upload_time_iso_8601": "2024-08-10T09:40:55.144950Z",
"url": "https://files.pythonhosted.org/packages/f4/90/b70d086c54be7e63f785fb7568f540d4b01d9876bb9e26b636c17e24488a/qConnect-0.1.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-08-10 09:40:55",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "mm00re1",
"github_project": "qConnect",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [],
"lcname": "qconnect"
}