vyasa 0.3.6__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- vyasa/__init__.py +5 -0
- vyasa/agent.py +116 -0
- vyasa/build.py +660 -0
- vyasa/config.py +224 -0
- vyasa/core.py +2825 -0
- vyasa/helpers.py +349 -0
- vyasa/layout_helpers.py +40 -0
- vyasa/main.py +108 -0
- vyasa/static/scripts.js +1202 -0
- vyasa/static/sidenote.css +21 -0
- vyasa-0.3.6.dist-info/METADATA +227 -0
- vyasa-0.3.6.dist-info/RECORD +16 -0
- vyasa-0.3.6.dist-info/WHEEL +5 -0
- vyasa-0.3.6.dist-info/entry_points.txt +2 -0
- vyasa-0.3.6.dist-info/licenses/LICENSE +201 -0
- vyasa-0.3.6.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
.sidenote-ref {
|
|
2
|
+
color: rgb(221, 166, 55); background-color: rgba(221, 166, 55, 0.15);
|
|
3
|
+
display: inline-block; transition: transform 0.2s;
|
|
4
|
+
font-size: 1rem; vertical-align: top; line-height: 1;
|
|
5
|
+
padding: 0 0.2rem; border-radius: 0.25rem; margin-left: 0.1rem;
|
|
6
|
+
}
|
|
7
|
+
.sidenote-ref:after { content: "›"; }
|
|
8
|
+
.dark .sidenote-ref { color: rgb(96, 165, 250); background-color: rgba(96, 165, 250, 0.15); }
|
|
9
|
+
.sidenote { display: none; }
|
|
10
|
+
@media (max-width: 1279px) {
|
|
11
|
+
.sidenote-ref:after { content: "⌃"; }
|
|
12
|
+
.sidenote-ref { transform: rotate(180deg); }
|
|
13
|
+
.sidenote-ref.open { transform: rotate(0deg); }
|
|
14
|
+
.sidenote.show { display: block; float: left; clear: both; width: 95%; margin: 0.75rem 2.5%; position: relative; }
|
|
15
|
+
}
|
|
16
|
+
@media (min-width: 1280px) {
|
|
17
|
+
.sidenote { display: block; float: right; clear: right; width: 18rem; margin-right: -20rem; margin-top: 0.25rem; margin-bottom: 0.75rem; }
|
|
18
|
+
.sidenote.hl { background-color: rgba(221, 166, 55, 0.1); }
|
|
19
|
+
.dark .sidenote.hl { background-color: rgba(96, 165, 250, 0.1); }
|
|
20
|
+
}
|
|
21
|
+
|
|
@@ -0,0 +1,227 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: vyasa
|
|
3
|
+
Version: 0.3.6
|
|
4
|
+
Summary: A lightweight, elegant blogging platform built with FastHTML
|
|
5
|
+
Home-page: https://github.com/yeshwanth/vyasa
|
|
6
|
+
Author: Yeshwanth
|
|
7
|
+
Author-email:
|
|
8
|
+
License: Apache-2.0
|
|
9
|
+
Project-URL: Homepage, https://github.com/yeshwanth/vyasa
|
|
10
|
+
Project-URL: Repository, https://github.com/yeshwanth/vyasa
|
|
11
|
+
Project-URL: Issues, https://github.com/yeshwanth/vyasa/issues
|
|
12
|
+
Keywords: fasthtml,blog,markdown,htmx,mermaid,sidenotes
|
|
13
|
+
Classifier: Development Status :: 4 - Beta
|
|
14
|
+
Classifier: Intended Audience :: Developers
|
|
15
|
+
Classifier: License :: OSI Approved :: Apache Software License
|
|
16
|
+
Classifier: Programming Language :: Python :: 3
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
18
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
19
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
20
|
+
Classifier: Framework :: FastAPI
|
|
21
|
+
Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content
|
|
22
|
+
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
23
|
+
Requires-Python: >=3.9
|
|
24
|
+
Description-Content-Type: text/markdown
|
|
25
|
+
License-File: LICENSE
|
|
26
|
+
Requires-Dist: python-fasthtml>=0.6.9
|
|
27
|
+
Requires-Dist: mistletoe>=1.4.0
|
|
28
|
+
Requires-Dist: python-frontmatter>=1.1.0
|
|
29
|
+
Requires-Dist: uvicorn>=0.30.0
|
|
30
|
+
Requires-Dist: monsterui>=0.0.37
|
|
31
|
+
Requires-Dist: pylogue>=0.3
|
|
32
|
+
Provides-Extra: dev
|
|
33
|
+
Requires-Dist: pytest>=8.0.0; extra == "dev"
|
|
34
|
+
Requires-Dist: black>=24.0.0; extra == "dev"
|
|
35
|
+
Requires-Dist: ruff>=0.5.0; extra == "dev"
|
|
36
|
+
Provides-Extra: auth
|
|
37
|
+
Requires-Dist: authlib>=1.3.0; extra == "auth"
|
|
38
|
+
Dynamic: home-page
|
|
39
|
+
Dynamic: license-file
|
|
40
|
+
Dynamic: requires-python
|
|
41
|
+
|
|
42
|
+
---
|
|
43
|
+
title: Vyasa
|
|
44
|
+
---
|
|
45
|
+
|
|
46
|
+
<p align="center">
|
|
47
|
+
<img src="static/icon.png" alt="Vyasa icon" class="vyasa-icon" style="width: 256px;">
|
|
48
|
+
</p>
|
|
49
|
+
|
|
50
|
+
<p class="vyasa-caption" style="text-align: center;">
|
|
51
|
+
Markdown feeds Python<br>
|
|
52
|
+
Instant sites, no code juggling<br>
|
|
53
|
+
CSS reigns supreme
|
|
54
|
+
</p>
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
---
|
|
58
|
+
|
|
59
|
+
Vyasa is a Python-first blogging platform designed to turn your Markdown files into a fully-featured website in seconds. Write your content in clean, simple Markdown—no boilerplate, no configuration hassles—and watch your site come alive instantly. Whether you're a minimalist who wants it just to work or a CSS enthusiast ready to craft pixel-perfect designs, Vyasa adapts to your needs. Start with zero configuration and customize every pixel when you're ready.[^1]
|
|
60
|
+
|
|
61
|
+
[^1]: If you're curious about how the intro was styled, [visit this page](https://github.com/sizhky/vyasa/blob/fa9a671931ad69b24139ba9d105bbadd8753b85b/custom.css#L36C1-L36C13).<br>
|
|
62
|
+
Check out the [Theming & CSS](vyasa%20manual/theming.md) guide for details on customizing your blog's appearance.
|
|
63
|
+
|
|
64
|
+
---
|
|
65
|
+
|
|
66
|
+
## Quick Start
|
|
67
|
+
1. Install Vyasa:
|
|
68
|
+
```bash
|
|
69
|
+
pip install vyasa
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
2. Create a directory with your markdown files:
|
|
73
|
+
```bash
|
|
74
|
+
mkdir my-blog
|
|
75
|
+
cd my-blog
|
|
76
|
+
echo "# Hello World" > hello.md
|
|
77
|
+
mkdir -p posts
|
|
78
|
+
echo "# My First Post\nThis is a sample blog post." > posts/first-post.md
|
|
79
|
+
```
|
|
80
|
+
|
|
81
|
+
3. Run Vyasa:
|
|
82
|
+
```bash
|
|
83
|
+
vyasa .
|
|
84
|
+
```
|
|
85
|
+
|
|
86
|
+
4. Open your browser at `http://127.0.0.1:5001`
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
## Key Features
|
|
90
|
+
|
|
91
|
+
```mermaid
|
|
92
|
+
mindmap
|
|
93
|
+
root((🚀 Vyasa Features))
|
|
94
|
+
📝 Markdown
|
|
95
|
+
Footnotes as Sidenotes
|
|
96
|
+
YouTube Embeds
|
|
97
|
+
Task Lists
|
|
98
|
+
Math Notation
|
|
99
|
+
Superscript & Subscript
|
|
100
|
+
Strikethrough
|
|
101
|
+
Relative Links
|
|
102
|
+
Plain-Text Headings
|
|
103
|
+
Pandoc-style Attributes
|
|
104
|
+
Title Abbreviations
|
|
105
|
+
Folder Notes
|
|
106
|
+
🎨 Interactive Elements
|
|
107
|
+
Mermaid Diagrams
|
|
108
|
+
Flowcharts
|
|
109
|
+
Sequence Diagrams
|
|
110
|
+
State Diagrams
|
|
111
|
+
Gantt Charts
|
|
112
|
+
Interactive Diagrams
|
|
113
|
+
Zoom & Pan
|
|
114
|
+
Fullscreen Mode
|
|
115
|
+
Dark Mode Support
|
|
116
|
+
Auto-scaling
|
|
117
|
+
Tabbed Content
|
|
118
|
+
Custom CSS Cascade
|
|
119
|
+
UI/UX
|
|
120
|
+
Responsive Design
|
|
121
|
+
Dark Mode
|
|
122
|
+
Three-Panel Layout
|
|
123
|
+
HTMX Navigation
|
|
124
|
+
Collapsible Folders
|
|
125
|
+
Sidebar Search
|
|
126
|
+
Auto-Generated TOC
|
|
127
|
+
Mobile Menus
|
|
128
|
+
Sticky Navigation
|
|
129
|
+
Active Link Highlighting
|
|
130
|
+
PDF Support
|
|
131
|
+
Copy Button
|
|
132
|
+
⚙️ Technical
|
|
133
|
+
FastHTML Foundation
|
|
134
|
+
Configuration File Support
|
|
135
|
+
CLI Arguments
|
|
136
|
+
Environment Variables
|
|
137
|
+
Security & Auth
|
|
138
|
+
Advanced Customization
|
|
139
|
+
```
|
|
140
|
+
|
|
141
|
+
### ✨ Advanced Markdown Features
|
|
142
|
+
- **Footnotes as Sidenotes**: `[^1]` references become elegant margin notes on desktop, expandable on mobile with smooth animations
|
|
143
|
+
- **YouTube Embeds**: Use `[yt:VIDEO_ID]` or `[yt:VIDEO_ID|Caption]` for responsive iframe cards with aspect-ratio containers
|
|
144
|
+
- **Task Lists**: `- [ ]` / `- [x]` render as custom styled checkboxes (green for checked, gray for unchecked) with SVG checkmarks
|
|
145
|
+
- **Mermaid Diagrams**: Full support for flowcharts, sequence diagrams, state diagrams, Gantt charts, etc.
|
|
146
|
+
- **Interactive Diagrams**:
|
|
147
|
+
- Zoom with mouse wheel (zooms towards cursor position)
|
|
148
|
+
- Pan by dragging with mouse
|
|
149
|
+
- Built-in controls: fullscreen, reset, zoom in/out buttons
|
|
150
|
+
- Auto-scaling based on diagram aspect ratio (wide diagrams like Gantt charts get special handling)
|
|
151
|
+
- Fullscreen modal viewer with dark mode support
|
|
152
|
+
- **Theme-aware Rendering**: Diagrams automatically re-render when switching light/dark mode via MutationObserver
|
|
153
|
+
- **Mermaid Frontmatter**: Configure diagram size with YAML frontmatter (width, height, min-height)
|
|
154
|
+
- **Tabbed Content**: Create multi-tab sections using `:::tabs` and `::tab{title="..."}` syntax with smooth transitions
|
|
155
|
+
- **Relative Links**: Full support for relative markdown links (`./file.md`, `../other.md`) with automatic path resolution
|
|
156
|
+
- **Plain-Text Headings**: Inline markdown in headings is stripped for clean display and consistent anchor slugs
|
|
157
|
+
- **Math Notation**: KaTeX support for inline `$E=mc^2$` and block `$$` math equations, auto-renders after HTMX swaps
|
|
158
|
+
- **Superscript & Subscript**: Use `^text^` for superscript and `~text~` for subscript (preprocessed before rendering)
|
|
159
|
+
- **Strikethrough**: Use `~~text~~` for strikethrough formatting
|
|
160
|
+
- **Pandoc-style Attributes**: Add classes to inline text with `` `text`{.class #id} `` syntax for semantic markup (renders as `<span>` tags, not `<code>`)
|
|
161
|
+
- **Cascading Custom CSS**: Add `custom.css` or `style.css` files at multiple levels (root, folders) with automatic scoping
|
|
162
|
+
- **Title Abbreviations**: Configure `.vyasa` `abbreviations` to force uppercase acronyms in sidebar and slug-based titles (e.g., `ai-features` $\to$ `AI Features`)
|
|
163
|
+
- **Folder Notes**: `index.md`, `README.md`, or `<folder>.md` can act as a folder summary; clicking the folder name opens it
|
|
164
|
+
|
|
165
|
+
See the full list in [Markdown Writing Features](vyasa%20manual/markdown-features.md).
|
|
166
|
+
|
|
167
|
+
### 🎨 Modern UI
|
|
168
|
+
- **Responsive Design**: Works beautifully on all screen sizes with mobile-first approach
|
|
169
|
+
- **Three-Panel Layout**: Posts sidebar, main content, and table of contents for easy navigation
|
|
170
|
+
- **Dark Mode**: Automatic theme switching with localStorage persistence and instant visual feedback
|
|
171
|
+
- **HTMX Navigation**: Fast, SPA-like navigation without full page reloads using `hx-get`, `hx-target`, and `hx-push-url`
|
|
172
|
+
- **Collapsible Folders**: Organize posts in nested directories with chevron indicators and smooth expand/collapse
|
|
173
|
+
- **Sidebar Search**: HTMX-powered filename search with results shown below the search bar (tree stays intact)
|
|
174
|
+
- **PDF Posts**: PDFs show up in the sidebar and open inline in the main content area
|
|
175
|
+
- **Auto-Generated TOC**: Table of contents automatically extracted from headings with scroll-based active highlighting
|
|
176
|
+
- **TOC Autoscroll + Accurate Highlights**: Active TOC item stays in view and highlight logic handles duplicate headings
|
|
177
|
+
- **Inline Copy Button**: Copy raw markdown from a button placed right next to the post title
|
|
178
|
+
- **Mobile Menus**: Slide-in panels for posts and TOC on mobile devices with smooth transitions
|
|
179
|
+
- **Sticky Navigation**: Navbar stays at top while scrolling, with mobile menu toggles
|
|
180
|
+
- **Active Link Highlighting**: Current post and TOC section highlighted with blue accents
|
|
181
|
+
- **Auto-Reveal in Sidebar**: Active post automatically expanded and scrolled into view when opening sidebar
|
|
182
|
+
- **Ultra-Thin Scrollbars**: Custom styled 3px scrollbars that adapt to light/dark theme
|
|
183
|
+
- **Frosted Glass Sidebars**: Backdrop blur and transparency effects on sidebar components
|
|
184
|
+
|
|
185
|
+
| Feature | Description |
|
|
186
|
+
|-----------------------------|--------------------------------------------------|
|
|
187
|
+
| FastHTML Integration | Built on FastHTML for high performance and ease of use |
|
|
188
|
+
| Advanced Markdown Support | Footnotes as sidenotes, YouTube embeds, task lists, Mermaid diagrams, math notation, tabbed content, and more |
|
|
189
|
+
| Modern UI | Responsive design, dark mode, three-panel layout, HTMX navigation |
|
|
190
|
+
| Interactive Diagrams | Zoomable, pannable Mermaid diagrams with fullscreen support |
|
|
191
|
+
|
|
192
|
+
## Installation
|
|
193
|
+
|
|
194
|
+
### From PyPI (recommended)
|
|
195
|
+
|
|
196
|
+
```bash
|
|
197
|
+
pip install vyasa
|
|
198
|
+
```
|
|
199
|
+
|
|
200
|
+
### From source
|
|
201
|
+
|
|
202
|
+
```bash
|
|
203
|
+
git clone https://github.com/yeshwanth/vyasa.git
|
|
204
|
+
cd vyasa
|
|
205
|
+
pip install -e .
|
|
206
|
+
```
|
|
207
|
+
|
|
208
|
+
## Configuration
|
|
209
|
+
|
|
210
|
+
Vyasa supports four ways to configure your blog (in priority order):
|
|
211
|
+
|
|
212
|
+
1. cli arguments (e.g. `vyasa /path/to/markdown`) - Highest priority
|
|
213
|
+
1. **[`.vyasa` configuration file](vyasa%20manual/configuration.md)** (TOML format)
|
|
214
|
+
2. **Environment variables** - Fallback
|
|
215
|
+
3. **Default values** - Final fallback
|
|
216
|
+
|
|
217
|
+
## Vyasa Manual
|
|
218
|
+
|
|
219
|
+
Short, focused guides for deeper topics. Start with configuration and writing content, then dive into architecture and advanced details.
|
|
220
|
+
|
|
221
|
+
- [Configuration & CLI](vyasa%20manual/configuration.md)
|
|
222
|
+
- [Markdown Writing Features](vyasa%20manual/markdown-features.md)
|
|
223
|
+
- [Mermaid Diagrams](vyasa%20manual/mermaid-diagrams.md)
|
|
224
|
+
- [Architecture Overview](vyasa%20manual/architecture.md)
|
|
225
|
+
- [Theming & CSS](vyasa%20manual/theming.md)
|
|
226
|
+
- [Security & Auth](vyasa%20manual/security.md)
|
|
227
|
+
- [Advanced Behavior](vyasa%20manual/advanced.md)
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
vyasa/__init__.py,sha256=l6KpjZx1i1_wMJSbuQIqteDjUJ_h9MM1W8xpm-5ISPA,158
|
|
2
|
+
vyasa/agent.py,sha256=XD4V6rM-JrVtqTVa3pZqPy_BUmcQgKdidQaY4il632Q,3196
|
|
3
|
+
vyasa/build.py,sha256=USqeZsXGPB8COzdWRPLgSgkVg6DIzQwL0qGGJaMM7Ec,26548
|
|
4
|
+
vyasa/config.py,sha256=7mjBTnv7MlBF4CUHA-2IZDt9l9_EMjgOLmQ00I2LQZA,7768
|
|
5
|
+
vyasa/core.py,sha256=3p_HMM5wfpHLCbtWEDW-gdluZCVj3tFV3N6DBXO4PGQ,126211
|
|
6
|
+
vyasa/helpers.py,sha256=VgOzAIoL3X8RYLvKQRd-S4jM-sjmlolyxFlyOiP7bmM,12489
|
|
7
|
+
vyasa/layout_helpers.py,sha256=uodzhyrGoqC6egbGuzuAPJP2yiWYM8krxb64dE4nwpc,1082
|
|
8
|
+
vyasa/main.py,sha256=xcneOe3Vw3vxfxSii2Y7C5DJTFLz71JDCY_CDZKVwxc,4073
|
|
9
|
+
vyasa/static/scripts.js,sha256=SBFM8klicaI77-GsozUVxdMJwTuaJWoVrV6FsY4Kuws,45124
|
|
10
|
+
vyasa/static/sidenote.css,sha256=9YEl111Qs6kGnrgcVQtC1eiccMGY3-lu05l_NnwXVME,1045
|
|
11
|
+
vyasa-0.3.6.dist-info/licenses/LICENSE,sha256=xV8xoN4VOL0uw9X8RSs2IMuD_Ss_a9yAbtGNeBWZwnw,11337
|
|
12
|
+
vyasa-0.3.6.dist-info/METADATA,sha256=sMt4Yt11hsTD6w1i47BKCo4bhGQsYPoEjI65aWEUMFw,9791
|
|
13
|
+
vyasa-0.3.6.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
|
|
14
|
+
vyasa-0.3.6.dist-info/entry_points.txt,sha256=ypyjtxRlygocldmIxOIijoME2BIfxzU0uuNfdi3_1us,41
|
|
15
|
+
vyasa-0.3.6.dist-info/top_level.txt,sha256=Pwy2VqkeYm2zJ5zQ-6XsJHNPsAU4xwscZn-8siQz9Pg,6
|
|
16
|
+
vyasa-0.3.6.dist-info/RECORD,,
|
|
@@ -0,0 +1,201 @@
|
|
|
1
|
+
Apache License
|
|
2
|
+
Version 2.0, January 2004
|
|
3
|
+
http://www.apache.org/licenses/
|
|
4
|
+
|
|
5
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
6
|
+
|
|
7
|
+
1. Definitions.
|
|
8
|
+
|
|
9
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
10
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
11
|
+
|
|
12
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
13
|
+
the copyright owner that is granting the License.
|
|
14
|
+
|
|
15
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
16
|
+
other entities that control, are controlled by, or are under common
|
|
17
|
+
control with that entity. For the purposes of this definition,
|
|
18
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
19
|
+
direction or management of such entity, whether by contract or
|
|
20
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
21
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
22
|
+
|
|
23
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
24
|
+
exercising permissions granted by this License.
|
|
25
|
+
|
|
26
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
27
|
+
including but not limited to software source code, documentation
|
|
28
|
+
source, and configuration files.
|
|
29
|
+
|
|
30
|
+
"Object" form shall mean any form resulting from mechanical
|
|
31
|
+
transformation or translation of a Source form, including but
|
|
32
|
+
not limited to compiled object code, generated documentation,
|
|
33
|
+
and conversions to other media types.
|
|
34
|
+
|
|
35
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
36
|
+
Object form, made available under the License, as indicated by a
|
|
37
|
+
copyright notice that is included in or attached to the work
|
|
38
|
+
(an example is provided in the Appendix below).
|
|
39
|
+
|
|
40
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
41
|
+
form, that is based on (or derived from) the Work and for which the
|
|
42
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
43
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
44
|
+
of this License, Derivative Works shall not include works that remain
|
|
45
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
46
|
+
the Work and Derivative Works thereof.
|
|
47
|
+
|
|
48
|
+
"Contribution" shall mean any work of authorship, including
|
|
49
|
+
the original version of the Work and any modifications or additions
|
|
50
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
51
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
52
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
53
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
54
|
+
means any form of electronic, verbal, or written communication sent
|
|
55
|
+
to the Licensor or its representatives, including but not limited to
|
|
56
|
+
communication on electronic mailing lists, source code control systems,
|
|
57
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
58
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
59
|
+
excluding communication that is conspicuously marked or otherwise
|
|
60
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
61
|
+
|
|
62
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
63
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
64
|
+
subsequently incorporated within the Work.
|
|
65
|
+
|
|
66
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
67
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
68
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
69
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
70
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
71
|
+
Work and such Derivative Works in Source or Object form.
|
|
72
|
+
|
|
73
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
74
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
75
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
76
|
+
(except as stated in this section) patent license to make, have made,
|
|
77
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
78
|
+
where such license applies only to those patent claims licensable
|
|
79
|
+
by such Contributor that are necessarily infringed by their
|
|
80
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
81
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
82
|
+
institute patent litigation against any entity (including a
|
|
83
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
84
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
85
|
+
or contributory patent infringement, then any patent licenses
|
|
86
|
+
granted to You under this License for that Work shall terminate
|
|
87
|
+
as of the date such litigation is filed.
|
|
88
|
+
|
|
89
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
90
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
91
|
+
modifications, and in Source or Object form, provided that You
|
|
92
|
+
meet the following conditions:
|
|
93
|
+
|
|
94
|
+
(a) You must give any other recipients of the Work or
|
|
95
|
+
Derivative Works a copy of this License; and
|
|
96
|
+
|
|
97
|
+
(b) You must cause any modified files to carry prominent notices
|
|
98
|
+
stating that You changed the files; and
|
|
99
|
+
|
|
100
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
101
|
+
that You distribute, all copyright, patent, trademark, and
|
|
102
|
+
attribution notices from the Source form of the Work,
|
|
103
|
+
excluding those notices that do not pertain to any part of
|
|
104
|
+
the Derivative Works; and
|
|
105
|
+
|
|
106
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
107
|
+
distribution, then any Derivative Works that You distribute must
|
|
108
|
+
include a readable copy of the attribution notices contained
|
|
109
|
+
within such NOTICE file, excluding those notices that do not
|
|
110
|
+
pertain to any part of the Derivative Works, in at least one
|
|
111
|
+
of the following places: within a NOTICE text file distributed
|
|
112
|
+
as part of the Derivative Works; within the Source form or
|
|
113
|
+
documentation, if provided along with the Derivative Works; or,
|
|
114
|
+
within a display generated by the Derivative Works, if and
|
|
115
|
+
wherever such third-party notices normally appear. The contents
|
|
116
|
+
of the NOTICE file are for informational purposes only and
|
|
117
|
+
do not modify the License. You may add Your own attribution
|
|
118
|
+
notices within Derivative Works that You distribute, alongside
|
|
119
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
120
|
+
that such additional attribution notices cannot be construed
|
|
121
|
+
as modifying the License.
|
|
122
|
+
|
|
123
|
+
You may add Your own copyright statement to Your modifications and
|
|
124
|
+
may provide additional or different license terms and conditions
|
|
125
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
126
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
127
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
128
|
+
the conditions stated in this License.
|
|
129
|
+
|
|
130
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
131
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
132
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
133
|
+
this License, without any additional terms or conditions.
|
|
134
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
135
|
+
the terms of any separate license agreement you may have executed
|
|
136
|
+
with Licensor regarding such Contributions.
|
|
137
|
+
|
|
138
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
139
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
140
|
+
except as required for reasonable and customary use in describing the
|
|
141
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
142
|
+
|
|
143
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
144
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
145
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
146
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
147
|
+
implied, including, without limitation, any warranties or conditions
|
|
148
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
149
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
150
|
+
appropriateness of using or redistributing the Work and assume any
|
|
151
|
+
risks associated with Your exercise of permissions under this License.
|
|
152
|
+
|
|
153
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
154
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
155
|
+
unless required by applicable law (such as deliberate and grossly
|
|
156
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
157
|
+
liable to You for damages, including any direct, indirect, special,
|
|
158
|
+
incidental, or consequential damages of any character arising as a
|
|
159
|
+
result of this License or out of the use or inability to use the
|
|
160
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
161
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
162
|
+
other commercial damages or losses), even if such Contributor
|
|
163
|
+
has been advised of the possibility of such damages.
|
|
164
|
+
|
|
165
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
166
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
167
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
168
|
+
or other liability obligations and/or rights consistent with this
|
|
169
|
+
License. However, in accepting such obligations, You may act only
|
|
170
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
171
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
172
|
+
defend, and hold each Contributor harmless for any liability
|
|
173
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
174
|
+
of your accepting any such warranty or additional liability.
|
|
175
|
+
|
|
176
|
+
END OF TERMS AND CONDITIONS
|
|
177
|
+
|
|
178
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
179
|
+
|
|
180
|
+
To apply the Apache License to your work, attach the following
|
|
181
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
182
|
+
replaced with your own identifying information. (Don't include
|
|
183
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
184
|
+
comment syntax for the file format. We also recommend that a
|
|
185
|
+
file or class name and description of purpose be included on the
|
|
186
|
+
same "printed page" as the copyright notice for easier
|
|
187
|
+
identification within third-party archives.
|
|
188
|
+
|
|
189
|
+
Copyright 2022, fastai
|
|
190
|
+
|
|
191
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
192
|
+
you may not use this file except in compliance with the License.
|
|
193
|
+
You may obtain a copy of the License at
|
|
194
|
+
|
|
195
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
196
|
+
|
|
197
|
+
Unless required by applicable law or agreed to in writing, software
|
|
198
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
199
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
200
|
+
See the License for the specific language governing permissions and
|
|
201
|
+
limitations under the License.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
vyasa
|