Skip to main content

functional programming library for python

Project description

xfp library prject

A custom functional style library for python.
Github repository HERE

HOW TO CONTRIBUTE

Setup

  • clone the repo
  • install poetry
  • install compatible python version (from 3.11), eg. pyenv install 3.12.3
  • install the project : poetry install
  • set up the git hook scripts (for black): pre-commit install

-> poetry installs xfp package in editable mode, so that xfp is available as a package from anywhere and editable.

Linter / formatter = ruff

Ruff is hooked on pre-commit as linter and formatter.
More here : https://github.com/astral-sh/ruff

Pre-commit

More info : https://pre-commit.com/

CI/CD (Github)

  • Main branch : no pushes, only merges from branches that pass tests
  • github action pytest-action is setup to run pytest on each push
  • TODO : auto deploy to PyPI

HOW TO PUBLISH TO PYPI

By now, pypi credentials (token) have to be configured locally with :
poetry config pypi-token.pypi <token>

To publish locally (from given branch) :
poetry publish

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

xfp-1.0.0b1.tar.gz (8.3 kB view details)

Uploaded Source

Built Distribution

xfp-1.0.0b1-py3-none-any.whl (10.0 kB view details)

Uploaded Python 3

File details

Details for the file xfp-1.0.0b1.tar.gz.

File metadata

  • Download URL: xfp-1.0.0b1.tar.gz
  • Upload date:
  • Size: 8.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.12.2 Darwin/22.6.0

File hashes

Hashes for xfp-1.0.0b1.tar.gz
Algorithm Hash digest
SHA256 2a69a5bd566050ea1f651f041a84218f9f0378673cbacb23c824bd6fedcab09b
MD5 3b85f632a78f5448f00241fe80cb44be
BLAKE2b-256 5f5848b5a397626aec4c7e5a634e8ebfad47ea1b9addae0f98c9e64296059126

See more details on using hashes here.

File details

Details for the file xfp-1.0.0b1-py3-none-any.whl.

File metadata

  • Download URL: xfp-1.0.0b1-py3-none-any.whl
  • Upload date:
  • Size: 10.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.12.2 Darwin/22.6.0

File hashes

Hashes for xfp-1.0.0b1-py3-none-any.whl
Algorithm Hash digest
SHA256 2eb8ecd9590f19db60d73fb206e33a69c87e95d2c3cbe8faf5e009546117f18e
MD5 2f72a262d27a92214a2100f3f9e46f93
BLAKE2b-256 aab80a724b6697654a3610ff86655efee0aae89da52a68de98a71b9e83f1e612

See more details on using hashes here.

Supported by

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