Put the DB code into a package
This commit is contained in:
committed by
=Michael Hohn
parent
2df48b9f98
commit
3c8db9cbe4
26
client/qldbtools/README.md
Normal file
26
client/qldbtools/README.md
Normal file
@@ -0,0 +1,26 @@
|
|||||||
|
# qldbtools
|
||||||
|
|
||||||
|
qldbtools is a Python package for working with CodeQL databases
|
||||||
|
|
||||||
|
## Installation
|
||||||
|
|
||||||
|
Local development
|
||||||
|
|
||||||
|
```bash
|
||||||
|
cd ~/work-gh/mrva/mrvacommander/client/qldbtools
|
||||||
|
pip install -e .
|
||||||
|
```
|
||||||
|
|
||||||
|
Full installation
|
||||||
|
|
||||||
|
```bash
|
||||||
|
pip install qldbtools
|
||||||
|
```
|
||||||
|
|
||||||
|
## Usage
|
||||||
|
|
||||||
|
```python
|
||||||
|
import qldbtools as ql
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
2
client/qldbtools/qldbtools/__init__.py
Normal file
2
client/qldbtools/qldbtools/__init__.py
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
from . import utils
|
||||||
|
|
||||||
12
client/qldbtools/setup.py
Normal file
12
client/qldbtools/setup.py
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
from setuptools import setup, find_packages
|
||||||
|
|
||||||
|
setup(
|
||||||
|
name='qldbtools',
|
||||||
|
version='0.1.0',
|
||||||
|
description='A Python package for working with CodeQL databases',
|
||||||
|
author='Michael Hohn',
|
||||||
|
author_email='hohn@github.com',
|
||||||
|
packages=find_packages(),
|
||||||
|
install_requires=[
|
||||||
|
],
|
||||||
|
)
|
||||||
Reference in New Issue
Block a user