Skip to content

Commit

Permalink
Merge pull request #193 from bee-san/bee-unix-timestamp
Browse files Browse the repository at this point in the history
Set unix timestamp to 0.1 and 4.3.0 release
  • Loading branch information
bee-san committed Oct 9, 2021
2 parents 4cc2f19 + 48bac32 commit ac3b4d5
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 31 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "pywhat"
version = "4.2.0"
version = "4.3.0"
description = "What is that thing?"
authors = ["Bee <github@skerritt.blog>"]
license = "MIT"
Expand Down
59 changes: 30 additions & 29 deletions pywhat/Data/regex.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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",
Expand All @@ -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",
Expand All @@ -1760,39 +1786,14 @@
"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",
"Timestamp",
"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})$",
Expand Down
2 changes: 1 addition & 1 deletion pywhat/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ac3b4d5

Please sign in to comment.