Skip to main content

snekify

Convert text to snake case

"Some TEXT-here" -> "some_text_here"

Usage

> snekify Some TEXT-here
some_text_here

> cat file.txt | snekify
this_is_the_file_contents

> python -c 'import this' | snekify
the_zen_of_python_by_tim_peters

beautiful_is_better_than_ugly
explicit_is_better_than_implicit
simple_is_better_than_complex
complex_is_better_than_complicated
flat_is_better_than_nested
sparse_is_better_than_dense
readability_counts
special_cases_aren_t_special_enough_to_break_the_rules
although_practicality_beats_purity
errors_should_never_pass_silently
unless_explicitly_silenced
in_the_face_of_ambiguity_refuse_the_temptation_to_guess
there_should_be_one_and_preferably_only_one_obvious_way_to_do_it
although_that_way_may_not_be_obvious_at_first_unless_you_re_dutch
now_is_better_than_never
although_never_is_often_better_than_right_now
if_the_implementation_is_hard_to_explain_it_s_a_bad_idea
if_the_implementation_is_easy_to_explain_it_may_be_a_good_idea
namespaces_are_one_honking_great_idea_let_s_do_more_of_those

Metadata

Release files for snekify 2.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for snekify 2.0.1
File Size Uploaded
snekify-2.0.1.tar.gz 2.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for snekify 2.0.1
File Interpreter ABI Platform
snekify-2.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 5.3 kB

Release files / snekify-2.0.1.tar.gz

Download URL snekify-2.0.1.tar.gz
Size 2.2 kB
Tags Source
SHA-256 checksum
How to use checksums
8d6d8d361a3ea7fd84f4e006112eb36c8ec625fa471d7304606f56b9b64c3685
BLAKE2b-256 checksum
How to use checksums
6813f58b5a1c7b3cb867188bd2f723fdf49e6867c4799dc2d5eef9bfc0ad60cd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.9.2

Release files / snekify-2.0.1-py3-none-any.whl

Download URL snekify-2.0.1-py3-none-any.whl
Size 3.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
036be2cfeca280a2a0c62fd641e2c1d248e979e590f153d6f0a8b877692f9f83
BLAKE2b-256 checksum
How to use checksums
eaea6bd1cc7228efd7cab73ef11c7a460d8f9cfb534ed55a478c290d25328e4c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.9.2

Release history Release notifications | RSS feed

This release

2.0.1 This release

2 release files

2.0.0

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page