Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Convert this repo into a python library #1

Open
dylanmcreynolds opened this issue Apr 24, 2024 · 0 comments
Open

Convert this repo into a python library #1

dylanmcreynolds opened this issue Apr 24, 2024 · 0 comments
Assignees

Comments

@dylanmcreynolds
Copy link
Contributor

dylanmcreynolds commented Apr 24, 2024

This is a great a start.

Let's turn this into an installable library. This will allow us to, say, pip install . and bring in the dependencies needed to run through the examples that you outlined in the README. With the structure I outline, those dependencies will go in pyproject.toml.

I set it up imagining that there will be more converter type functions in the future.

Take a look at this page.

I can imagine a structure something like: (edited)

mwet_schemas/
├── LICENSE
├── pyproject.toml
├── README.md
├── src/
│ └── mwet_schemas
│ ├── init.py
│ ├── converters.py
│ └── nmr
│ ├── init.py
│ ├── nmr_schema.yaml
│ ├── nmr_scicat.py

└── _tests/
└── test_converters.py
└── test_nmr.py

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants