Skip to main content

Find possible host names in a source text

Project description

public_domains

Build Status

public_domains searches through a text (such as a novel like Moby Dick) and looks for possible host names to use. For more context about why such a thing was created see:

https://parkerhiggins.net/2022/11/public-sub-domains

Install

$ pip3 install public_domains

Use

Get a text, e.g. from Project Gutenberg:

wget https://www.gutenberg.org/files/2701/2701-0.txt

Run:

$ public_domains 2701-0.txt

tattooing.burned.like
fishermen.technically.call
violent.scraping.contact
irregular.between.here
verbally.developed.here
mizzen.rigging.like
eepeningly.contracted.like
tropic.whaling.life
trailing.behind.like
certain.fragmentary.parts
redundant.yellow.hair
personality.stands.here
wicked.miserable.world
...

Or if you prefer to do a "feeling lucky" search of gutenberg.org you can enter a title:

$ public_domains "Treasure Island"

famous.buccaneer.here
maroon.wriggling.like
keeping.better.watch
little.mountain.stream
admiral.benbow.black
breathing.loudly.like
breath.hanging.like
shirts.thrown.open
promontory.without.fail
feverish.unhealthy.spot
something.almost.like
following.important.news
lookout.shouted.land
spirits.eating.like
resumed.silver.here
stranded.beyond.help
trebly.worthless.life
including.checks.online
canvas.cracking.like
almost.entirely.exposed
flowers.ablowing.like
counting.hawkins.here
little.stranger.here
foliage.compact.like
strange.collection.like
seamen.aboard.here
creature.flitted.like
nighhand.fainting.doctor
crying.johnny.black
enough.little.place

If you'd like public_domains to check if the domain is available use the the --check option:

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

public_domains-0.0.8.tar.gz (7.2 kB view details)

Uploaded Source

Built Distribution

public_domains-0.0.8-py3-none-any.whl (7.5 kB view details)

Uploaded Python 3

File details

Details for the file public_domains-0.0.8.tar.gz.

File metadata

  • Download URL: public_domains-0.0.8.tar.gz
  • Upload date:
  • Size: 7.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.1

File hashes

Hashes for public_domains-0.0.8.tar.gz
Algorithm Hash digest
SHA256 ad4547f20caf66d6c87319802f4be135ef0a3cf82d44976a98fa9c6873de5730
MD5 89bc677bfd1ec77bc40f1e040b3f26ed
BLAKE2b-256 0cdc01c902c896c90903be8a0138038c69a3805bc832ac372fefb6f05545e0d3

See more details on using hashes here.

File details

Details for the file public_domains-0.0.8-py3-none-any.whl.

File metadata

  • Download URL: public_domains-0.0.8-py3-none-any.whl
  • Upload date:
  • Size: 7.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.1

File hashes

Hashes for public_domains-0.0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 60ffda4d4766a56253abd485fdacda73aa79e9fc91b831db80095506ce68ada6
MD5 1d6a15510dfda408d97f2125fc493553
BLAKE2b-256 17bce34f35485586f580b69a628ebdccd416a7f846c401580864fdde4125a42f

See more details on using hashes here.

Supported by

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