Bacx
Content
About library
This is Python library with various tools designed primary for needs of Cognexa backend engineering team.
Install
$ pip install bacx
Examples
See documentation
Development
If you want to develop bacx, first:
- clone this repo:
$ git clone <repo path>
- build docker image (to be able to test bacx):
$ docker-compose build
You can then start python interpreter in bacx docker container and test there your changes to source files located
in bacx and tests folder.
$ docker-compose run --rm bacx_storage python
There are some tasks in docs_dev folder (not included in build, so you may not see it).
Try bacx
To launch bacx in python interpreter inside docker:
- start docker image:
$ docker-compose run --rm bacx_storage python
- import bacx:
>>> import bacx
Run bacx tests:
Tests are located in tests/ folder. To run all tests inside docker:
$ docker-compose run --rm bacx_storage python -m unittest discover
or:
$ docker-compose run --rm test
To run specific test (for example tests for config.py):
$ docker-compose run --rm bacx_storage python -m tests.utils.test_config
Build pip package
If you need to build bacx from source, use this command from project root folder:
$ python setup.py bdist_wheel
It will build .whl bacx package and place it to dist folder. This package can be then installed for example using
pip install:
$ pip install dist/<package name>.whl
To build package under project's pipenv use:
$ pipenv install --dev --ignore-pipfile --deploy
$ . "$(pipenv --venv)"/bin/activate
$ python setup.py bdist_wheel
Requires
See: Pipfile
Licence
Metadata
Release files for bacx 0.1.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| bacx-0.1.8-py3-none-any.whl | Python 3 | none | any | Details for bacx-0.1.8-py3-none-any.whl |
Release files / bacx-0.1.8-py3-none-any.whl
| Download URL | bacx-0.1.8-py3-none-any.whl |
|---|---|
| Size | 42.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f4f2640f2ac7d47cd1a7610053c783cce5d3e847e72de45fc5432fd776731f3e
|
|
BLAKE2b-256 checksum How to use checksums |
b85f36a609333cd668dc182f2beb8890ceb3c6346900b36b882c5ff90d526d9c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.5
|
Security for bacx 0.1.8
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.