duckling-orm 0.0.3__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.
@@ -0,0 +1,349 @@
1
+ Metadata-Version: 2.4
2
+ Name: duckling-orm
3
+ Version: 0.0.3
4
+ Summary: A Beanie-inspired ORM for DuckDB — async-first, Pydantic-powered.
5
+ Author: Duckling Contributors
6
+ License: Apache-2.0
7
+ Project-URL: Homepage, https://github.com/carbonbits/duckling
8
+ Project-URL: Repository, https://github.com/carbonbits/duckling
9
+ Project-URL: Issues, https://github.com/carbonbits/duckling/issues
10
+ Keywords: duckdb,orm,pydantic,async,beanie
11
+ Classifier: Development Status :: 3 - Alpha
12
+ Classifier: Intended Audience :: Developers
13
+ Classifier: License :: OSI Approved :: Apache Software License
14
+ Classifier: Programming Language :: Python :: 3
15
+ Classifier: Programming Language :: Python :: 3.10
16
+ Classifier: Programming Language :: Python :: 3.11
17
+ Classifier: Programming Language :: Python :: 3.12
18
+ Classifier: Topic :: Database
19
+ Classifier: Typing :: Typed
20
+ Requires-Python: >=3.10
21
+ Description-Content-Type: text/markdown
22
+ License-File: LICENSE
23
+ Requires-Dist: duckdb>=0.9.0
24
+ Requires-Dist: pydantic>=2.0.0
25
+ Provides-Extra: dev
26
+ Requires-Dist: pytest>=7.0; extra == "dev"
27
+ Requires-Dist: pytest-asyncio>=0.21; extra == "dev"
28
+ Requires-Dist: pre-commit>=3.5; extra == "dev"
29
+ Requires-Dist: ruff>=0.6; extra == "dev"
30
+ Dynamic: license-file
31
+
32
+ # 🦆 Duckling
33
+
34
+ **A Beanie-inspired ORM for DuckDB — async-first, Pydantic-powered.**
35
+
36
+ Duckling brings the elegant, developer-friendly API of [Beanie](https://github.com/BeanieODM/beanie) (MongoDB ODM) to [DuckDB](https://duckdb.org/) — the fast, in-process analytical database. Define your models with Pydantic, query with Pythonic expressions, and enjoy both async and sync APIs.
37
+
38
+ The original version of this project was generated by Claude AI.
39
+
40
+ The human intervention in the code is to customize it for use within the carbonbits ecosystem. No plans to publish to pypi yet
41
+
42
+ ## Installation
43
+
44
+ ```bash
45
+ pip install duckling
46
+ # or from source:
47
+ pip install -e .
48
+ ```
49
+
50
+ **Requirements:** Python ≥ 3.10, `duckdb >= 0.9`, `pydantic >= 2.0`
51
+
52
+ ---
53
+
54
+ ## Quick Start
55
+
56
+ ```python
57
+ import asyncio
58
+ from typing import Annotated, Optional
59
+ from duckling import Document, IndexSpec, init_duckling
60
+
61
+ class User(Document):
62
+ name: str
63
+ email: Annotated[str, IndexSpec(unique=True)]
64
+ age: int = 0
65
+
66
+ class Settings:
67
+ table_name = "users"
68
+
69
+ async def main():
70
+ await init_duckling(database=":memory:", document_models=[User])
71
+
72
+ # Insert
73
+ alice = User(name="Alice", email="alice@example.com", age=30)
74
+ await alice.insert()
75
+
76
+ # Query
77
+ users = await User.find(User.age > 25).sort("+name").limit(10).to_list()
78
+
79
+ # Update
80
+ alice.age = 31
81
+ await alice.save()
82
+
83
+ # Delete
84
+ await alice.delete()
85
+
86
+ asyncio.run(main())
87
+ ```
88
+
89
+ ---
90
+
91
+ ## API Reference
92
+
93
+ ### Initialization
94
+
95
+ ```python
96
+ from duckling import init_duckling, init_duckling_sync
97
+
98
+ # Async
99
+ await init_duckling(
100
+ database=":memory:", # or "path/to/file.db"
101
+ document_models=[User, Product],
102
+ recreate_tables=False, # drop & recreate tables
103
+ )
104
+
105
+ # Sync
106
+ init_duckling_sync(database="app.db", document_models=[User])
107
+ ```
108
+
109
+ ### Defining Models
110
+
111
+ Duckling models are Pydantic `BaseModel` subclasses with an auto-generated `id` primary key:
112
+
113
+ ```python
114
+ from duckling import Document, IndexSpec
115
+ from typing import Annotated, Optional, List
116
+ import datetime
117
+
118
+ class Product(Document):
119
+ name: str
120
+ price: float
121
+ category: Optional[str] = None
122
+ tags: Optional[List[str]] = None # stored as JSON
123
+ created_at: datetime.datetime = datetime.datetime.now()
124
+ in_stock: bool = True
125
+
126
+ class Settings:
127
+ table_name = "products" # optional, auto-generated from class name
128
+ ```
129
+
130
+ **Supported types:** `str`, `int`, `float`, `bool`, `bytes`, `datetime.date`, `datetime.datetime`, `datetime.time`, `uuid.UUID`, `Optional[T]`, `List[T]` (→ JSON), `dict` (→ JSON), nested Pydantic models (→ JSON), `Enum`.
131
+
132
+ ### Indexed Fields
133
+
134
+ ```python
135
+ from duckling import IndexSpec
136
+ from typing import Annotated
137
+
138
+ class User(Document):
139
+ email: Annotated[str, IndexSpec(unique=True)] # unique index
140
+ age: Annotated[int, IndexSpec()] # regular index
141
+ ```
142
+
143
+ ### CRUD Operations
144
+
145
+ Every method has an async version (default) and a `_sync` variant:
146
+
147
+ | Async | Sync | Description |
148
+ |---|---|---|
149
+ | `await doc.insert()` | `doc.insert_sync()` | Insert a new document |
150
+ | `await doc.save()` | `doc.save_sync()` | Upsert (insert or update) |
151
+ | `await doc.delete()` | `doc.delete_sync()` | Delete this document |
152
+ | `await doc.refresh()` | — | Reload from database |
153
+ | `await Model.insert_many([...])` | `Model.insert_many_sync([...])` | Bulk insert |
154
+ | `await Model.delete_all()` | `Model.delete_all_sync()` | Delete all rows |
155
+ | `await Model.get(id)` | `Model.get_sync(id)` | Fetch by primary key |
156
+ | `await Model.count()` | `Model.count_sync()` | Count all rows |
157
+
158
+ ### Queries
159
+
160
+ Duckling's query interface mirrors Beanie's fluent API:
161
+
162
+ ```python
163
+ # Find with conditions
164
+ users = await User.find(User.age > 25).to_list()
165
+ users = await User.find(User.age > 25, User.active == True).to_list()
166
+
167
+ # Find one
168
+ user = await User.find_one(User.email == "alice@example.com")
169
+
170
+ # Find all
171
+ all_users = await User.find_all().to_list()
172
+
173
+ # Chaining
174
+ results = (
175
+ await User.find(User.active == True)
176
+ .find(User.age >= 18) # additional conditions (AND)
177
+ .sort("+name") # ascending
178
+ .sort("-age") # descending
179
+ .skip(10) # offset
180
+ .limit(20) # limit
181
+ .to_list()
182
+ )
183
+
184
+ # Count & exists
185
+ count = await User.find(User.age > 30).count()
186
+ has_any = await User.find(User.name == "Alice").exists()
187
+
188
+ # Async iteration
189
+ async for user in User.find(User.active == True).sort("+name"):
190
+ print(user.name)
191
+ ```
192
+
193
+ ### Query Expressions
194
+
195
+ Use Pythonic operators directly on model fields:
196
+
197
+ ```python
198
+ # Comparison operators
199
+ User.age == 30 User.age != 30
200
+ User.age > 25 User.age >= 25
201
+ User.age < 40 User.age <= 40
202
+
203
+ # Boolean combinators
204
+ (User.age > 25) & (User.active == True) # AND
205
+ (User.name == "A") | (User.name == "B") # OR
206
+ ~(User.active == True) # NOT
207
+
208
+ # FieldProxy helper methods
209
+ User.name.startswith("Ali") # LIKE 'Ali%'
210
+ User.name.endswith("son") # LIKE '%son'
211
+ User.name.contains("lic") # LIKE '%lic%'
212
+ User.name.like("A%e") # LIKE 'A%e'
213
+ User.name.ilike("alice") # ILIKE (case-insensitive)
214
+ User.age.is_in([25, 30, 35]) # IN (25, 30, 35)
215
+ User.age.not_in([0, 99]) # NOT IN
216
+ User.age.between(18, 65) # BETWEEN 18 AND 65
217
+
218
+ # Sort helpers
219
+ User.name.asc() # → ("name", ASCENDING)
220
+ User.name.desc() # → ("name", DESCENDING)
221
+ ```
222
+
223
+ ### Operator Functions
224
+
225
+ For more complex queries, use the operator functions:
226
+
227
+ ```python
228
+ from duckling.operators import And, Or, Not, In, NotIn, Between, Like, ILike, Raw
229
+
230
+ await User.find(In(User.age, [25, 30, 35])).to_list()
231
+ await User.find(Between(User.age, 18, 65)).to_list()
232
+ await User.find(Like(User.name, "%smith%")).to_list()
233
+
234
+ # Combine
235
+ await User.find(
236
+ And(
237
+ User.active == True,
238
+ Or(User.city == "NYC", User.city == "LA"),
239
+ Not(User.age < 18),
240
+ )
241
+ ).to_list()
242
+
243
+ # Raw SQL escape hatch
244
+ await User.find(Raw('"age" % 2 = 0')).to_list()
245
+ ```
246
+
247
+ ### Aggregation
248
+
249
+ ```python
250
+ from duckling.query import Count, Sum, Avg, Min, Max, CountDistinct
251
+
252
+ stats = await User.find(User.active == True).aggregate(
253
+ total=Count(),
254
+ avg_age=Avg("age"),
255
+ max_age=Max("age"),
256
+ min_age=Min("age"),
257
+ sum_age=Sum("age"),
258
+ unique_names=CountDistinct("name"),
259
+ )
260
+ print(stats) # {'total': 42, 'avg_age': 31.5, ...}
261
+ ```
262
+
263
+ ### Sort Syntax
264
+
265
+ ```python
266
+ # String syntax
267
+ .sort("+name") # ascending
268
+ .sort("-age") # descending
269
+ .sort("+name", "-age") # multi-column
270
+
271
+ # Tuple syntax
272
+ .sort(("name", SortDirection.ASCENDING))
273
+
274
+ # FieldProxy syntax
275
+ .sort(User.name.asc(), User.age.desc())
276
+ ```
277
+
278
+ ### Transactions
279
+
280
+ ```python
281
+ session = get_session()
282
+
283
+ # Async
284
+ async with session.async_transaction():
285
+ await user.insert()
286
+ await order.insert()
287
+
288
+ # Sync
289
+ with session.transaction():
290
+ user.insert_sync()
291
+ order.insert_sync()
292
+ ```
293
+
294
+ ### Raw SQL Escape Hatch
295
+
296
+ ```python
297
+ from duckling import get_session
298
+
299
+ session = get_session()
300
+
301
+ # Async
302
+ rows = await session.async_fetchall("SELECT * FROM users WHERE age > ?", [25])
303
+
304
+ # Get pandas DataFrame
305
+ df = await session.async_fetchdf("SELECT name, age FROM users")
306
+
307
+ # Sync
308
+ rows = session.fetchall("SELECT count(*) FROM users")
309
+ ```
310
+
311
+ ---
312
+
313
+ ## Beanie → Duckling Comparison
314
+
315
+ | Beanie (MongoDB) | Duckling (DuckDB) |
316
+ |---|---|
317
+ | `init_beanie(database, models)` | `await init_duckling(database, models)` |
318
+ | `class User(Document)` | `class User(Document)` |
319
+ | `await user.insert()` | `await user.insert()` |
320
+ | `await user.save()` | `await user.save()` |
321
+ | `await User.find(cond).to_list()` | `await User.find(cond).to_list()` |
322
+ | `await User.find_one(cond)` | `await User.find_one(cond)` |
323
+ | `User.name == "Alice"` | `User.name == "Alice"` |
324
+ | `In(User.age, [...])` | `In(User.age, [...])` |
325
+ | `await User.find().sort("+name")` | `await User.find().sort("+name")` |
326
+ | Settings class | Settings class |
327
+ | `Indexed(str, unique=True)` | `Annotated[str, IndexSpec(unique=True)]` |
328
+
329
+ ---
330
+
331
+ ## Project Structure
332
+
333
+ ```
334
+ src/duckling/
335
+ ├── __init__.py # Public exports
336
+ ├── connection.py # DuckDB session management
337
+ ├── document.py # Document base class (the core)
338
+ ├── fields.py # FieldProxy, Indexed, Expression types
339
+ ├── init.py # init_duckling() / init_duckling_sync()
340
+ ├── operators.py # And, Or, In, Between, Like, etc.
341
+ ├── query.py # FindQuery builder + aggregation
342
+ └── exceptions.py # Custom exceptions
343
+
344
+ tests/ # Per-module tests (test_document.py, test_query.py, …)
345
+ ```
346
+
347
+ ## License
348
+
349
+ MIT
@@ -0,0 +1,13 @@
1
+ duckling/__init__.py,sha256=f25GgRRC4wu8VRnxur4LTv0uVrnJ7lYnTev7F30L6wY,2088
2
+ duckling/connection.py,sha256=5uCzHAz18j8e2kZNEyts_TUO_ZSlWQuz5WwGVYFAIZ4,5782
3
+ duckling/document.py,sha256=OrNzSzu76zA4VI39wAHOI_0_I6VnM5vXpvVKW_-L7Cs,19554
4
+ duckling/exceptions.py,sha256=zR-43m_X4v6DhWzmOZJFRlLWnA8YMT3p9fyaJCSRstU,795
5
+ duckling/fields.py,sha256=Ei-cy-fi9XQE3NQhuHvVY_TERJd_BNQQ8DxT51zYLb8,9161
6
+ duckling/init.py,sha256=MYSTsou3BJsi5Eny_jtc69F3DVkS6b_C2BCwjQJ2Muw,4334
7
+ duckling/operators.py,sha256=yYxBnrWLr9MCuxODID_wDFBB6inkCMKpMEObx2cwVzY,5168
8
+ duckling/query.py,sha256=MGWzrzDorkBL5G-ZJugddRp_4BvlNmFD2LypPATTxS8,12708
9
+ duckling_orm-0.0.3.dist-info/licenses/LICENSE,sha256=WNHhf_5RCaeuKWyq_K39vmp9F28LxKsB4SpomwSZ2L0,11357
10
+ duckling_orm-0.0.3.dist-info/METADATA,sha256=ymRUKqCpZBcCWWzJmb7Gi5WUm-PoRJKkAryBjYD9HvI,9768
11
+ duckling_orm-0.0.3.dist-info/WHEEL,sha256=aeYiig01lYGDzBgS8HxWXOg3uV61G9ijOsup-k9o1sk,91
12
+ duckling_orm-0.0.3.dist-info/top_level.txt,sha256=qWhlV7yuZm1uRgSRfW36mjG5Myzb6HeK48rNWHLIe7M,9
13
+ duckling_orm-0.0.3.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: setuptools (82.0.1)
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
5
+
@@ -0,0 +1,202 @@
1
+
2
+ Apache License
3
+ Version 2.0, January 2004
4
+ http://www.apache.org/licenses/
5
+
6
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7
+
8
+ 1. Definitions.
9
+
10
+ "License" shall mean the terms and conditions for use, reproduction,
11
+ and distribution as defined by Sections 1 through 9 of this document.
12
+
13
+ "Licensor" shall mean the copyright owner or entity authorized by
14
+ the copyright owner that is granting the License.
15
+
16
+ "Legal Entity" shall mean the union of the acting entity and all
17
+ other entities that control, are controlled by, or are under common
18
+ control with that entity. For the purposes of this definition,
19
+ "control" means (i) the power, direct or indirect, to cause the
20
+ direction or management of such entity, whether by contract or
21
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
22
+ outstanding shares, or (iii) beneficial ownership of such entity.
23
+
24
+ "You" (or "Your") shall mean an individual or Legal Entity
25
+ exercising permissions granted by this License.
26
+
27
+ "Source" form shall mean the preferred form for making modifications,
28
+ including but not limited to software source code, documentation
29
+ source, and configuration files.
30
+
31
+ "Object" form shall mean any form resulting from mechanical
32
+ transformation or translation of a Source form, including but
33
+ not limited to compiled object code, generated documentation,
34
+ and conversions to other media types.
35
+
36
+ "Work" shall mean the work of authorship, whether in Source or
37
+ Object form, made available under the License, as indicated by a
38
+ copyright notice that is included in or attached to the work
39
+ (an example is provided in the Appendix below).
40
+
41
+ "Derivative Works" shall mean any work, whether in Source or Object
42
+ form, that is based on (or derived from) the Work and for which the
43
+ editorial revisions, annotations, elaborations, or other modifications
44
+ represent, as a whole, an original work of authorship. For the purposes
45
+ of this License, Derivative Works shall not include works that remain
46
+ separable from, or merely link (or bind by name) to the interfaces of,
47
+ the Work and Derivative Works thereof.
48
+
49
+ "Contribution" shall mean any work of authorship, including
50
+ the original version of the Work and any modifications or additions
51
+ to that Work or Derivative Works thereof, that is intentionally
52
+ submitted to Licensor for inclusion in the Work by the copyright owner
53
+ or by an individual or Legal Entity authorized to submit on behalf of
54
+ the copyright owner. For the purposes of this definition, "submitted"
55
+ means any form of electronic, verbal, or written communication sent
56
+ to the Licensor or its representatives, including but not limited to
57
+ communication on electronic mailing lists, source code control systems,
58
+ and issue tracking systems that are managed by, or on behalf of, the
59
+ Licensor for the purpose of discussing and improving the Work, but
60
+ excluding communication that is conspicuously marked or otherwise
61
+ designated in writing by the copyright owner as "Not a Contribution."
62
+
63
+ "Contributor" shall mean Licensor and any individual or Legal Entity
64
+ on behalf of whom a Contribution has been received by Licensor and
65
+ subsequently incorporated within the Work.
66
+
67
+ 2. Grant of Copyright License. Subject to the terms and conditions of
68
+ this License, each Contributor hereby grants to You a perpetual,
69
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
70
+ copyright license to reproduce, prepare Derivative Works of,
71
+ publicly display, publicly perform, sublicense, and distribute the
72
+ Work and such Derivative Works in Source or Object form.
73
+
74
+ 3. Grant of Patent License. Subject to the terms and conditions of
75
+ this License, each Contributor hereby grants to You a perpetual,
76
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
77
+ (except as stated in this section) patent license to make, have made,
78
+ use, offer to sell, sell, import, and otherwise transfer the Work,
79
+ where such license applies only to those patent claims licensable
80
+ by such Contributor that are necessarily infringed by their
81
+ Contribution(s) alone or by combination of their Contribution(s)
82
+ with the Work to which such Contribution(s) was submitted. If You
83
+ institute patent litigation against any entity (including a
84
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
85
+ or a Contribution incorporated within the Work constitutes direct
86
+ or contributory patent infringement, then any patent licenses
87
+ granted to You under this License for that Work shall terminate
88
+ as of the date such litigation is filed.
89
+
90
+ 4. Redistribution. You may reproduce and distribute copies of the
91
+ Work or Derivative Works thereof in any medium, with or without
92
+ modifications, and in Source or Object form, provided that You
93
+ meet the following conditions:
94
+
95
+ (a) You must give any other recipients of the Work or
96
+ Derivative Works a copy of this License; and
97
+
98
+ (b) You must cause any modified files to carry prominent notices
99
+ stating that You changed the files; and
100
+
101
+ (c) You must retain, in the Source form of any Derivative Works
102
+ that You distribute, all copyright, patent, trademark, and
103
+ attribution notices from the Source form of the Work,
104
+ excluding those notices that do not pertain to any part of
105
+ the Derivative Works; and
106
+
107
+ (d) If the Work includes a "NOTICE" text file as part of its
108
+ distribution, then any Derivative Works that You distribute must
109
+ include a readable copy of the attribution notices contained
110
+ within such NOTICE file, excluding those notices that do not
111
+ pertain to any part of the Derivative Works, in at least one
112
+ of the following places: within a NOTICE text file distributed
113
+ as part of the Derivative Works; within the Source form or
114
+ documentation, if provided along with the Derivative Works; or,
115
+ within a display generated by the Derivative Works, if and
116
+ wherever such third-party notices normally appear. The contents
117
+ of the NOTICE file are for informational purposes only and
118
+ do not modify the License. You may add Your own attribution
119
+ notices within Derivative Works that You distribute, alongside
120
+ or as an addendum to the NOTICE text from the Work, provided
121
+ that such additional attribution notices cannot be construed
122
+ as modifying the License.
123
+
124
+ You may add Your own copyright statement to Your modifications and
125
+ may provide additional or different license terms and conditions
126
+ for use, reproduction, or distribution of Your modifications, or
127
+ for any such Derivative Works as a whole, provided Your use,
128
+ reproduction, and distribution of the Work otherwise complies with
129
+ the conditions stated in this License.
130
+
131
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
132
+ any Contribution intentionally submitted for inclusion in the Work
133
+ by You to the Licensor shall be under the terms and conditions of
134
+ this License, without any additional terms or conditions.
135
+ Notwithstanding the above, nothing herein shall supersede or modify
136
+ the terms of any separate license agreement you may have executed
137
+ with Licensor regarding such Contributions.
138
+
139
+ 6. Trademarks. This License does not grant permission to use the trade
140
+ names, trademarks, service marks, or product names of the Licensor,
141
+ except as required for reasonable and customary use in describing the
142
+ origin of the Work and reproducing the content of the NOTICE file.
143
+
144
+ 7. Disclaimer of Warranty. Unless required by applicable law or
145
+ agreed to in writing, Licensor provides the Work (and each
146
+ Contributor provides its Contributions) on an "AS IS" BASIS,
147
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
148
+ implied, including, without limitation, any warranties or conditions
149
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
150
+ PARTICULAR PURPOSE. You are solely responsible for determining the
151
+ appropriateness of using or redistributing the Work and assume any
152
+ risks associated with Your exercise of permissions under this License.
153
+
154
+ 8. Limitation of Liability. In no event and under no legal theory,
155
+ whether in tort (including negligence), contract, or otherwise,
156
+ unless required by applicable law (such as deliberate and grossly
157
+ negligent acts) or agreed to in writing, shall any Contributor be
158
+ liable to You for damages, including any direct, indirect, special,
159
+ incidental, or consequential damages of any character arising as a
160
+ result of this License or out of the use or inability to use the
161
+ Work (including but not limited to damages for loss of goodwill,
162
+ work stoppage, computer failure or malfunction, or any and all
163
+ other commercial damages or losses), even if such Contributor
164
+ has been advised of the possibility of such damages.
165
+
166
+ 9. Accepting Warranty or Additional Liability. While redistributing
167
+ the Work or Derivative Works thereof, You may choose to offer,
168
+ and charge a fee for, acceptance of support, warranty, indemnity,
169
+ or other liability obligations and/or rights consistent with this
170
+ License. However, in accepting such obligations, You may act only
171
+ on Your own behalf and on Your sole responsibility, not on behalf
172
+ of any other Contributor, and only if You agree to indemnify,
173
+ defend, and hold each Contributor harmless for any liability
174
+ incurred by, or claims asserted against, such Contributor by reason
175
+ of your accepting any such warranty or additional liability.
176
+
177
+ END OF TERMS AND CONDITIONS
178
+
179
+ APPENDIX: How to apply the Apache License to your work.
180
+
181
+ To apply the Apache License to your work, attach the following
182
+ boilerplate notice, with the fields enclosed by brackets "[]"
183
+ replaced with your own identifying information. (Don't include
184
+ the brackets!) The text should be enclosed in the appropriate
185
+ comment syntax for the file format. We also recommend that a
186
+ file or class name and description of purpose be included on the
187
+ same "printed page" as the copyright notice for easier
188
+ identification within third-party archives.
189
+
190
+ Copyright [yyyy] [name of copyright owner]
191
+
192
+ Licensed under the Apache License, Version 2.0 (the "License");
193
+ you may not use this file except in compliance with the License.
194
+ You may obtain a copy of the License at
195
+
196
+ http://www.apache.org/licenses/LICENSE-2.0
197
+
198
+ Unless required by applicable law or agreed to in writing, software
199
+ distributed under the License is distributed on an "AS IS" BASIS,
200
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
201
+ See the License for the specific language governing permissions and
202
+ limitations under the License.
@@ -0,0 +1 @@
1
+ duckling