Skip to content

Commit a17e59b

Browse files
committed
fix readme
1 parent 4ead6df commit a17e59b

File tree

2 files changed

+8
-21
lines changed

2 files changed

+8
-21
lines changed

.travis.yml

+7-1
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,26 @@
11
language: python
2+
23
python:
34
- "3.4"
45
- "3.5"
56
- "3.5-dev"
67
- "3.6"
78
- "3.6-dev"
89
- "3.7-dev"
10+
911
env:
1012
- CODECOV_TOKEN="e57b350a-75fb-40fd-964a-9c0e85dfa0ff"
13+
1114
before_install:
1215
- "pip install -U pip"
1316
- "export PYTHONPATH=$PYTHONPATH:$(pwd)"
17+
1418
install:
1519
- pip install -r requirements.txt
1620
- pip install codecov
21+
1722
script:
1823
- coverage run test/test_pool.py
24+
1925
after_success:
20-
- codecov
26+
- codecov

README.md

+1-20
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# PyMySQLPool
22

3-
[![build status](https://travis-ci.org/prprprus/PyMySQLPool.svg?branch=master)](hhttps://travis-ci.org/zongzhenh/PyMySQLPool.svg?branch=master) [![codecov](https://codecov.io/gh/zongzhenh/PyMySQLPool/branch/master/graph/badge.svg)](https://codecov.io/gh/zongzhenh/PyMySQLPool) [![pip version](https://img.shields.io/badge/pip-v18.1-blue.svg)](https://img.shields.io/badge/pip-v18.1-blue.svg) [![license](https://img.shields.io/dub/l/vibe-d.svg)](./LICENSE)
3+
[![build status](https://travis-ci.org/prprprus/PyMySQLPool.svg?branch=master)](https://travis-ci.org/zongzhenh/PyMySQLPool.svg?branch=master) [![codecov](https://codecov.io/gh/zongzhenh/PyMySQLPool/branch/master/graph/badge.svg)](https://codecov.io/gh/zongzhenh/PyMySQLPool) [![pip version](https://img.shields.io/badge/pip-v18.1-blue.svg)](https://img.shields.io/badge/pip-v18.1-blue.svg) [![license](https://img.shields.io/dub/l/vibe-d.svg)](./LICENSE)
44

55
PyMySQLPool is a pymysql-based database connection pool, simple and lightweight.
66

@@ -82,25 +82,6 @@ pool = Pool(host=HOST, port=PORT, user=USER, password=PASSWORD, db=DB, autocommi
8282

8383
That's all.
8484

85-
## Parameters for the pool initial:
86-
87-
- `host`: Host of MySQL server, default for localhost
88-
- `port`: Port of MySQL server, default for 3306
89-
- `user`: User of MySQL server, default for None
90-
- `password`: Password of MySQL server, default for None
91-
- `db`: Database of MySQL server, default for None
92-
- `charset`: Charset of MySQL server, default for utf8
93-
- `cursorclass`: Class of MySQL Cursor, default for pymysql.cursors.DictCursor
94-
- `autocommit`: auto commit mode, default for False
95-
- `min_size`: Minimum size of connection pool, default for 1
96-
- `max_size`: Maximum size of connection pool, default for 3
97-
- `timeout`: Watting time in the multi-thread environment, default for 10.0
98-
- `interval`: Statistical cycle time, default for 600.0
99-
- `stati_mun`: Statistical frequency, default for 3
100-
- `multiple`: Regulation standard, default for 4
101-
- `counter`: Counter, default for 0
102-
- `accumulation`: Statiscal result, default for 0
103-
10485
## Roadmap
10586

10687
+ [x] Connection Pool

0 commit comments

Comments
 (0)