Skip to main content

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

Project description

copy-n-launch-xlsx

Screenshot of the GUI

The best way to launch this application is to install the CLI using pipx, or to download a release binary.

pipx install copy-n-launch-xlsx
cnlx gui

Download binaries here: Releases

Socket Badge


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

  • Hit the single green button.

Automatically 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.

Operator Data Entry Instructions Specific to Maxson Wastewater Treatment Facility

Generally this workflow applies to any context, with the exception of:

  • Color meanings
  • "Print" page
  • The XLIMS reference

Or any other information relating to a specific spreadsheet design.

The specific spreadsheet in question is maintained separately in the Maxson SharePoint.

Instruction PNG

Instructions:
At midnight, ensure that the file is saved, and then print the "Print" page.
Only the "Print" page is necessary, for data entry into XLIMS.
One printed and saved, close the file.
Do NOT delete any data from the file.

A brand new, dated spreadsheet will be used for the next day.
At the start of each day, after midnight, hit the green button in the Copy-N-Launch-XLSX interface.
This will generate the fresh daily sheet, automatically dated and empty, ready for data entry.
At any time, you can save and close the current spreadsheet.
Hitting the green Launch Daily Spreadsheet button will reopen it, or generate a new one as necessary.

Source code

Source code: Repository

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.13.tar.gz (539.6 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.13-py3-none-any.whl (587.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: copy_n_launch_xlsx-0.2.13.tar.gz
  • Upload date:
  • Size: 539.6 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.13.tar.gz
Algorithm Hash digest
SHA256 d6bf4d127f9324ebffc900b4cb93e1f4fec14dbd8a714185bf050b98e6b026c9
MD5 9215393c09bca14f6a09fa45cc00a378
BLAKE2b-256 8a6e6c7571672987b91f84712a7fb5b3a3c887fca7c92b523100550c7fb24e1d

See more details on using hashes here.

Provenance

The following attestation bundles were made for copy_n_launch_xlsx-0.2.13.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.13-py3-none-any.whl.

File metadata

File hashes

Hashes for copy_n_launch_xlsx-0.2.13-py3-none-any.whl
Algorithm Hash digest
SHA256 f82d00731f1cd170c563cff5cbc814e4c293a35f5878bceb885aca303ab6cbd7
MD5 5e23e1360f966cec0fd520ef683dc0b6
BLAKE2b-256 958f18050c5df2ef043c8732bbb844567b0df1a92841f41266abff39eed1db50

See more details on using hashes here.

Provenance

The following attestation bundles were made for copy_n_launch_xlsx-0.2.13-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