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
Release history Release notifications | RSS feed
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.0b2.tar.gz
(8.5 kB
view details)
Built Distribution
xfp-1.0.0b2-py3-none-any.whl
(10.5 kB
view details)
File details
Details for the file xfp-1.0.0b2.tar.gz
.
File metadata
- Download URL: xfp-1.0.0b2.tar.gz
- Upload date:
- Size: 8.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.2 CPython/3.12.2 Darwin/22.6.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 85807e4bce2b70ac0846229eed07e2b036ab9b140723eac8240be50299f92a7b |
|
MD5 | 49560e9be0c9ff7bb4535273ddf1ab53 |
|
BLAKE2b-256 | 0e5dcac9f32733f18701bd5c05a979d740fd31042b4541ec1526c92bccc6e5da |
File details
Details for the file xfp-1.0.0b2-py3-none-any.whl
.
File metadata
- Download URL: xfp-1.0.0b2-py3-none-any.whl
- Upload date:
- Size: 10.5 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
Algorithm | Hash digest | |
---|---|---|
SHA256 | b3fd774e3a92fa1f3e529103831eea8563218fba94d838346d1780460a157832 |
|
MD5 | c4e64da88fc06e98b983eae502ce1599 |
|
BLAKE2b-256 | 883ee69342a21a75af8747cefbeb878ef33ababfe8c397b4d9f5b2316c67d065 |