Skip to main content

A bunch of handy utilities and nemo actions that utilize them.

Project description

action_soso

A bunch of handy utilities and nemo actions that utilize them.

change-case-files

Changes the case of the title of a file. If no filenames are given, operates on all the files in the current directory.

Usage:

$ change-case-files -ld "Filename With Caps and Spaces.txt"
filename-with-caps-and-spaces.txt

Help:

usage: change-case-files.py [-h] (--title | --upper | --lower) (--dash |
                            --underscore | --space) [--recurse] [--yes]
                            [Filename ...]

positional arguments:
  Filename          File name(s) or directory name(s)

options:
  -h, --help        show this help message and exit
  --title, -t       Make title case
  --upper, -u       Make uppercase
  --lower, -l       Make uppercase
  --dash, -d        Space words with dashes (the default)
  --underscore, -n  Space words with underscores
  --space, -s       Space words with spaces
  --recurse, -r     Recursively rename all the files in the given directories.
  --yes, -y         Rename without confirmation.

copy-content

Copies the content of the given file to the clipboard using xclip.

Help:

usage: copy-content [-h] Filename

positional arguments:
  Filename    File name(s) or directory name(s)

options:
  -h, --help  show this help message and exit

date-filename

Appends today's date to a file, optionally creating a copy or a read-only backup copy.

Usage:

$ date-filename README.md
$ ls
 action_soso   LICENSE   pyproject.toml  'README 07.21.2026.md'

Help:

usage: date-filename.py [-h] [--copy | --backup] [--dashes] [--year-first]
						[--time] [--dry-run] [--verbose]
						[Filename ...]

positional arguments:
  Filename          File name(s) or directory name(s)

options:
  -h, --help        show this help message and exit
  --copy, -c        Make a copy and leave the original file.
  --backup, -b      Make a read-only backup copy and leave the original file.
  --dashes, -d      Use dashes instead of dots to separate the date parts.
  --year-first, -y  Append date as yyyy/mm/dd instead of mm/dd/yyyy.
  --time, -t        Also append the current time.
  --dry-run, -n     Don't do anything - just show what would be done.
  --verbose, -v     Print what this script is doing.

number-files

Prepends or appends a sequential number to names of the given files. If no directory names are given, renames all of the files in the current directory. This command operates on directories, renumbering the files in each directory given as a set. If multiple directory names are given, each directory is treated as a separate set.

Help:

usage: number-files [-h] (--prefix | --suffix) [--dash-separator |
					--dot-separator] [--compact] [--recurse] [--yes]
					[--dry-run] [--verbose]
					[Filename ...]

positional arguments:
  Filename              File name(s) or directory name(s)

options:
  -h, --help            show this help message and exit
  --prefix, -p          Prefix the file names with a number
  --suffix, -s          Append numbers to the ends of the file names
  --dash-separator, -d  Separate the number and file title with a dash
  --dot-separator, -D   Separate the number and file title with a dot
  --compact, -c         Use compact numbers - do not pad numbers with zeroes
  --recurse, -r         Recursively rename all the files in the given
						directories.
  --yes, -y             Rename without confirmation.
  --dry-run, -n         Don't do anything - just show what would be done.
  --verbose, -v         Print what this script is doing.

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

action_soso-1.0.0.tar.gz (20.9 kB view details)

Uploaded Source

Built Distribution

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

action_soso-1.0.0-py2.py3-none-any.whl (28.8 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

  • Download URL: action_soso-1.0.0.tar.gz
  • Upload date:
  • Size: 20.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for action_soso-1.0.0.tar.gz
Algorithm Hash digest
SHA256 a672cd1bb8febb10724641f02f061837cdd4d3cb35bf9dd8c9035a6bdeead1d3
MD5 92b5ff1e8257b73b7ffcf9b490217dd8
BLAKE2b-256 d7f02a459419e6d08e606cd7592355302cb575c5985a31aa33426272cb1f8e47

See more details on using hashes here.

File details

Details for the file action_soso-1.0.0-py2.py3-none-any.whl.

File metadata

  • Download URL: action_soso-1.0.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 28.8 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for action_soso-1.0.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 9da83bbbd5dc44d4ee4cb2757639bc9510eae0a921a0ee73f6580379d04aa722
MD5 fda8ccdb829da6cdddbd1406d71731fc
BLAKE2b-256 219c1cf5428c82054d93d3c6e8f8e464e6d21ea14c65671990fb270d4b8d460f

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