Skip to content

Commit cf10192

Browse files
committed
0.5
Varios fixes for pypi and easy usage
1 parent 74f55f3 commit cf10192

File tree

6 files changed

+21
-14
lines changed

6 files changed

+21
-14
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Version: 0.4
55
## Navigation
66
- <a href="\docs\installation.md">Installation</a>
77
- <a href="\docs\changelog.md">Changelogs</a>
8-
- <a href="\docs\migration.md">Migrating to 0.4</a>
8+
- <a href="\docs\migration.md">Migrating to 0.5</a>
99

1010
## Disclaimer
1111
I do not promise to maintain this project or to update it frequently!

docs/changelog.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,10 @@
33
!!!NOT DOCUMENTED UNTIL 0.3.4!!!<br>
44
For more infos follow commits
55
```
6-
0.4.1
7-
Fixed issues with pypi
6+
0.5
7+
[+] Pypi releases fixed
8+
[+] Urllib3 bugs resolved
9+
[+] Resolved bugs with version controll
810
911
0.4
1012
[+] Package now automatic on pypi

docs/installation.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,24 @@
11
## Installation
22

33
### Recommended <a href="https://pypi.org/project/nfc-uid/">PIP</a> METHOD
4-
!!!!!!! Currently I am not really able to use github actions as I want to !!!!!!!!
5-
0.4.x is currently "broken" in pypi please wait with install until I fixed that... Sorry
64

75
```
86
pip install nfc_uid
97
```
10-
Usage: import nfc_uid
8+
Usage
9+
```
10+
from nfc_uid import nfc_uid
11+
```
12+
1113

1214
#### REPO METHOD / Local usage
1315
- Clone this repo
1416
- Run these commands
1517
```
1618
pip install keyboard
1719
pip install pysscard
20+
pip install requests
21+
pip install urllib3==1.26.15
1822
```
1923

2024
Usage: python main.py or import main as nfc_uid

docs/migration.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
## Migration
22

3-
### Migrating to 0.4.x
3+
### Migrating to 0.5.x
44
For Version 0.4 I did a bit of reworking to improve the performance and apply new things I learned over time.<br>
55
One Major change is the implementation of object oriented coding.<br>
66
While working on that I also improved the reader function.<br>
@@ -13,18 +13,18 @@ In Case you do not use custom arguments/parameters just follow the example down
1313

1414
Example:<br>
1515

16-
Pre 0.4
16+
Pre 0.5
1717
---------------
1818
from nfc_uid import *
1919

2020
nfc_hwid = nfc_reader()
2121
---------------
2222

23-
0.4
23+
0.5
2424
---------------
25-
from nfc_uid import NFC_UID
25+
from nfc_uid import nfc_uid
2626

27-
nfc_uid = NFC_UID()
27+
nfc_uid = nfc_uid.NFC_UID()
2828

2929
nfc_hwid = nfc_uid.read()
3030

nfc_uid/main.py renamed to nfc_uid/nfc_uid.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
import requests
1313
except ImportError:
1414
os.system('python -m pip install requests')
15+
os.system('python -m pip install urllib3==1.26.15')
1516
try:
1617
import keyboard as Keyboard
1718
except ImportError:
@@ -28,9 +29,9 @@
2829
os._exit(1)
2930

3031
class NFC_UID:
31-
__version = "0.4"
32+
__version = "0.5"
3233
__name="nfc-uid"
33-
pypi_version=None
34+
pypi_version="0.5"
3435
logging = True
3536
last_chip = ""
3637
loop = True

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[metadata]
22
name = nfc_uid
3-
version = 0.4.5
3+
version = 0.5
44
description = Get UUID of NFC card with a scanner.
55
long_description = file: README.md
66
long_description_content_type = text/markdown

0 commit comments

Comments
 (0)