Skip to content

Commit c4f93a9

Browse files
committed
Various README improvements + version 1.0.1 bump for pypi readme
- added screenshot of code completion and docs in pycharm - changed relative links to absolute URLs to fix PyPi file links - python2 and python3 pip instructions
1 parent 9120e03 commit c4f93a9

2 files changed

Lines changed: 14 additions & 3 deletions

File tree

README.md

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ as well as for use in projects developed at [Privex Inc.](https://github.com/Pri
1111

1212
# License
1313

14-
**Python Log Helper** was created by [Privex Inc. of Belize City](https://www.privex.io), and licensed under the MIT License. See the file [LICENSE](LICENSE) for the license text.
14+
**Python Log Helper** was created by [Privex Inc. of Belize City](https://www.privex.io), and licensed under the MIT License.
15+
See the file [LICENSE](https://github.com/Privex/python-loghelper/blob/master/LICENSE) for the license text.
1516

1617
**TL;DR; license:**
1718

@@ -36,10 +37,18 @@ Please make sure any changes you make meet these basic requirements:
3637

3738
### Download and install from PyPi using pip
3839

40+
**Python 3**
41+
3942
```sh
4043
pip3 install privex-loghelper
4144
```
4245

46+
**Python 2**
47+
48+
```sh
49+
pip install privex-loghelper
50+
```
51+
4352
### (Alternative) Manual install from Git
4453

4554
**Option 1 - Use pip to install straight from Github**
@@ -66,11 +75,13 @@ python3 setup.py install
6675

6776
# Usage
6877

69-
The code is very well documented, you can find out all usage documentation in [LogHelper.py](privex/loghelper/LogHelper.py).
78+
The code is very well documented, you can find out all usage documentation in [LogHelper.py](https://github.com/Privex/python-loghelper/blob/master/privex/loghelper/LogHelper.py).
7079

7180
All functions are type annotated, with detailed pydoc block comments. If you're using a Python optimised IDE such as [PyCharm](https://www.jetbrains.com/pycharm/) it should
7281
offer code completion and help when using the package.
7382

83+
![Screenshot of PyCharm code completion and docs](https://i.imgur.com/T2a0aTm.png)
84+
7485
### Basic usage
7586

7687
The most basic usage is to simply initialise the class with no parameters, and attach a

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
setup(
2828
name='privex_loghelper',
2929

30-
version='1.0.0',
30+
version='1.0.1',
3131

3232
description='Small dependency-free class to make logging easier',
3333
long_description=long_description,

0 commit comments

Comments
 (0)