DeviceUAgen
DeviceUAgen adalah pustaka Python untuk menghasilkan User-Agent yang realistis untuk berbagai merek dan model perangkat Android.
Instalasi
Gunakan pip untuk menginstal paket ini:
pip install DeviceUAgen
Penggunaan
from DeviceUAgen import GenerateUseragent
# Inisialisasi objek GenerateUseragent
os = GenerateUseragent()
# Menghasilkan User-Agent dari sistem
ua = os.useragent(system=True)
print(ua)
# Menghasilkan User-Agent secara acak
ua = os.useragent()
print(ua)
# Menghasilkan User-Agent berbasis Dalvik dari sistem
ua = os.useragent(system=True, dalvik=True)
print(ua)
# Menghasilkan User-Agent berbasis Dalvik secara acak
ua = os.useragent(dalvik=True)
print(ua)
Fitur
- Menghasilkan User-Agent berbasis Chrome
- Menghasilkan User-Agent berbasis Dalvik
- Mendukung berbagai merek dan model perangkat
- Dapat mengambil informasi perangkat dari sistem
Lisensi
Proyek ini dilisensikan di bawah MIT License.
Metadata
Release files for DeviceUAgen 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| deviceuagen-0.1.1.tar.gz | 4.2 kB | Without provenance | Details for deviceuagen-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| deviceuagen-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for deviceuagen-0.1.1-py3-none-any.whl |
Total release size: 8.7 kB
Release files / deviceuagen-0.1.1.tar.gz
| Download URL | deviceuagen-0.1.1.tar.gz |
|---|---|
| Size | 4.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
300681c07b2c5e74d846f9eedd0483697a32bd1af4a2eb4349fe7a5c4f165614
|
|
BLAKE2b-256 checksum How to use checksums |
3c051c69acbdc379d672b3dc88128d46b1d6f55fbdfc3a071bdf454562ab0438
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Release files / deviceuagen-0.1.1-py3-none-any.whl
| Download URL | deviceuagen-0.1.1-py3-none-any.whl |
|---|---|
| Size | 4.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2c2b10c341db08cf02e20a2cdfb70741d7e9e2b554088cea6fd8bbbe143c7c56
|
|
BLAKE2b-256 checksum How to use checksums |
395f4972d768949cb0a354cdc07992ba1908e84253149e89b0721d3924eb2c9f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Security for DeviceUAgen 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.