{"id":24517718,"url":"https://github.com/pyzh/pyq-dev","last_synced_at":"2025-03-15T11:10:54.580Z","repository":{"id":196578474,"uuid":"147907177","full_name":"pyzh/pyq-dev","owner":"pyzh","description":"Development version of pyq","archived":false,"fork":false,"pushed_at":"2018-07-06T00:05:07.000Z","size":1126,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-01-22T01:36:42.210Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pyzh.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGES.rst","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2018-09-08T06:17:14.000Z","updated_at":"2020-06-10T17:38:37.000Z","dependencies_parsed_at":"2023-09-26T08:19:25.582Z","dependency_job_id":null,"html_url":"https://github.com/pyzh/pyq-dev","commit_stats":null,"previous_names":["pyzh/pyq-dev"],"tags_count":17,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pyzh%2Fpyq-dev","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pyzh%2Fpyq-dev/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pyzh%2Fpyq-dev/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pyzh%2Fpyq-dev/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pyzh","download_url":"https://codeload.github.com/pyzh/pyq-dev/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243719399,"owners_count":20336607,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-01-22T01:34:57.609Z","updated_at":"2025-03-15T11:10:54.555Z","avatar_url":"https://github.com/pyzh.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PyQ - Python for kdb+\n\n[![Build Status](https://travis-ci.org/KxSystems/pyq.svg?branch=master)](https://travis-ci.org/KxSystems/pyq)\n[![Documentation Status](https://readthedocs.org/projects/pyq/badge/?version=latest)](https://pyq.readthedocs.io/en/latest/?badge=latest)\n[![PyPI Version](https://img.shields.io/pypi/v/pyq.svg)](https://pypi.python.org/pypi/pyq)\n[![LGTM Alerts](https://img.shields.io/lgtm/alerts/g/enlnt/pyq.svg?logo=lgtm\u0026logoWidth=18)](https://lgtm.com/projects/g/enlnt/pyq)\n[![LGTM Grade](https://img.shields.io/lgtm/grade/python/g/enlnt/pyq.svg?logo=lgtm\u0026logoWidth=18)](https://lgtm.com/projects/g/enlnt/pyq)\n[![Codecov](https://codecov.io/gh/KxSystems/pyq/branch/master/graph/badge.svg)](https://codecov.io/gh/KxSystems/pyq)\n\n[PyQ][2] brings the [Python programming language][4] to the [kdb+ database][5].\nPart of the [_Fusion for kdb+_][6] interface collection.\n\nIt allows developers to integrate Python and q codes seamlessly in one application.\nThis is achieved by bringing the Python and q interpreters into the same process so that code written in either of the languages operates on the same data.\nIn PyQ, Python and q objects live in the same memory space and share the same\ndata.\n\nPlease [report issues][7] in this repository.\n\n\n## Installation\n\n```bash\npip install pyq\n```\n\nSee detailed [installation instructions][1].\n\n## Usage\n\nFor Python programmers:\n\n```bash\n$ pyq\n```\n```python\n\u003e\u003e\u003e from pyq import q\n\u003e\u003e\u003e 1 + q.til(10)\nk('1 2 3 4 5 6 7 8 9 10')\n```\n\nor run your Python script as\n\n```bash\npyq [python options] python-script\n```\n\nFor q programmers:\n\n```bash\n$ q\n```\n```q\nq)p)from math import hypot  # prefix python code with p)\nq)p)q.h = hypot             # import a python function\nq)h 3 4                     / call the python function from q\n5f\n```\n\n## Documentation\n\nDocumentation is available on the [PyQ homepage][2].\n\n## Testing\n\nUse [tox][3] to run tests.\n\n```bash\ncd path/to/pyq/source\ntox\n```\n\n[1]: https://code.kx.com/q/interfaces/pyq/install/\n[2]: https://code.kx.com/q/interfaces/pyq\n[3]: https://tox.readthedocs.io/en/latest\n[4]: https://www.python.org/about\n[5]: https://kx.com\n[6]: https://code.kx.com/q/interfaces/fusion/\n[7]: https://github.com/KxSystems/pyq/issues\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpyzh%2Fpyq-dev","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpyzh%2Fpyq-dev","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpyzh%2Fpyq-dev/lists"}