Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Kukur makes time series data and metadata available to the Apache Arrow ecosystem.
WARNING
Kukur is under active development. Breaking changes to the interfaces are possible.
Kukur uses semantic versioning.
While < 1.0.0
, changes to the minor version indicate breaking changes.
Kukur can be used as a Python library or as a standalone application that exposes an Arrow Flight interface.
A Kukur Docker container is published to Docker Hub:
$ docker pull timeseer/kukur
Multiple types of time series sources are supported:
Check the documentation for more info
Kukur welcomes contributions. For small fixes, just open a pull request on GitHub. Please discuss major changes in a GitHub issue first.
Each file in Kukur requires an SPDX License Identifier and Copyright Text:
# SPDX-FileCopyrightText: 2021 <you/your company>
# SPDX-License-Identifier: Apache-2.0
Community interactions are governed by the Code of Conduct.
Copyright 2021 Timeseer.AI
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.
Create a virtualenv and install dependencies:
$ python -m venv venv
$ source venv/bin/activate
(venv) $ make deps dev-deps
Launch Kukur using:
(venv) $ python -m kukur.cli
Lint and format:
(venv) $ make lint
Kukur uses black to format all code.
Run unit tests:
(venv) $ make test
Kukur runs integration tests against real databases where possible.
OS requirements to complete the integration tests are:
Integration tests require Kukur to be running with a special configuration. Some time series databases need to be started using docker-compose.
$ make compose
Then, in another shell:
(venv) $ python -m kukur.cli --config-file tests/test_data/Kukur.toml
Since the location of the freetds libraries varies and this needs to be hardcoded in the unixodbc configuration,
several configuration profiles exist.
These profiles can be selected using the KUKUR_INTEGRATION_TARGET
environment variable:
/usr/lib/x86_64-linux-gnu/odbc/libtdsodbc.so
: the default, no KUKUR_INTEGRATION_TARGET
required/usr/lib/libtdsodbc.so
: use KUKUR_INTEGRATION_TARGET=linux
/usr/local/lib/libtdsodbc.so
: use KUKUR_INTEGRATION_TARGET=local
Then, run the tests:
(venv) $ KUKUR_INTEGRATION_TARGET=linux make integration-test
Stop the databases using:
$ docker-compose -f tests/test_data/docker-compose.yml down --volumes
Alternatively, run Kukur in docker-compose as well to have a known stable setup:
$ docker-compose -f tests/test_data/docker-compose.yml -f tests/test_data/docker-compose.container.yml up -d
or build the Kukur container to have the latest Kukur image:
$ docker-compose -f tests/test_data/docker-compose.yml -f tests/test_data/docker-compose.container.yml up --build
Run the tests using:
(venv) $ make integration-test
Stop all containers:
$ docker-compose -f tests/test_data/docker-compose.yml -f tests/test_data/docker-compose.container.yml down --volumes
FAQs
Kukur makes time series data and metadata available to the Apache Arrow ecosystem.
We found that kukur demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.