Skip to main content

MS Windows command-line script to view and edit PATH-like environment variables.

Project description

Download and docs:

http://pypi.python.org/pypi/edpath

Development:

http://code.google.com/p/edpath

Description

Running edpath displays entries from the PATH (or other named environment variable), with ‘;’ separators replaced by newlines, so that each entry is on its own line. Running with –edit displays this in $EDITOR, and saved changes are written back to the registry, where they will be picked up by all new processes.

Run with –help for description and usage.

Requirements

Argparse is not required on Python 2.7, it is built into the standard library.

Status and Known Problems

Feature complete. No known issues.

If you have comments or it doesn’t work for you or you find bugs, I’d love to hear about it. -tartley@tartley.com

Todo

  • gracefully handle EDITOR not set or doesn’t exist

  • modify setup.py to split readme by paras, not lines. see setup-fix.py

  • convert makefile to bin.sh files?

  • reasess README / usage: which is for which audiences?

  • needs a canonical webpage for users (not python devs)

  • store backups of old PATH values in case user trashes their PATH?

  • option to output on stdout in ‘;’ delimited form

  • make Linux-friendly. Presumably we can only display the output there, not persist it.

Thanks

Thanks to Tim Golden for his marvellous descriptions and code snippets showing how to read & modify environment variables in the Windows registry.

Changes

  • 0.1.3 Add stand-alone executable.

  • 0.1.2 Nothing much.

  • 0.1.1 Improvements to documentation and usage text.

  • 0.1.0 Initial release. Feature complete.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

edpath-0.1.3.zip (7.2 kB view details)

Uploaded Source

edpath-0.1.3.tar.gz (4.9 kB view details)

Uploaded Source

File details

Details for the file edpath-0.1.3.zip.

File metadata

  • Download URL: edpath-0.1.3.zip
  • Upload date:
  • Size: 7.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for edpath-0.1.3.zip
Algorithm Hash digest
SHA256 2f9d1df66308634cc6340d17dd618a321e6dc602c49910eb33dcecd5ba7f172f
MD5 8fd0097bf2a40f8731761883a0fca2ba
BLAKE2b-256 0213cfda1e41c07c14b4573a810c84e31d44a5cd371166e38b182fff5441f19a

See more details on using hashes here.

File details

Details for the file edpath-0.1.3.tar.gz.

File metadata

  • Download URL: edpath-0.1.3.tar.gz
  • Upload date:
  • Size: 4.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for edpath-0.1.3.tar.gz
Algorithm Hash digest
SHA256 265f8545f82eb1b6e060e94ed8259e6c7ee9a7718e27c3be5510390f383a3c2b
MD5 ca98ee924fd933f076c816e16d934371
BLAKE2b-256 e4fb67eaddd63fe96be7b9f4c3c498916dc6d05ab707be833ffcda89f65e648a

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page