File tree Expand file tree Collapse file tree 6 files changed +21
-14
lines changed Expand file tree Collapse file tree 6 files changed +21
-14
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ Version: 0.4
5
5
## Navigation
6
6
- <a href =" \docs\installation.md " >Installation</a >
7
7
- <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 >
9
9
10
10
## Disclaimer
11
11
I do not promise to maintain this project or to update it frequently!
Original file line number Diff line number Diff line change 3
3
!!!NOT DOCUMENTED UNTIL 0.3.4!!!<br >
4
4
For more infos follow commits
5
5
```
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
8
10
9
11
0.4
10
12
[+] Package now automatic on pypi
Original file line number Diff line number Diff line change 1
1
## Installation
2
2
3
3
### 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
6
4
7
5
```
8
6
pip install nfc_uid
9
7
```
10
- Usage: import nfc_uid
8
+ Usage
9
+ ```
10
+ from nfc_uid import nfc_uid
11
+ ```
12
+
11
13
12
14
#### REPO METHOD / Local usage
13
15
- Clone this repo
14
16
- Run these commands
15
17
```
16
18
pip install keyboard
17
19
pip install pysscard
20
+ pip install requests
21
+ pip install urllib3==1.26.15
18
22
```
19
23
20
24
Usage: python main.py or import main as nfc_uid
Original file line number Diff line number Diff line change 1
1
## Migration
2
2
3
- ### Migrating to 0.4 .x
3
+ ### Migrating to 0.5 .x
4
4
For Version 0.4 I did a bit of reworking to improve the performance and apply new things I learned over time.<br >
5
5
One Major change is the implementation of object oriented coding.<br >
6
6
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
13
13
14
14
Example:<br >
15
15
16
- Pre 0.4
16
+ Pre 0.5
17
17
---------------
18
18
from nfc_uid import *
19
19
20
20
nfc_hwid = nfc_reader()
21
21
---------------
22
22
23
- 0.4
23
+ 0.5
24
24
---------------
25
- from nfc_uid import NFC_UID
25
+ from nfc_uid import nfc_uid
26
26
27
- nfc_uid = NFC_UID()
27
+ nfc_uid = nfc_uid. NFC_UID()
28
28
29
29
nfc_hwid = nfc_uid.read()
30
30
Original file line number Diff line number Diff line change 12
12
import requests
13
13
except ImportError :
14
14
os .system ('python -m pip install requests' )
15
+ os .system ('python -m pip install urllib3==1.26.15' )
15
16
try :
16
17
import keyboard as Keyboard
17
18
except ImportError :
28
29
os ._exit (1 )
29
30
30
31
class NFC_UID :
31
- __version = "0.4 "
32
+ __version = "0.5 "
32
33
__name = "nfc-uid"
33
- pypi_version = None
34
+ pypi_version = "0.5"
34
35
logging = True
35
36
last_chip = ""
36
37
loop = True
Original file line number Diff line number Diff line change 1
1
[metadata]
2
2
name = nfc_uid
3
- version = 0.4. 5
3
+ version = 0.5
4
4
description = Get UUID of NFC card with a scanner.
5
5
long_description = file: README.md
6
6
long_description_content_type = text/markdown
You can’t perform that action at this time.
0 commit comments