modernize-scientific-stack

Official

Modernize Python 2 science code to Python 3.

Authorletta-ai
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill guides converting legacy Python 2 scientific computing scripts to Python 3, addressing deprecated libraries and syntax, and aligning with modern scientific stacks.

Core Features & Use Cases

  • Code modernization: Update Python 2 syntax (print, unicode, division) to Python 3.
  • Library migration: Replace legacy libraries like ConfigParser, cPickle, urllib2, and StringIO with modern equivalents (configparser, pickle, urllib.request, io.StringIO) and adopt pathlib.
  • Validation & Testing: Ensure results are preserved after modernization using tests and sample data.

Quick Start

Run a small pilot: identify Python 2 scripts in your repo, apply the recommended modernization steps, then run existing tests to verify identical results.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: modernize-scientific-stack
Download link: https://github.com/letta-ai/skills/archive/main.zip#modernize-scientific-stack

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository