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.7.tar.gz (7.2 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: public_domains-0.0.7.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.7.tar.gz
Algorithm Hash digest
SHA256 840441956e684382494d858688418f391f24cd83472acd8f4b8cacf13ac4c99e
MD5 d0aec9436806c702981a03ba8fcc002a
BLAKE2b-256 d103c00a596ef9885f3778d1baa8a621761c4fdfe0103a852954347447c1b905

See more details on using hashes here.

File details

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

File metadata

  • Download URL: public_domains-0.0.7-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.7-py3-none-any.whl
Algorithm Hash digest
SHA256 1f836276e6ef7c4e3321237bd295c37823deb0fdea7d7ee22d6d1cf47e75ca17
MD5 7b79763ec5ed5eaa6bfcc983143a7be5
BLAKE2b-256 47013805e98d937ff07c74b3028053f440ef27c361bc6c06d3bd27e3bde90046

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