Pathnavigator

Latest version: v0.4.1

Safety actively analyzes 693883 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

0.4.1

This release includes significant updates to enhance functionality, streamline syntax, and improve user experience. Key changes are as follows:

**Feature Enhancements**
1. **Renamed Method**:
- The method `set_shortcut` has been renamed to `set_sc` for brevity and ease of use.

2. **Attribute Validation**:
- Added an attribute check in the `set_sc` method to ensure shortcuts are valid before being assigned.

**Code Improvements**
3. **Initialization Behavior**:
- The tree printout during initialization has been removed to avoid overwhelming output, especially in directories with numerous files and subfolders.

4. **Unified Path Retrieval Syntax**:
- The methods for retrieving paths are now unified to support a single syntax. You can use either `get()` or `get_str()` for consistent behavior.

**Documentation Updates**
5. **Updated Documentation and README**:
- Reflecting the above changes, all relevant sections in the documentation and README have been updated with new method names, usage examples, and detailed descriptions of attribute validation.

---

This release improves usability and ensures a more streamlined user experience while maintaining robust functionality.

0.3.1

Update doc
Replace dir() to get()
Adopt Path from pathlib

0.2.2

1. Add tests
2. Add attribute name convertor
3. Add new features including set_shortcut()
4. Change shortcuts to sc in PathNavigator

**Full Changelog**: https://github.com/philip928lin/PathNavigator/compare/v0.1.1...v0.2.2

0.1.1

The first release of PathNavigator.

Links

Releases

Has known vulnerabilities

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.