Skip to main content

Takes an input string + extension and turns it into a sanitized filename

Project description

makefilename

Takes an input string + extension and turns it into a sanitized filename.

from makefilename import make_filename

name_game = "Counter-Strike 2"

filename = make_filename(name_game, extension=".json")
# filename == "Counter_Strike_2.json"

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

makefilename-0.1.1.tar.gz (7.7 kB view details)

Uploaded Source

Built Distribution

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

makefilename-0.1.1-py3-none-any.whl (2.0 kB view details)

Uploaded Python 3

File details

Details for the file makefilename-0.1.1.tar.gz.

File metadata

  • Download URL: makefilename-0.1.1.tar.gz
  • Upload date:
  • Size: 7.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for makefilename-0.1.1.tar.gz
Algorithm Hash digest
SHA256 b0899599cf565f8cd2633f2dbc19f70ffc8d20e99b947538e0e27f6fc64694d3
MD5 526ee18f0f481b4e9429370323a3a164
BLAKE2b-256 fa1470b156e9321bf9cb381721dd42669a3f3934307ece0e6f6c5f13c128ba47

See more details on using hashes here.

Provenance

The following attestation bundles were made for makefilename-0.1.1.tar.gz:

Publisher: test_build_publish.yml on RobertDusk/py-make-filename

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file makefilename-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: makefilename-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 2.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for makefilename-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 bf210f1297f6c82c223f4350bae581d8d01559dcfc5fb68cf984988fee7cd190
MD5 49402c6bc78c862d59081cd1d56a2027
BLAKE2b-256 78c73e5d397daa92596a297b3a6b003672c0f007b5a1eb95205e8a9e461e7547

See more details on using hashes here.

Provenance

The following attestation bundles were made for makefilename-0.1.1-py3-none-any.whl:

Publisher: test_build_publish.yml on RobertDusk/py-make-filename

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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