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.12), eg.
pyenv install 3.12.3
- install the project :
poetry install
- set up the git hook scripts (linter / formatter):
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 build && 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.0b3.tar.gz
(8.5 kB
view details)
Built Distribution
xfp-1.0.0b3-py3-none-any.whl
(10.6 kB
view details)
File details
Details for the file xfp-1.0.0b3.tar.gz
.
File metadata
- Download URL: xfp-1.0.0b3.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 | 50f87f089d338f5b2fcad6535593362527fa94bb14227f96a269655a7e127a67 |
|
MD5 | 174df1bf32fa23a8dd37cbec784bd75c |
|
BLAKE2b-256 | c1dcd9e9b07469c9c10fd66fcab669064573c70852a2da224bc8e6a02e9cd858 |
File details
Details for the file xfp-1.0.0b3-py3-none-any.whl
.
File metadata
- Download URL: xfp-1.0.0b3-py3-none-any.whl
- Upload date:
- Size: 10.6 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 | 5e1ece4d1c90ae37dcd7f64390584b3257b08d057bc57c8a83f39ab91f345d5c |
|
MD5 | 012fc9df093cf7e0143bf0cbb9587ef7 |
|
BLAKE2b-256 | 158dcbaed6421ec9bb229fff3d113156e08ce611ffe7b65ace39a485c617b2e2 |