From 48bac32142b9b211df69777546926aa56c220150 Mon Sep 17 00:00:00 2001 From: bee-san Date: Sat, 9 Oct 2021 10:13:02 +0100 Subject: [PATCH] Set unix timestamp to 0.1 and 4.3.0 release **Why?** * Unix timestamp is too spammy, we are reducing it to 0.1 * Releasing 4.3.0 --- pyproject.toml | 2 +- pywhat/Data/regex.json | 59 +++++++++++++++++++++--------------------- pywhat/__init__.py | 2 +- 3 files changed, 32 insertions(+), 31 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index dd72713..1167802 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "pywhat" -version = "4.2.0" +version = "4.3.0" description = "What is that thing?" authors = ["Bee "] license = "MIT" diff --git a/pywhat/Data/regex.json b/pywhat/Data/regex.json index 07ab56b..f977a51 100644 --- a/pywhat/Data/regex.json +++ b/pywhat/Data/regex.json @@ -1716,12 +1716,38 @@ "Amazon" ] }, + { + "Name": "Turkish Identification Number", + "Regex": "^([1-9]{1}[0-9]{9}[02468]{1})$", + "plural_name": false, + "Description": null, + "Rarity": 0.2, + "URL": null, + "Tags": [ + "Credentials", + "Identifiers", + "Turkish" + ] + }, + { + "Name": "ObjectID", + "Regex": "^([0-9a-fA-F]{24})$", + "plural_name": false, + "Description": null, + "Rarity": 0.1, + "URL": null, + "Tags": [ + "Identifiers", + "ObjectID" + ] + }, + { "Name": "Recent Unix Timestamp", "Regex": "^([0-9]{10})$", "plural_name": false, "Description": "Seconds elapsed since unix epoch: 1970, between year 2001 and 2286", - "Rarity": 0.2, + "Rarity": 0.1, "URL": null, "Tags": [ "UNIX Timestamp", @@ -1734,7 +1760,7 @@ "Regex": "^([0-9]{13})$", "plural_name": false, "Description": "Milliseconds elapsed since unix epoch: 1970, between year 2001 and 2286", - "Rarity": 0.2, + "Rarity": 0.1, "URL": null, "Tags": [ "UNIX Timestamp", @@ -1747,7 +1773,7 @@ "Regex": "^([0-9]{8,10})$", "plural_name": false, "Description": "Seconds elapsed since unix epoch: 1970", - "Rarity": 0.2, + "Rarity": 0.1, "URL": null, "Tags": [ "UNIX Timestamp", @@ -1760,7 +1786,7 @@ "Regex": "^([0-9]{11,13})$", "plural_name": false, "Description": "Milliseconds elapsed since unix epoch: 1970", - "Rarity": 0.2, + "Rarity": 0.1, "URL": null, "Tags": [ "UNIX Timestamp", @@ -1768,31 +1794,6 @@ "UNIX" ] }, - { - "Name": "Turkish Identification Number", - "Regex": "^([1-9]{1}[0-9]{9}[02468]{1})$", - "plural_name": false, - "Description": null, - "Rarity": 0.2, - "URL": null, - "Tags": [ - "Credentials", - "Identifiers", - "Turkish" - ] - }, - { - "Name": "ObjectID", - "Regex": "^([0-9a-fA-F]{24})$", - "plural_name": false, - "Description": null, - "Rarity": 0.1, - "URL": null, - "Tags": [ - "Identifiers", - "ObjectID" - ] - }, { "Name": "ULID", "Regex": "^([0-9A-HJKMNP-TV-Z]{26})$", diff --git a/pywhat/__init__.py b/pywhat/__init__.py index 1ce47fe..200f217 100644 --- a/pywhat/__init__.py +++ b/pywhat/__init__.py @@ -2,7 +2,7 @@ from pywhat.helper import AvailableTags, Keys from pywhat.identifier import Identifier -__version__ = "4.2.0" +__version__ = "4.3.0" tags = AvailableTags().get_tags() pywhat_tags = tags # left for backward compatibility purposes