https://github.com/foo290/device-info
A simple script to get Device Info and current location
https://github.com/foo290/device-info
Last synced: about 1 year ago
JSON representation
A simple script to get Device Info and current location
- Host: GitHub
- URL: https://github.com/foo290/device-info
- Owner: foo290
- License: mit
- Created: 2020-08-22T18:47:24.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-08-22T19:14:48.000Z (over 5 years ago)
- Last Synced: 2025-01-06T21:47:35.755Z (about 1 year ago)
- Language: Python
- Size: 9.77 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Device-Info
A simple script to get Device Info and current location
### Intro
This is a simple script to extract device and location information and saves it in json files.
### Requirements
```
psutil
re
uuid
platform
socket
geocoder
time
nvgpu
json
```
### Execution
```
>>> python client_node.py
```
### Output
System_information.json
```
{
"Network info": {
"hostname": host name here...
"IP-address": ip address...
},
"OS Info": {
"platform": ...
"platform-release": ...
"Operating System": ...
"platform-version": ...
},
"Partition Info": {
"C:\\": {
"Total": ...,
"Used": ...,
"Free": ....
"Percent": ...
}
more...
```
Location.json
```
{
"Latitude": ...
"Longitude": ...
"City": ...,
"Postal Code": ...
"Country": ...
"State": ...
}
```
##### Location file may take 40 seconds to be saved if you are not connected to internet.
🙂