gabiteodoru-qpython


Namegabiteodoru-qpython JSON
Version 2.0.0 PyPI version JSON
download
home_pagehttps://github.com/gabiteodoru/qPython
Summarykdb+ interfacing library for Python
upload_time2025-07-16 05:02:19
maintainerNone
docs_urlNone
authorGabi Teodoru (fork of FINOS qPython)
requires_pythonNone
licenseApache License Version 2.0
keywords kdb+ q
VCS
bugtrack_url
requirements pytest numpy pandas cython twisted mock
Travis-CI No Travis.
coveralls test coverage No coveralls.
            qPython (NumPy 2.0 Compatible Fork)
====================================

**This is a fork of** `finos/qPython <https://github.com/finos/qPython>`_ **with NumPy 2.0 compatibility fixes applied.**

**Changes made:**

- **Date:** 2025-01-24
- **Fix:** Replaced all ``numpy.string_`` with ``numpy.bytes_`` for NumPy 2.0 compatibility, also ``NaN`` with ``nan``, etc
- **Original qPython version:** Latest from finos/qPython as of fork date

For the original project and full documentation, see: https://github.com/finos/qPython

----

qPython (Original README below)
===============================

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`_.


Installation
------------

To install qPython from PyPI:

``$ pip install qpython3``

**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/gabiteodoru/qPython",
    "name": "gabiteodoru-qpython",
    "maintainer": null,
    "docs_url": null,
    "requires_python": null,
    "maintainer_email": null,
    "keywords": "kdb+, q",
    "author": "Gabi Teodoru (fork of FINOS qPython)",
    "author_email": "gabiteodoru@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/17/14/452129e2cbe2bab6b5c05fe27bdbe52683ff676ebdbdb44046c92e801d86/gabiteodoru_qpython-2.0.0.tar.gz",
    "platform": null,
    "description": "qPython (NumPy 2.0 Compatible Fork)\n====================================\n\n**This is a fork of** `finos/qPython <https://github.com/finos/qPython>`_ **with NumPy 2.0 compatibility fixes applied.**\n\n**Changes made:**\n\n- **Date:** 2025-01-24\n- **Fix:** Replaced all ``numpy.string_`` with ``numpy.bytes_`` for NumPy 2.0 compatibility, also ``NaN`` with ``nan``, etc\n- **Original qPython version:** Latest from finos/qPython as of fork date\n\nFor the original project and full documentation, see: https://github.com/finos/qPython\n\n----\n\nqPython (Original README below)\n===============================\n\nqPython is a Python library providing support for interprocess communication between Python and kdb+ processes, it offers:\n\n- Synchronous and asynchronous queries\n- Convenient asynchronous callbacks mechanism\n- Support for kdb+ protocol and types as of kdb+ v4.0\n- Uncompression of the IPC data stream\n- Internal representation of data via numpy arrays (lists, complex types) and numpy data types (atoms)\n- Supported on Python 3.4/3.5/3.6 and numpy 1.8+\n\nFor more details please refer to the `documentation`_.\n\n\nInstallation\n------------\n\nTo install qPython from PyPI:\n\n``$ pip install qpython3``\n\n**Please do not use old PyPI package name: qpython or exxeleron-qpython.**\n\n\nBuilding package\n----------------\n\nDocumentation\n~~~~~~~~~~~~~\n\nqPython documentation is generated with help of `Sphinx`_ document generator.\nIn order to build the documentation, including the API docs, execute:\n``make html`` from the doc directory.\n\nDocumentation is built into the: ``doc/build/html/`` directory.\n\n\nCompile Cython extensions\n~~~~~~~~~~~~~~~~~~~~~~~~~\n\nqPython utilizes `Cython`_ to tune performance critical parts of the code.\n\nInstructions:\n\n- Execute: ``python setup.py build_ext --inplace``\n\n\nBuild binary distribution\n~~~~~~~~~~~~~~~~~~~~~~~~~\n\nInstructions:\n\n- Execute: ``python setup.py bdist``\n\n\nTesting\n~~~~~~~\n\nqPython uses py.test as a test runner for unit tests.\n\nInstructions:\n\n- Make sure that top directory is included in the ``PYTHONPATH``\n- Execute: ``py.test``\n\n\nCVE Scanning\n~~~~~~~~~~~~\n\nConfigured GitHub Action as per the \"Python\" section of:\n\n- https://github.com/maoo/security-scanning\n\n\nRequirements\n~~~~~~~~~~~~\n\nqPython requires numpy 1.8 to run.\n\nOptional requirements have to be met to provide additional features:\n\n- tune performance of critical parts of the code:\n\n  - Cython 0.20.1\n\n- support serialization/deserialization of ``pandas.Series`` and ``pandas.DataFrame``\n\n  - pandas 0.14.0\n\n- run Twisted sample:\n\n  - Twisted 13.2.0\n\n- build documentation via Sphinx:\n\n  - Sphinx 1.2.3\n  - mock 1.0.1\n\nRequired libraries can be installed using `pip`_.\n\nTo install all the required dependencies, execute:\n``pip install -r requirements.txt``\n\nMinimal set of required dependencies can be installed by executing:\n``pip install -r requirements-minimal.txt``\n\n.. _Cython: http://cython.org/\n.. _Sphinx: http://sphinx-doc.org/\n.. _pip: http://pypi.python.org/pypi/pip\n.. _documentation: http://qpython.readthedocs.org/en/latest/\n",
    "bugtrack_url": null,
    "license": "Apache License Version 2.0",
    "summary": "kdb+ interfacing library for Python",
    "version": "2.0.0",
    "project_urls": {
        "Homepage": "https://github.com/gabiteodoru/qPython"
    },
    "split_keywords": [
        "kdb+",
        " q"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "67600aefe3d2ad947b96c5a75285aed961d79801f179821c4bc452e4fd64192e",
                "md5": "cc28ccc8da016604f6c0e4d7431a29e6",
                "sha256": "e01db9c1f2d7ab2be413c9d7e8457dc627759435f2a04bed3679f9630c4b9ccf"
            },
            "downloads": -1,
            "filename": "gabiteodoru_qpython-2.0.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "cc28ccc8da016604f6c0e4d7431a29e6",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 42355,
            "upload_time": "2025-07-16T05:02:17",
            "upload_time_iso_8601": "2025-07-16T05:02:17.798334Z",
            "url": "https://files.pythonhosted.org/packages/67/60/0aefe3d2ad947b96c5a75285aed961d79801f179821c4bc452e4fd64192e/gabiteodoru_qpython-2.0.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "1714452129e2cbe2bab6b5c05fe27bdbe52683ff676ebdbdb44046c92e801d86",
                "md5": "d337e110ce8a7e6dcdbc1eb7ea681cdc",
                "sha256": "87de5ec0ca64336878874013d0e24d32602d62929b10d33acaab5575348a57e0"
            },
            "downloads": -1,
            "filename": "gabiteodoru_qpython-2.0.0.tar.gz",
            "has_sig": false,
            "md5_digest": "d337e110ce8a7e6dcdbc1eb7ea681cdc",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 29444,
            "upload_time": "2025-07-16T05:02:19",
            "upload_time_iso_8601": "2025-07-16T05:02:19.357279Z",
            "url": "https://files.pythonhosted.org/packages/17/14/452129e2cbe2bab6b5c05fe27bdbe52683ff676ebdbdb44046c92e801d86/gabiteodoru_qpython-2.0.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-07-16 05:02:19",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "gabiteodoru",
    "github_project": "qPython",
    "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": "gabiteodoru-qpython"
}
        
Elapsed time: 0.42689s