bacx-0.1.8rc6


توضیحات

CogneXa toolkit.
ویژگی مقدار
سیستم عامل OS Independent
نام فایل bacx-0.1.8rc6
نام bacx
نسخه کتابخانه 0.1.8rc6
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Cognexa Solutions s.r.o.
ایمیل نویسنده info@cognexa.com
آدرس صفحه اصلی https://github.com/Cognexa/bacx
آدرس اینترنتی https://pypi.org/project/bacx/
مجوز MIT license
Bacx ==== ![toolbox](https://media3.giphy.com/media/3oKIPqsXYcdjcBcXL2/200.gif) ## Content * [About library](#about-library) * [Install](#install) * [Examples](#examples) * [Namedict](#namedict) * [Config](#config) * [Development](#development) * [Build pip package](#build-pip-package) * [Requires](#requires) * [Licence](#licence) ## About library This is Python library with various tools designed primary for needs of Cognexa backend engineering team. ## Install ```bash $ pip install bacx ``` ## Examples See [documentation](docs/examples.md) ## Development If you want to develop bacx, first: * clone this repo: ```bash $ git clone <repo path> ``` * build [docker](https://docs.docker.com/compose/install/) image (to be able to test bacx): ```bash $ 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. ```bash $ 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: ```bash $ docker-compose run --rm bacx_storage python ``` * import bacx: ```python >>> import bacx ``` ### Run bacx tests: Tests are located in `tests/` folder. To run all tests inside docker: ```bash $ docker-compose run --rm bacx_storage python -m unittest discover ``` or: ```bash $ docker-compose run --rm test ``` To run specific test (for example tests for `config.py`): ```bash $ docker-compose run --rm bacx_storage python -m tests.utils.test_config ``` ## Build pip package If you need to [build](https://packaging.python.org/tutorials/packaging-projects/#generating-distribution-archives) bacx from source, use this command from project root folder: ```bash $ 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: ```bash $ pip install dist/<package name>.whl ``` To build package under project's pipenv use: ```bash $ pipenv install --dev --ignore-pipfile --deploy $ . "$(pipenv --venv)"/bin/activate $ python setup.py bdist_wheel ``` ## Requires See: [Pipfile](Pipfile) ## Licence [MIT license](LICENSE)


نیازمندی

مقدار نام
- boto3
- google-cloud-pubsub
- google-cloud-storage
- pyyaml
- redis
- requests
- yamale


نحوه نصب


نصب پکیج whl bacx-0.1.8rc6:

    pip install bacx-0.1.8rc6.whl


نصب پکیج tar.gz bacx-0.1.8rc6:

    pip install bacx-0.1.8rc6.tar.gz