Skip to main content

A removal tool for removing www and https://www. from dictionary's

Project description

Change Log

1.0.0 (8/12/2024): First Release, check out README.

This is a tool for removing www. and https://www. in dictionary's. It was created partially by the tabnine ai and Me. Note that it creates a new dictionary and the original one is unchanged.

Example of how it works

from RWs import remove_www_fKey, remove_www_fVal, remove_www

example_dict = {
    "www.example": "https://www.example.com"
}

example_dict_2 = remove_www_fKey(example_dict)
print(example_dict_2)

example_dict_cop = remove_www_fVal(example_dict)
print(example_dict_cop)

example_dict_co = remove_www(example_dict)
print(example_dict_co)

Result

{'example': 'https://www.example.com'}
{'www.example': 'example.com'}
{'example': 'example.com'}

How to download

pip install RWW_S

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

rwww_s-1.0.0.tar.gz (2.8 kB view details)

Uploaded Source

File details

Details for the file rwww_s-1.0.0.tar.gz.

File metadata

  • Download URL: rwww_s-1.0.0.tar.gz
  • Upload date:
  • Size: 2.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.4

File hashes

Hashes for rwww_s-1.0.0.tar.gz
Algorithm Hash digest
SHA256 c7c1de2f478f26be501549e6248ea1774989b9cf2b3b40fb4a2a7da805f867f5
MD5 d48291da80106693837c9674c7ef9f23
BLAKE2b-256 fb356253dba9889acf3833b702815f66659761ffe7f8156d401a495fcf5dc8d5

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