Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pylimbo package? #248

Open
penberg opened this issue Jul 30, 2024 · 0 comments
Open

pylimbo package? #248

penberg opened this issue Jul 30, 2024 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed question Further information is requested

Comments

@penberg
Copy link
Owner

penberg commented Jul 30, 2024

As discussed in this issue, some users may want to consume Limbo on Python via a pylimbo package:

#128 (comment)

We can build a bindings/python package using https://www.maturin.rs, which follows the same API that Python's integrated SQLite has to have a drop-in replacement package.

@penberg penberg added enhancement New feature or request help wanted Extra attention is needed good first issue Good for newcomers question Further information is requested labels Jul 30, 2024
penberg added a commit that referenced this issue Aug 11, 2024
This pull request introduces the initial setup for the Python bindings
(#248).

- Setup Configuration: Added the Python binding stack, including the
  `pyo3 `crates, `pyproject.toml`, `build.rs`, and other necessary
  files.

- Database Class: Implemented the Database class with a constructor to
  establish a connection and a query function to execute SQL queries.

- Testing: Created `database.db` with a sample users table and two
  entries, as outlined in README.md, and added three pytest functions to
  validate the Python output.

Closes #276
penberg added a commit that referenced this issue Aug 30, 2024
Added a GitHub CI action for the Python bindings with Maturin for
building, Ruff for formatting checks, and pytest for running tests. This
is related to #248

Closes #298
penberg added a commit that referenced this issue Sep 2, 2024
Chores for Python bindings development. Follow-up for PR #298.

Key things:

 - Run tests for current multiple Python versions
 - Format Python code with Ruff and check format in CI workflow
 - Check requirements[-dev].txt correctness in CI workflow
 - Add basic Makefile for Python commands

Relates to #248

Closes #311
penberg added a commit that referenced this issue Sep 22, 2024
This pull request introduces the initial setup for the Python bindings
(#248).

- Setup Configuration: Added the Python binding stack, including the
  `pyo3 `crates, `pyproject.toml`, `build.rs`, and other necessary
  files.

- Database Class: Implemented the Database class with a constructor to
  establish a connection and a query function to execute SQL queries.

- Testing: Created `database.db` with a sample users table and two
  entries, as outlined in README.md, and added three pytest functions to
  validate the Python output.

Closes #276
penberg added a commit that referenced this issue Sep 22, 2024
Added a GitHub CI action for the Python bindings with Maturin for
building, Ruff for formatting checks, and pytest for running tests. This
is related to #248

Closes #298
penberg added a commit that referenced this issue Sep 22, 2024
Chores for Python bindings development. Follow-up for PR #298.

Key things:

 - Run tests for current multiple Python versions
 - Format Python code with Ruff and check format in CI workflow
 - Check requirements[-dev].txt correctness in CI workflow
 - Add basic Makefile for Python commands

Relates to #248

Closes #311
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant