Skip to content

Commit

Permalink
convert from poetry to pdm, remove linkml parts
Browse files Browse the repository at this point in the history
  • Loading branch information
sneakers-the-rat committed Apr 3, 2024
1 parent 1bb34ed commit 21dd796
Show file tree
Hide file tree
Showing 16 changed files with 348 additions and 4,135 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -158,3 +158,4 @@ cython_debug/
# and can be added to the global gitignore or merged into this file. For a more nuclear
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
#.idea/
.pdm-python
10 changes: 0 additions & 10 deletions docs/api/linkml/index.md

This file was deleted.

6 changes: 0 additions & 6 deletions docs/api/linkml/ndarraygen.md

This file was deleted.

6 changes: 0 additions & 6 deletions docs/api/linkml/pydanticgen.md

This file was deleted.

6 changes: 0 additions & 6 deletions docs/api/linkml/template.md

This file was deleted.

13 changes: 0 additions & 13 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,29 +2,16 @@

Type and shape validation and serialization for numpy arrays in pydantic models

This package was picked out of [nwb-linkml](https://github.com/p2p-ld/nwb-linkml/), a
translation of the [NWB](https://www.nwb.org/) schema language and data format to
linkML and pydantic models. It's in a hurried and limited form to make it
available for a LinkML hackathon, but will be matured as part of `nwb-linkml` development
as the primary place this logic exists.

It does two primary things:
- **Provide types** - Annotations (based on [npytyping](https://github.com/ramonhagenaars/nptyping))
for specifying numpy arrays in pydantic models, and
- **Generate models from LinkML** - extend the LinkML pydantic generator to create models that
that use the [linkml-arrays](https://github.com/linkml/linkml-arrays) syntax




```{toctree}
:maxdepth: 2
:caption: Contents
:hidden: true
overview
ndarray
linkml
hooks
todo
```
Expand Down
8 changes: 0 additions & 8 deletions numpydantic/linkml/__init__.py

This file was deleted.

189 changes: 0 additions & 189 deletions numpydantic/linkml/ndarraygen.py

This file was deleted.

Loading

0 comments on commit 21dd796

Please sign in to comment.