python GetIDs
This is a Python port of the GetIDs engine that calculates the date of creation for Telegram accounts using known creation dates.
The original repository can be found here.
Installation
$ pip install -U getids
Usage
You can use the package in two ways:
Interactively
$ python -m getids 1234567 200097591 2000000000
Expected output:
1234567: older_than 10/2013
200097591: aprox 5/2016
2000000000: newer_than 10/2021
From python code
>>> from getids import get_date_as_string, get_date_as_datetime
>>>
>>> get_date_as_string(1234567)
('older_than', '10/2013')
>>> get_date_as_string(200097591)
('aprox', '5/2016')
>>> get_date_as_string(2000000000)
('newer_than', '10/2021')
>>>
>>> get_date_as_datetime(1234567)
(-1, datetime.datetime(2013, 10, 31, 22, 0))
>>> get_date_as_datetime(200097591)
(0, datetime.datetime(2016, 5, 6, 17, 25, 6))
>>> get_date_as_datetime(2000000000)
(1, datetime.datetime(2021, 10, 11, 21, 53, 20))
Note: The get_date_as_datetime function is seen as a low-level function, since it returns a specific date, which is not wanted in most cases, since the date is not accurate.
Metadata
Release files for getids 1.1.0
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 | |
|---|---|---|---|---|
| getids-1.1.0.tar.gz | 4.0 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| getids-1.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 9.0 kB
Release files / getids-1.1.0.tar.gz
| Download URL | getids-1.1.0.tar.gz |
|---|---|
| Size | 4.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
46d4e9f5b640fe6c8aa7bd9706c4852a63642fdb317a1808fdba5df7a2da6a8f
|
|
BLAKE2b-256 checksum How to use checksums |
f51cd52575a5fa49a1ea56c7e26ccf7e404ab7196188b01b4a62ff57791f75eb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.9
|
Release files / getids-1.1.0-py3-none-any.whl
| Download URL | getids-1.1.0-py3-none-any.whl |
|---|---|
| Size | 5.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
91f624820859397ccd5878b0d35d34a82c260808eadac8f1f1fb6ca66bb8bbc3
|
|
BLAKE2b-256 checksum How to use checksums |
d6876716f5e26df6f114c5c96145a975ed70e4024de9a5c2c43c2050a717a034
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.9
|
Security for getids 1.1.0
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.