Skip to main content

Ortogonal polynomials in the unit sphere

Project description

Polyharmonics

PyPI Python Version Dependencies Status

Code style: ruff Security: bandit Pre-commit Semantic Versions License Coverage Report

Ortogonal Polynomials in the unit sphere.

Quick start

Conda package manager is recommended. Create a conda environment.

conda create -n polyharmonics python==3.10

Activate conda environment

conda activate polyharmonics

Install the package

pip install polyharmonics

Then you can run the client using the following command:

polyharmonics --help

Or with Poetry:

poetry run polyharmonics --help

Makefile usage

Makefile contains a lot of functions for faster development.

Install all dependencies and pre-commit hooks

Install requirements:

make install

Pre-commit hooks coulb be installed after git init via

make pre-commit-install

Codestyle and type checks

Automatic formatting uses ruff.

make polish-codestyle

# or use synonym
make formatting

Codestyle checks only, without rewriting files:

make check-codestyle

Note: check-codestyle uses ruff and darglint library

Tests with coverage badges

Run pytest

make test

All linters

Of course there is a command to run all linters in one:

make lint

the same as:

make check-codestyle && make test && make check-safety

Cleanup

Delete pycache files

make pycache-remove

Remove package build

make build-remove

Delete .DS_STORE files

make dsstore-remove

Remove .mypycache

make mypycache-remove

Or to remove all above run:

make cleanup

📈 Releases

You can see the list of available releases on the GitHub Releases page.

We follow Semantic Versions specification.

We use Release Drafter. As pull requests are merged, a draft release is kept up-to-date listing the changes, ready to publish when you’re ready. With the categories option, you can categorize pull requests in release notes using labels.

List of labels and corresponding titles

Label Title in Releases
enhancement, feature 🚀 Features
bug, refactoring, bugfix, fix 🔧 Fixes & Refactoring
build, ci, testing 📦 Build System & CI/CD
breaking 💥 Breaking Changes
documentation 📝 Documentation
dependencies ⬆️ Dependencies updates

You can update it in release-drafter.yml.

GitHub creates the bug, enhancement, and documentation labels for you. Dependabot creates the dependencies label. Create the remaining labels on the Issues tab of your GitHub repository, when you need them.

🛡 License

License

This project uses the BSD-3-Clause license. See LICENSE for more details.

📃 Citation

@misc{polyharmonics,
  author = {Iván Salido Cobo},
  title = {Ortogonal Polynomials in the unit sphere.},
  year = {2024},
  publisher = {GitHub},
  journal = {GitHub repository},
  howpublished = {\url{https://github.com/ComicIvans/polyharmonics}}
}

Credits 🚀 Your next Python package needs a bleeding-edge project structure.

This project was generated with python-package-template

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

polyharmonics-0.8.1.tar.gz (20.7 kB view details)

Uploaded Source

Built Distribution

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

polyharmonics-0.8.1-py3-none-any.whl (28.7 kB view details)

Uploaded Python 3

File details

Details for the file polyharmonics-0.8.1.tar.gz.

File metadata

  • Download URL: polyharmonics-0.8.1.tar.gz
  • Upload date:
  • Size: 20.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.10.12 Linux/6.8.0-76060800daily20240311-generic

File hashes

Hashes for polyharmonics-0.8.1.tar.gz
Algorithm Hash digest
SHA256 0a647bd315a8928d1b2ed470d7c701c96e08c3044f7fb93327879294b53e66d1
MD5 1382188d57ecfe5b760facfe7fb9c620
BLAKE2b-256 a74ce24c225ab4d8a7ffa0f078173f1f3298eadb834ab1f2e12b09642f7053b7

See more details on using hashes here.

File details

Details for the file polyharmonics-0.8.1-py3-none-any.whl.

File metadata

  • Download URL: polyharmonics-0.8.1-py3-none-any.whl
  • Upload date:
  • Size: 28.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.10.12 Linux/6.8.0-76060800daily20240311-generic

File hashes

Hashes for polyharmonics-0.8.1-py3-none-any.whl
Algorithm Hash digest
SHA256 910f5b05b4f730696c5b095c83cf01db7263f56cc20516444cf8e78fff5ba257
MD5 85b8a7797bc374632fe39e265da3a89a
BLAKE2b-256 e01b6e841602e1c837b412a592bd2ef331a5800c158d94766ebfe9543f4f1e57

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