pip install -U dominodatalab-data
or install with Poetry
poetry add dominodatalab-data
Makefile
contains a lot of functions for faster development.
To download and install Poetry run: ```bash make poetry-download ``` To uninstall ```bash make poetry-remove ```
Install requirements: ```bash make install ``` Pre-commit hooks coulb be installed after `git init` via ```bash make pre-commit-install ```
Automatic formatting uses `pyupgrade`, `isort` and `black`.
```bash
make codestyle
# or use synonym
make formatting
```
Codestyle checks only, without rewriting files:
```bash
make check-codestyle
```
> Note: `check-codestyle` uses `isort`, `black` and `darglint` library
```bash
make check-safety
```
This command launches `Poetry` integrity checks as well as identifies security issues with `Safety` and `Bandit`.
```bash
make check-safety
```
4. Code security
Run `mypy` static type checker ```bash make mypy ```
Run `pytest` ```bash make test ```
Of course there is a command to ~~rule~~ run all linters in one: ```bash make lint ``` the same as: ```bash make test && make check-codestyle && make mypy && make check-safety ```
Delete pycache files ```bash make pycache-remove ``` Remove package build ```bash make build-remove ``` Or to remove pycache and build: ```bash make clean-all ```
Build the documentation ```bash make docs ``` Open the docs index page ```bash make open-docs ```
You can see the list of available releases on the GitHub Releases page.
We follow Semantic Versions specification.
We use Release Drafter
. As pull requests are merged, a draft release is kept up-to-date listing the changes, ready to publish when youβre ready. With the categories option, you can categorize pull requests in release notes using labels.
Label | Title in Releases |
---|---|
enhancement , feature |
π Features |
bug , refactoring , bugfix , fix |
π§ Fixes & Refactoring |
build , ci , testing |
π¦ Build System & CI/CD |
breaking |
π₯ Breaking Changes |
documentation |
π Documentation |
dependencies |
β¬οΈ Dependencies updates |
You can update it in release-drafter.yml
.
GitHub creates the bug
, enhancement
, and documentation
labels for you. Dependabot creates the dependencies
label. Create the remaining labels on the Issues tab of your GitHub repository, when you need them.
This project is licensed under the terms of the Apache Software License 2.0
license. See LICENSE for more details.
@misc{dominodatalab-data,
author = {dominodatalab},
title = {Domino Data API for interacting with Access Data features},
year = {2021},
publisher = {GitHub},
journal = {GitHub repository},
howpublished = {\url{https://github.com/dominodatalab/domino-data}}
}
This project was generated with python-package-template