From 64048bb9c6684024d0928a92c6d740f4a4d7515e Mon Sep 17 00:00:00 2001 From: Anton Petnitsky <168552591+Mukller@users.noreply.github.com> Date: Thu, 9 Jul 2026 15:00:17 +0300 Subject: [PATCH 1/3] docs: add CONTRIBUTING.md --- CONTRIBUTING.md | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 CONTRIBUTING.md diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md new file mode 100644 index 00000000..493d9e7b --- /dev/null +++ b/CONTRIBUTING.md @@ -0,0 +1,29 @@ +# Contributing + +Thank you for your interest in contributing! We welcome contributions of all kinds. + +## How to Contribute + +### Reporting Bugs +- Check existing [issues](../../issues) to avoid duplicates +- Open a new issue with a clear title, description, and steps to reproduce + +### Suggesting Features +- Open an issue with the `enhancement` label + +### Submitting Code + +1. **Fork** this repository +2. **Create a branch**: `git checkout -b feature/your-feature` +3. **Make your changes** and commit: `git commit -m "feat: description"` +4. **Push** and open a **Pull Request** + +## Guidelines + +- Follow existing code style and conventions +- Keep PRs focused on a single concern +- Update documentation when changing behavior +- Be respectful — see [Code of Conduct](CODE_OF_CONDUCT.md) + +--- +*[Mukller](https://github.com/Mukller)* From 732f503d2f7f0e2d2b7b9fda72e5ff9deccf7df2 Mon Sep 17 00:00:00 2001 From: Anton Petnitsky <168552591+Mukller@users.noreply.github.com> Date: Thu, 9 Jul 2026 15:00:18 +0300 Subject: [PATCH 2/3] docs: add CODE_OF_CONDUCT.md --- CODE_OF_CONDUCT.md | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 CODE_OF_CONDUCT.md diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.md new file mode 100644 index 00000000..41a13316 --- /dev/null +++ b/CODE_OF_CONDUCT.md @@ -0,0 +1,32 @@ +# Contributor Covenant Code of Conduct + +## Our Pledge + +We pledge to make participation in our community a harassment-free experience +for everyone, regardless of age, body size, disability, ethnicity, gender identity, +level of experience, nationality, personal appearance, race, religion, or sexual identity. + +## Our Standards + +**Positive behavior includes:** +- Demonstrating empathy and kindness +- Respecting differing opinions and experiences +- Giving and gracefully accepting constructive feedback +- Focusing on what is best for the community + +**Unacceptable behavior includes:** +- Harassment, trolling, or personal attacks +- Publishing others' private information without permission +- Sexualized language or unwelcome advances + +## Enforcement + +Instances of unacceptable behavior may be reported to community leaders. +All complaints will be reviewed and investigated promptly and fairly. + +## Attribution + +Adapted from the [Contributor Covenant](https://www.contributor-covenant.org), version 2.1. + +--- +*[Mukller](https://github.com/Mukller)* From 75d0f1058f3cbebc883eb76ced7ff73504cf5c98 Mon Sep 17 00:00:00 2001 From: Anton Petnitsky <168552591+Mukller@users.noreply.github.com> Date: Thu, 9 Jul 2026 15:00:21 +0300 Subject: [PATCH 3/3] docs: add Contributing section and profile link to README --- README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/README.md b/README.md index 4f36c537..c14c13c3 100644 --- a/README.md +++ b/README.md @@ -129,3 +129,14 @@ setup( Then simply `pip install ./my_tiktoken_extension` and you should be able to use your custom encodings! Make sure **not** to use an editable install. + +## Contributing + +We welcome contributions! See [CONTRIBUTING.md](CONTRIBUTING.md) for guidelines on +how to report bugs, suggest features, and submit pull requests. + +By participating, you agree to our [Code of Conduct](CODE_OF_CONDUCT.md). + +--- + +*[Mukller](https://github.com/Mukller)*