Skip to content

jfindlay/xjfx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

xjfx

Collection of simple utility functions and classes that extend standard library functionality.

Installation

$ pip install xjfx

Development

First-time setup:

$ make setup

Enforce code formatting:

$ make format

Check for errors (build, lint, types, format, tests):

$ make format-check

Create a release

  1. VERSION=<version>
  2. make format format-check test
  3. git tag -a $VERSION -m $VERSION && git tag -ln2 $VERSION && git push github master $VERSION
  4. make build
  5. $ uv venv /tmp/xjfx-test && uv pip install --python /tmp/xjfx-test dist/xjfx-$VERSION-py3-none-any.whl
    $ /tmp/xjfx-test/bin/python -c 'import xjfx ; print(xjfx.__version__)'
  6. uvx twine check dist/xjfx-$VERSION-py3-none-any.whl
  7. uvx twine upload --repository testpypi dist/xjfx-$VERSION-py3-none-any.whl
  8. $ uv venv /tmp/xjfx-test && uv pip install --python /tmp/xjfx-test \
        --index-url https://test.pypi.org/simple/ xjfx==$VERSION
    $ /tmp/xjfx-test/bin/python -c 'import xjfx ; print(xjfx.__version__)'
  9. uvx twine upload --repository pypi dist/xjfx-$VERSION-py3-none-any.whl
  10. $ uv venv /tmp/xjfx-test && uv pip install --python /tmp/xjfx-test \
        --index-url https://test.pypi.org/simple/ xjfx==$VERSION
    $ /tmp/xjfx-test/bin/python -c 'import xjfx ; print(xjfx.__version__)'

About

Collection of simple utility functions and classes that extend standard library functionality.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors