Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tusharsadhwani/snekify
Convert text to snake case
https://github.com/tusharsadhwani/snekify
python snake-case
Last synced: 16 days ago
JSON representation
Convert text to snake case
- Host: GitHub
- URL: https://github.com/tusharsadhwani/snekify
- Owner: tusharsadhwani
- License: mit
- Created: 2021-03-02T21:14:53.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2021-05-24T12:39:09.000Z (over 3 years ago)
- Last Synced: 2024-12-29T01:36:45.969Z (20 days ago)
- Topics: python, snake-case
- Language: Python
- Homepage: https://pypi.org/project/snekify/
- Size: 10.7 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# snekify
Convert text to snake case.
`"Some TEXT-here"` 🡲 `"some_text_here"`
## Usage
```bash
> 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_petersbeautiful_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
```