Skip to main content

Interactive case-conversion clipboard utility

Project description

Caesar

What it is

  • Caesar is a variable name maker.
  • It is supposed to get out of your way to let you quickly create variable names in the format you want.
  • Caesar boasts intentionally rigid sessions, simple controls, and easy setup.

How it works

  1. You select a formatting mode. This starts a session
  2. Type sentences separated by space
  3. Formatted text is copied to your clipboard

Installation

  1. Go to your terminal and run the following command:
pip install july-caesar
  1. Once installed, you can run caesar with the simple command: caesar [--flag]

Usage examples

  • For Python variables with long names (following snake-case, as is the convention) you could follow these steps:
    1. Start terminal
    2. command: caesar -s[q]
    3. input: variable name for specific task
    4. copied output: variable_name_for_specific_task (fun fact, caesar formatted this here. I did not sprain my pinky by holding shift it)
    5. simply paste it in your project!

Tips

  1. Use clipboard managers, especially which feature history. Not for caesar only, but it is also very productive in general. Windows has one built in (win+V), there are many free tools (like Maccy) for Mac and Linux users can use CopyQ or Klipper (KDE)
  2. Caesar does not consume resources passively, keeping it running in the background is suggested.

Flags

v0.1.1:

  • Three modes available:
    1. Snake case : -s, --snake
    2. Camel case : -c, --camel
    3. Pascal case : -p, --pascal
  • Quick flag:
    • -q, --quick
    • No formalities.

Version Notes

v0.1.0:

  • Primitive.
  • Contained MVPs
  • Fixed snake-case formatting and universal whitespace handling issues (#1 & #2)
  • Featured minimal README.md

v0.1.1:

  • three modes: snake case, pascal case, camel case
  • Formalities include: greeting, farewell, can be avoided with -q flag
  • exit by Ctrl+C (KeyboardInterrupt)
  • features README.md, working code.

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

july_caesar-0.1.1.tar.gz (3.5 kB view details)

Uploaded Source

Built Distribution

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

july_caesar-0.1.1-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: july_caesar-0.1.1.tar.gz
  • Upload date:
  • Size: 3.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for july_caesar-0.1.1.tar.gz
Algorithm Hash digest
SHA256 41583d3dcfa7c95b1bddc000880c04beca2d2d6fc0019a7a7def2313e650b911
MD5 8fe230568ffbc334a9a6f430832227d6
BLAKE2b-256 e48225fc59d9a45351df4b967202cffaae551a96b0cda557c5ae4d112f706c4d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: july_caesar-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 3.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for july_caesar-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a313b45fde48b8807122e903758f944bbc579140f41d0cb09bd28ea810911bef
MD5 3d7e44b1754743c5f5eec8450ed8d5c2
BLAKE2b-256 7141759628b8bd927694a7ef8e033e9c6fa4068daca6e84a5a487c8b14635979

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