Skip to content

Commit 5813e1b

Browse files
committed
rename module
1 parent 1e2a33d commit 5813e1b

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
# QueryBuilder python module
22

3-
![PyPI](https://img.shields.io/pypi/v/simple-query-builder?color=yellow&style=flat-square)
3+
![PyPI](https://img.shields.io/pypi/v/simple_query_builder?color=yellow&style=flat-square)
44
[![Latest Version](https://img.shields.io/github/release/co0lc0der/simple-query-builder-python?color=orange&style=flat-square)](https://github.com/co0lc0der/simple-query-builder-python/release)
55
![GitHub repo size](https://img.shields.io/github/repo-size/co0lc0der/simple-query-builder-python?label=size&style=flat-square)
6-
![Python 3.7, 3.8, 3.9, 3.10](https://img.shields.io/pypi/pyversions/simple-query-builder?color=blueviolet&style=flat-square)
6+
![Python 3.7, 3.8, 3.9, 3.10](https://img.shields.io/pypi/pyversions/simple_query_builder?color=blueviolet&style=flat-square)
77
[![GitHub license](https://img.shields.io/github/license/co0lc0der/simple-query-builder-python?style=flat-square)](https://github.com/co0lc0der/simple-query-builder-python/blob/main/LICENSE.md)
88

99
This is a small easy-to-use component for working with a database. It provides some public methods to compose SQL queries and manipulate data. Each SQL query is prepared and safe. QueryBuilder fetches data to _list_ by default. At present time the component supports SQLite (file or memory).
@@ -21,7 +21,7 @@ The module is available as open source under the terms of the [MIT license](http
2121
Install the current version with [PyPI](https://pypi.org/project/simple-query-builder):
2222

2323
```bash
24-
pip install simple-query-builder
24+
pip install simple_query_builder
2525
```
2626

2727
Or from Github:
@@ -50,7 +50,7 @@ pip install https://github.com/co0lc0der/simple-query-builder-python/archive/mai
5050

5151
### Import the module and init `QueryBuilder` with `Database()`
5252
```python
53-
from querybuilder import *
53+
from simple_query_builder import *
5454

5555
qb = QueryBuilder(DataBase(), 'my_db.db')
5656
```

setup.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@
99
:copyright: (c) 2022 co0lc0der
1010
"""
1111

12-
version = '0.3.1'
12+
version = '0.3.2'
1313

1414
with open('README.md', encoding='utf-8') as f:
1515
long_description = f.read()
1616

1717
setup(
18-
name='simple-query-builder',
18+
name='simple_query_builder',
1919
version=version,
2020

2121
author='co0lc0der',
@@ -36,7 +36,7 @@
3636

3737
license='MIT',
3838

39-
packages=['simple-query-builder'],
39+
packages=['simple_query_builder'],
4040

4141
classifiers=[
4242
'Topic :: Database',

simple-query-builder/__init__.py renamed to simple_query_builder/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@
77
from .querybuilder import *
88

99
__author__ = 'co0lc0der'
10-
__version__ = '0.3.1'
10+
__version__ = '0.3.2'
1111
__email__ = '[email protected]'

0 commit comments

Comments
 (0)