Skip to main content

NeoPika - Python Query Builder

Build Status

License

Important Note

NeoPika is a fork of PyPika, created to maintain and advance the project as the original repository has become unmaintained. While we maintain full compatibility with PyPika's core functionality, we are actively developing new features, fixing bugs, and improving the codebase. All modifications are made under the same Apache 2.0 license as the original project.

If you're coming from PyPika, you'll find all the functionality you're familiar with, plus additional improvements and modern tooling support (like uv for dependency management and mkdocs for documentation).

Abstract

What is NeoPika?

NeoPika is a Python API for building SQL queries. The motivation behind NeoPika is to provide a simple interface for building SQL queries without limiting the flexibility of handwritten SQL. Designed with data analysis in mind, NeoPika leverages the builder design pattern to construct queries to avoid messy string formatting and concatenation. It is also easily extended to take full advantage of specific features of SQL database vendors.

What are the design goals for NeoPika?

NeoPika is a fast, expressive and flexible way to replace handwritten SQL (or even ORM for the courageous souls amongst you). Validation of SQL correctness is not an explicit goal of NeoPika. With such a large number of SQL database vendors providing a robust validation of input data is difficult. Instead you are encouraged to check inputs you provide to NeoPika or appropriately handle errors raised from your SQL database - just as you would have if you were writing SQL yourself.

Read the docs

Installation

NeoPika supports Python 3.6+. It may also work on pypy, cython, and jython, but is not being tested for these versions.

To install NeoPika run the following command:

pip install neopika

Tutorial

The main classes in neopika are neopika.Query, neopika.Table, and neopika.Field.

from neopika import Query, Table, Field

For the complete tutorial and documentation, please visit our documentation site.

Contributing

We welcome community contributions to NeoPika. Please see our contributing guide for more info.

License

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Metadata

Release files for NeoPika 0.49.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for NeoPika 0.49.0
File Size Uploaded Provenance Actions
neopika-0.49.0.tar.gz 147.2 kB Without provenance Details for neopika-0.49.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for NeoPika 0.49.0
File Interpreter ABI Platform Actions
neopika-0.49.0-py3-none-any.whl Python 3 none any Details for neopika-0.49.0-py3-none-any.whl

Total release size: 257.2 kB

Release files / neopika-0.49.0.tar.gz

Download URL neopika-0.49.0.tar.gz
Size 147.2 kB
Tags Source
SHA-256 checksum
How to use checksums
63140fdef7201ce82004f213ed246e3460ae8ff0bbb048e58e52bc97b86ffd20
BLAKE2b-256 checksum
How to use checksums
3cff7ccbb97d317cc8d23b178475ff9451bace7895e2b02a8bfd47ee83bbceda
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.5.27

Release files / neopika-0.49.0-py3-none-any.whl

Download URL neopika-0.49.0-py3-none-any.whl
Size 109.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ae8b6068548afa198f812b57adbe19c5db5ed67778317299c1d389d6f131fa93
BLAKE2b-256 checksum
How to use checksums
99cf933975e430c145b2b4b49831be3e4c70c4503b4b90cc5aef051cc156b349
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.5.27

Security for NeoPika 0.49.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.49.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page