Project Rename: netkit → net-worker
Overview
Rename the project from "netkit" to "net-worker" to better reflect its purpose and avoid potential naming conflicts. Update the CLI command from netkit to nw for improved usability and prepare for professional PyPI distribution.
Requirements
1. Project Identity Changes
2. Core Configuration Changes
pyproject.toml Updates
3. Documentation Files (78+ references found)
README.md - Major Updates Required
GitHub Documentation
4. Shell Completion Scripts - Complete Overhaul
File Renaming Required
Content Updates
5. Source Code Analysis
CLI and Application Code
Test Files
6. PyPI Distribution Setup
Package Metadata
- Name: net-worker
- Author: narrowin
- Description: Modern async Python toolkit for network device automation
- Keywords: network, automation, mikrotik, routeros, cli, async, narrowin
- Classifiers:
- Development Status :: 5 - Production/Stable
- Environment :: Console
- Intended Audience :: System Administrators
- Intended Audience :: Telecommunications Industry
- License :: OSI Approved :: Apache Software License
- Operating System :: OS Independent
- Programming Language :: Python :: 3
- Programming Language :: Python :: 3.11
- Programming Language :: Python :: 3.12
- Topic :: System :: Networking
- Topic :: System :: Systems Administration
- Topic :: Utilities
Project URLs
7. Environment Variables and Configuration
Check for Environment Variable References
8. CI/CD and Build Configuration
Detailed File Analysis
Files with Multiple References (Priority Order)
-
README.md - 78+ references
- Command examples throughout
- Installation instructions
- Usage documentation
- Help text examples
-
shell_completion/fish_completion_netkit.fish - 30+ references
- Function definitions
- Command completions
- Help descriptions
-
shell_completion/bash_completion_netkit.sh - Extensive references
- Completion functions
- Command parsing
- Option handling
-
.github/copilot-instructions.md - 20+ references
- Command examples
- Usage patterns
- Tool descriptions
Implementation Strategy
Phase 1: Core Configuration
- Update
pyproject.toml with new package metadata
- Test package building with new configuration
Phase 2: Shell Completion
- Rename completion script files
- Update all internal references
- Test completion functionality
Phase 3: Documentation
- Update README.md with find/replace
- Update GitHub documentation
- Verify all examples work
Phase 4: Source Code
- Search for any hardcoded references
- Update CLI help text and error messages
- Update test files
Phase 5: Validation
- Build and test package locally
- Verify
nw command works identically to netkit
- Test shell completion
- Run full test suite
Success Criteria
Migration Considerations
- This is a breaking change for existing users
- Consider adding deprecation warning for
netkit command temporarily
- Update semantic version appropriately (major version bump)
- Provide clear migration documentation
Search Commands for Implementation
# Find all netkit references
grep -r "netkit" . --exclude-dir=.git --exclude-dir=__pycache__
# Find specific file types
find . -name "*.py" -exec grep -l "netkit" {} \;
find . -name "*.md" -exec grep -l "netkit" {} \;
find . -name "*.sh" -exec grep -l "netkit" {} \;
find . -name "*.fish" -exec grep -l "netkit" {} \;
find . -name "*.yml" -exec grep -l "netkit" {} \;
find . -name "*.yaml" -exec grep -l "netkit" {} \;
Project Rename: netkit → net-worker
Overview
Rename the project from "netkit" to "net-worker" to better reflect its purpose and avoid potential naming conflicts. Update the CLI command from
netkittonwfor improved usability and prepare for professional PyPI distribution.Requirements
1. Project Identity Changes
netkittonw2. Core Configuration Changes
pyproject.toml Updates
name = "net-worker"(currently "network-toolkit")descriptionto reflect new namenw = "network_toolkit.cli:app"(currentlynetkit = "network_toolkit.cli:app")3. Documentation Files (78+ references found)
README.md - Major Updates Required
netkittonwGitHub Documentation
4. Shell Completion Scripts - Complete Overhaul
File Renaming Required
bash_completion_nw.shfish_completion_nw.fishnwcommandContent Updates
_netkitto_nw5. Source Code Analysis
CLI and Application Code
src/network_toolkit/cli.pyTest Files
nwinstead ofnetkit6. PyPI Distribution Setup
Package Metadata
Project URLs
7. Environment Variables and Configuration
Check for Environment Variable References
NETKIT_*environment variablesNW_*orNET_WORKER_*naming convention8. CI/CD and Build Configuration
Detailed File Analysis
Files with Multiple References (Priority Order)
README.md - 78+ references
shell_completion/fish_completion_netkit.fish - 30+ references
shell_completion/bash_completion_netkit.sh - Extensive references
.github/copilot-instructions.md - 20+ references
Implementation Strategy
Phase 1: Core Configuration
pyproject.tomlwith new package metadataPhase 2: Shell Completion
Phase 3: Documentation
Phase 4: Source Code
Phase 5: Validation
nwcommand works identically tonetkitSuccess Criteria
nwworks identically to previousnetkitcommandnwcommandMigration Considerations
netkitcommand temporarilySearch Commands for Implementation