Skip to main content

For Voken Project

Project description

Python Packages from Voken

PyPi Version Python Version

Python Packages from Voken Project

shell

Embed and provide a interactive console...

from voken import shell

shell.embed('welcome')

# >>>

text_link

Extract all TEXT_LINK(s)

from voken import text_link as tl

text = 'Lorem ipsum dolor sit amet, a.com b.com/a c.io c.io/abc t.me t.me/BotFather telegram.me telegram.me/BotFather something else...'

text_links = tl.find_all_text_links(text)
for text_link in text_links:
    print()
    print(text_link)
    print(tl.get_hostname(text_link))
    print(tl.get_telegram_username(text_link))

# a.com
# a.com
# None

# b.com/a
# b.com
# None

# c.io
# c.io
# None

# c.io/abc
# c.io
# None

# t.me
# t.me
# None

# t.me/BotFather
# t.me
# BotFather

# telegram.me
# telegram.me
# None

# telegram.me/BotFather
# telegram.me
# BotFather

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

voken-0.3.1.tar.gz (10.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

voken-0.3.1-py3-none-any.whl (27.7 kB view details)

Uploaded Python 3

File details

Details for the file voken-0.3.1.tar.gz.

File metadata

  • Download URL: voken-0.3.1.tar.gz
  • Upload date:
  • Size: 10.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.9.2

File hashes

Hashes for voken-0.3.1.tar.gz
Algorithm Hash digest
SHA256 b9672b52968e3b9c04b1324a848f5b42539da3b527c050a83cae42dbdec84e21
MD5 3e8e6553a0594f0e00fc397528d36596
BLAKE2b-256 21df83f34ccfb2843cdbe5473b9a3697f6dd0c42a7a3bd24dc204a52aebe6983

See more details on using hashes here.

File details

Details for the file voken-0.3.1-py3-none-any.whl.

File metadata

  • Download URL: voken-0.3.1-py3-none-any.whl
  • Upload date:
  • Size: 27.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.9.2

File hashes

Hashes for voken-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5239644d8bd56659eed5050e53ac2a70c62b59595a9da94a5cfdaf36469a25b7
MD5 6a77ad017c83eab5cead64bdf908fcbc
BLAKE2b-256 8d8fcb8676709218ba8032c813f6e021a41ddedf7d7d6d795f249b345979c915

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page