Pytokencounter

Latest version: v1.7.0

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

Scan your dependencies

Page 3 of 3

1.1.post1

This post-release introduces a metadata update to correct the LICENSE file.

- **License Update**:
- The LICENSE file has been updated to reflect the correct maintainer name, ensuring proper attribution.

This is a metadata-only update and does not affect the functionality, API, or behavior of the package.

1.1.0

This release introduces several updates to improve the structure and functionality of the package:

- **File Renaming**:
- `main.py` has been renamed to `core.py` to better reflect its role as the core functionality of the package. All internal references to `main.py` have been updated accordingly.

- **Function Renaming**:
- The CLI function name was corrected from `Main` to `main` to fix a bug. This change ensures compatibility with the `pyproject.toml` configuration, which defines the script entry point as `main`.

These updates address critical issues with naming and structure, improving both the functionality and maintainability of the project. Users relying on older file or function names may need to adjust their implementations.

1.0.post1

This post-release addresses inconsistencies in the README file regarding command-line usage and import examples.

- **Command-Line Fixes**:
- Updated examples to use the correct command-line tool name: `tokencount` instead of `ptc`.

- **Import Statement Fixes**:
- Adjusted the import examples to use the preferred alias: `import PyTokenCounter as tc` instead of `import PyTokenCounter as ptc`.

These changes are documentation-only and do not impact the functionality or behavior of the package.

Page 3 of 3

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.