Skip to main content

Stable spreadsheet copy, renaming, and dating, for municipal wastewater operator daily data entry.

Project description

copy-n-launch-xlsx

pip install copy-n-launch-xlsx

Purpose:

This program:

  • Copies a blank spreadsheet file.

  • Renames it, with the date in the filename.

  • Moves the new renamed file to a target folder

In this way, the stable file can be updated in a centralized way. Users can safely launch new daily data entry sheets, without needing to choose a file to launch directly.


Blurb

Spreadsheet templating isn't a new problem.

It's been solved many different ways over the years.

This is just one more solution—built around a very simple workflow that's now used every day by operators at my wastewater treatment plant.

Bring your own spreadsheet.

Click one button.

Get today's dated copy, ready for data entry.

The code is open source (thank you, Memphis taxpayers), and it's been tested on macOS, Windows 11, WSL, and Termux on Android.


XLSX Best Practices

Sheets should use Name Manager variable names and possibly tables, for reference and data aggregation. Variable names allow the cell locations to be adjusted and not referenced.


How To:

  • Place a spreadsheet named daily_blank.xlsx in the filepath: ~/.copy-n-launch-xlsx/blank/

Blank template:

~/.copy-n-launch-xlsx/blank/daily_blank.xlsx

Generated files:

~/.copy-n-launch-xlsx/filled/daily-YYYY-MM-DD.xlsx


Helptree

See the copy-n-launch-xlsx Typer CLI structure.

cnlx helptree

Screenshot of the CLI helptree

`helptree` is a utility function for Typer CLIs, imported from the `typer-helptree` library.

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

copy_n_launch_xlsx-0.2.10.tar.gz (537.8 kB view details)

Uploaded Source

Built Distribution

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

copy_n_launch_xlsx-0.2.10-py3-none-any.whl (586.4 kB view details)

Uploaded Python 3

File details

Details for the file copy_n_launch_xlsx-0.2.10.tar.gz.

File metadata

  • Download URL: copy_n_launch_xlsx-0.2.10.tar.gz
  • Upload date:
  • Size: 537.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for copy_n_launch_xlsx-0.2.10.tar.gz
Algorithm Hash digest
SHA256 ffbe161cc01c2289f9fe037b42d98032a879241ca3ad39b2a115a1a42d34612d
MD5 286f18645a2af179b25e594e38e1c8e9
BLAKE2b-256 939973337cf5948a552f17d7247838761c0c0022dd9d5c0d15f5d91dc49bad0a

See more details on using hashes here.

Provenance

The following attestation bundles were made for copy_n_launch_xlsx-0.2.10.tar.gz:

Publisher: publish.yml on City-of-Memphis-Wastewater/copy-n-launch-xlsx

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

File details

Details for the file copy_n_launch_xlsx-0.2.10-py3-none-any.whl.

File metadata

File hashes

Hashes for copy_n_launch_xlsx-0.2.10-py3-none-any.whl
Algorithm Hash digest
SHA256 4b9ed0d900e1427bbdb8f6e70f794fb293a8ed804d50a231c2d269c21e582ee5
MD5 18fe004413a40669fed4e5cdcafcacb1
BLAKE2b-256 5036f951d36806ee96c5ccc1602face6f4d6fad62756d3a8687405736aa68086

See more details on using hashes here.

Provenance

The following attestation bundles were made for copy_n_launch_xlsx-0.2.10-py3-none-any.whl:

Publisher: publish.yml on City-of-Memphis-Wastewater/copy-n-launch-xlsx

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