Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,17 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [1.0.1]

### Added
- PyPI version and downloads badges to README
- Changelog section link in README
- Changelog and Discussions URLs to project metadata in pyproject.toml

### Changed
- Improved package description in README and pyproject.toml - reordered text to prioritize main functionality description


## [1.0.0]

### Added
Expand All @@ -26,5 +37,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Support for source code, markup, data formats, configuration files, and more
- Python 3.8+ compatibility

[1.0.1]: https://github.com/ysskrishna/text-extensions/compare/v1.0.0...v1.0.1
[1.0.0]: https://github.com/ysskrishna/text-extensions/releases/tag/v1.0.0

9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,10 @@
[![Python Version](https://img.shields.io/badge/python-3.8%2B-blue.svg)](https://www.python.org/downloads/)
[![License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/ysskrishna/text-extensions/blob/main/LICENSE)
![Tests](https://github.com/ysskrishna/text-extensions/actions/workflows/test.yml/badge.svg)
[![PyPI](https://img.shields.io/pypi/v/text-extensions)](https://pypi.org/project/text-extensions/)
[![PyPI Downloads](https://static.pepy.tech/personalized-badge/text-extensions?period=total&units=INTERNATIONAL_SYSTEM&left_color=GREY&right_color=BLUE&left_text=downloads)](https://pepy.tech/projects/text-extensions)

Python port of [text-extensions](https://github.com/sindresorhus/text-extensions) npm package. Check if a file or extension is text, and iterate over 300+ known text file types including source code, markup, data formats, and configuration files.
Check if a file or extension is text, and iterate over 300+ known text file types including source code, markup, data formats, and configuration files. Python port of [text-extensions](https://github.com/sindresorhus/text-extensions) npm package.

## Features

Expand Down Expand Up @@ -84,6 +86,11 @@ The package includes support for hundreds of text file extensions, including:

This package is a Python port of the [text-extensions](https://github.com/sindresorhus/text-extensions) npm package by [Sindre Sorhus](https://github.com/sindresorhus).


## Changelog

See [CHANGELOG.md](https://github.com/ysskrishna/text-extensions/blob/main/CHANGELOG.md) for a detailed list of changes and version history.

## Contributing

Contributions are welcome! Please read our [Contributing Guide](https://github.com/ysskrishna/text-extensions/blob/main/CONTRIBUTING.md) for details on our code of conduct, development setup, and the process for submitting pull requests.
Expand Down
10 changes: 7 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[project]
name = "text-extensions"
version = "1.0.0"
description = "Python port of text-extensions npm package. Check if a file or extension is text, and iterate over 300+ known text file types including source code, markup, data formats, and configuration files."
version = "1.0.1"
description = "Check if a file or extension is text, and iterate over 300+ known text file types including source code, markup, data formats, and configuration files. Python port of text-extensions npm package."
readme = "README.md"
requires-python = ">=3.8"
authors = [
Expand Down Expand Up @@ -38,7 +38,9 @@ keywords = [
"utilities",
"utils",
"ascii",
"source-code"
"source-code",
"mit license",
"ysskrishna"
]
dependencies = []

Expand All @@ -51,6 +53,8 @@ dev = [
Homepage = "https://github.com/ysskrishna/text-extensions"
Repository = "https://github.com/ysskrishna/text-extensions.git"
Issues = "https://github.com/ysskrishna/text-extensions/issues"
Changelog = "https://github.com/ysskrishna/text-extensions/blob/main/CHANGELOG.md"
Discussions = "https://github.com/ysskrishna/text-extensions/discussions"

[build-system]
requires = ["hatchling"]
Expand Down