poetbricks
A CLI tool to create requirements files that are compatible with databricks from the peorty section of the pypjroject.toml file.
Requirements
- python >= 3.10
- requests >= 2.32.2
Testing requirements
- request-mock >= 1.12.1
- pytest-mock >=3.14.0
- pytest >= 8.3.3
Installation
We recommand to use pipx to install the package as follows:
pipx install poetbricks
But its also possible to use pip:
pip install poetbricks
Usage
Run the poetbricks command inside of your poetry project. You need to provede the -v Databricks vmimage version. poetbricks will look for the pyproject.toml file in the current working directory if the argument -i is not set (pointing to the folder containig the pyproject.toml file).
Example
Create the requirement.txt file based on the Databricks 15.3 vmimage version and the pyproject toml.
poetbricks -v 15.3 -i . -w
The -w prevents poetbricks to override a requirements.txt file in -i.
Running Tests
To run the tests use poetry to install all needed dependencies and run the tests.
poetry run pytest -v
Contribute
If you find any problems or have feature requests create an issue or a PR.
Metadata
Release files for poetbricks 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| poetbricks-0.1.2.tar.gz | 15.3 kB | Without provenance | Details for poetbricks-0.1.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| poetbricks-0.1.2-py3-none-any.whl | Python 3 | none | any | Details for poetbricks-0.1.2-py3-none-any.whl |
Total release size: 31.3 kB
Release files / poetbricks-0.1.2.tar.gz
| Download URL | poetbricks-0.1.2.tar.gz |
|---|---|
| Size | 15.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6274746afc15d4db8fade9023d3f936de9a2db726d56e64991ba8b2e30b0fe9b
|
|
BLAKE2b-256 checksum How to use checksums |
ce7bf3c4c3350f35db7066bb1cad0e98ef8efa73075621a1d4a0f67e800e0a68
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.4 CPython/3.12.7 Darwin/23.6.0
|
Release files / poetbricks-0.1.2-py3-none-any.whl
| Download URL | poetbricks-0.1.2-py3-none-any.whl |
|---|---|
| Size | 16.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
dd73cc69d81ad5c21e9baf1bdd70d0359f94a1fb0042aaf0952097614a821e9c
|
|
BLAKE2b-256 checksum How to use checksums |
5eef2fd69b9b948affc04b78f0f4e0ea121d639bdc3d672ca52aa86108c4d5d5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.4 CPython/3.12.7 Darwin/23.6.0
|
Security for poetbricks 0.1.2
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.