This document covers the licensing terms for Pytrix and its dependencies.
Pytrix is licensed under the MIT License.
MIT License
Copyright (c) 2024 Pytrix Contributors
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
- ✅ Use Pytrix commercially
- ✅ Modify the source code
- ✅ Distribute copies
- ✅ Use privately
- ✅ Sublicense
- 📋 Include the copyright notice in copies
- 📋 Include the license text in copies
- ❌ Hold contributors liable
- ❌ Use trademarks without permission
Pytrix uses several open-source libraries. Here are the key dependencies and their licenses:
| Package | License | Purpose |
|---|---|---|
| Next.js | MIT | React framework |
| React | MIT | UI library |
| TypeScript | Apache 2.0 | Type system |
| Package | License | Purpose |
|---|---|---|
| Pyodide | MPL-2.0 | Python in WebAssembly |
Note
Pyodide is licensed under Mozilla Public License 2.0. This is a weak copyleft license that allows use in MIT-licensed projects. The Pyodide source code modifications (if any) must remain MPL-2.0, but this does not affect Pytrix's MIT license.
| Package | License | Purpose |
|---|---|---|
| @google/generative-ai | Apache 2.0 | Gemini SDK |
| Package | License | Purpose |
|---|---|---|
| shadcn/ui | MIT | Component library |
| Radix UI | MIT | Primitives |
| Tailwind CSS | MIT | CSS framework |
| Monaco Editor | MIT | Code editor |
| Phosphor Icons | MIT | Icons |
| Tabler Icons | MIT | Icons |
| Package | License | Purpose |
|---|---|---|
| Zustand | MIT | State management |
| Recharts | MIT | Charts |
| date-fns | MIT | Date utilities |
| Package | License | Purpose |
|---|---|---|
| clsx | MIT | Class names |
| tailwind-merge | MIT | Tailwind utilities |
| class-variance-authority | Apache 2.0 | Variant styles |
| cmdk | MIT | Command menu |
| sonner | MIT | Toast notifications |
| Package | License | Purpose |
|---|---|---|
| Vitest | MIT | Testing |
| Playwright | Apache 2.0 | E2E testing |
| ESLint | MIT | Linting |
| Testing Library | MIT | Testing utilities |
All dependencies are compatible with Pytrix's MIT license:
| License | Compatible | Notes |
|---|---|---|
| MIT | ✅ Yes | Permissive |
| Apache 2.0 | ✅ Yes | Permissive, patent grant |
| MPL-2.0 | ✅ Yes | File-level copyleft only |
| BSD-2/3 | ✅ Yes | Permissive |
When distributing Pytrix or derivative works:
- Include the MIT License — Copy of the license text
- Preserve copyright notices — In source files
While not required, we appreciate:
- Link back to Pytrix GitHub
- Credit in your application's about page
"Pytrix" and the Pytrix logo (if any) are trademarks.
You MAY NOT:
- Use "Pytrix" to imply endorsement
- Use the logo without permission
- Create confusingly similar names
You MAY:
- Refer to Pytrix by name for compatibility statements
- State that your project is based on Pytrix
When using Pytrix with Google's Gemini API:
- You are responsible for your API key usage
- You must comply with Google's Terms of Service
- You must comply with Generative AI Additional Terms
Pytrix does not proxy, store, or monitor your Gemini API usage.
By contributing to Pytrix:
- You agree that contributions are licensed under MIT
- You certify you have the right to submit the contribution
- You understand your contribution may be distributed publicly
See CONTRIBUTING.md for contribution guidelines.
For licensing questions:
- Open an issue on GitHub
- Tag it with
licensing
For commercial licensing or trademark inquiries, contact the maintainers.
For a complete list of all dependencies and their licenses, run:
npx license-checker --summaryOr view package.json and package-lock.json for the complete dependency tree.