Skip to main content

Project description

Project description

claude mcp add pubmed --transport http https://pubmed.mcp.claude.com/mcp

Template repository for a library project

Initial set up

pixi run initialize
  • In the link above, replace libraryname with your library's name.
  • Rename the libraryname folder to the name of your library, do not use hyphens, '-', in the name.
  • Replace all instances of libraryname, modulename, and functionname for the names of/in your library (Shift-Cmd-F in VScode).

example event parameter

Development

In addition to any dependencies of your library, the development setup requires quarto the following packages:

conda-forge::jupyter conda-forge::nbconvert conda-forge::quartodoc conda-forge::gh conda-forge::git conda-forge::pip

Version

The only version you need to change is the one in setup.cfg.

Unit tests

Test are put in test/test_modulename.py. Run these and all other test_* files you create by running ./scripts/test.sh.

Creating docs

Use type hits (with the typing module) for code and add this to your settings.json in VScode.

"files.associations": {
    "*.qmd": "quarto"
},
"autoDocstring.docstringFormat": "numpy",
"autoDocstring.startOnNewLine": true,
"autoDocstring.customTemplatePath": "docs/autodoc.mustache",

That lets you can autogenerate doc-strings by typing """ at the top of your functions.

Publishing docs

Docs are published to your github pages site https://{user}.github.io/{libraryname}. The template is set up for the user munch-group, but you can substitute all its instances for your own github user name.

Run all documentation notebooks inplace by running ./docs-run-notebooks.sh. Build and render all documentation by running ./docs-build-render.sh.

Publishing conda package

Once pushed to github the library can be published as a conda package by running ./conda-release.sh.

Publishing the conda package to anaconda requires that you set up a github secret, ANACONDA_TOKEN, that you create on your anaconda.org account.

Library dependencies

Dependencies are managed in pyproject.toml and automatically read by conda-build/meta.yaml.

Entry points

Entry points are defined in pyproject.toml and automatically read by conda-build/meta.yaml.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

munch_group_library-0.1.11.tar.gz (445.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

munch_group_library-0.1.11-py3-none-any.whl (15.8 kB view details)

Uploaded Python 3

File details

Details for the file munch_group_library-0.1.11.tar.gz.

File metadata

  • Download URL: munch_group_library-0.1.11.tar.gz
  • Upload date:
  • Size: 445.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for munch_group_library-0.1.11.tar.gz
Algorithm Hash digest
SHA256 30fe5ea762aefac6f4f3e0fe4e86ee55f5d6b8774e845ce18d1afcaa65c83624
MD5 2764a87fb4c0bdb30f16818c9b4ae402
BLAKE2b-256 9b892c63ee5907146bd44c7c480e051d0270b42e136e59e1f75d346c7ceb8022

See more details on using hashes here.

File details

Details for the file munch_group_library-0.1.11-py3-none-any.whl.

File metadata

File hashes

Hashes for munch_group_library-0.1.11-py3-none-any.whl
Algorithm Hash digest
SHA256 80b877c3d83656c8390fed2fafece9faed746704a81473ecdc3cdb8487491214
MD5 c0341f1d8df4ed2dcbec56c1d9557e4f
BLAKE2b-256 97803abd19c565b5cc5570ec3d3daa864aa01af927b79c869085bb426c251343

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page