Skip to main content

A nice library.

Project description

CI docs badge Code style: black

python_ml_template

Install actions:

  • pip install ???
  • pre-commit install --install-hooks -t pre-commit -t commit-msg
  • git config branch.master.mergeOptions "--squash
  • Activate gh-pages web

Added:

  • Utest: python -m unittest

  • utest with py coverage: coverage run -m unittest

  • flake8

  • all

  • using pre-commit, added commitizen to pre-commit (remember to pre-commit install --install-hooks -t pre-commit -t commit-msg). This enforces "conventional commits" style: https://www.conventionalcommits.org/en/v1.0.0/#summary To commit, reecommended to pip install commitizen and then commit using: cz c (or cz c --retry if the last one failed).

  • docs from scratch:

    1. Add docs folder and requirements.txt with sphinx and sphinx-rtd-theme
  • Centralized version and metadata. Setup works with very few parameters

  • To enforce squash merging to master, issue git config branch.master.mergeOptions "--squash" (info: https://stackoverflow.com/a/37828622)

  • GH pages action. Make sure that the repo server has publishing enabled, otherwise it will error.

  • Pypi: need a regular and a test account. Create a token for GH actions (if global only need to do this once). Then, in the GH repo, add that token under secrets->pypi. https://pypi.org/manage/account/token/

Ignored for the moment:

TODO:

  • Fix tagging: tags read changelog as a txt, not markdown. So what we actually need is a RELEASE. possible steps?

    1. Remove the -F message from the tag
    2. in the CI runner, for tagged runs, create the CHANGELOG and convert the tag into a release?
    3. Still we need to deploy to pip and conda forge.
  • change docstring style to napoleon. add doctest

  • badges

  • Follow-tags not following tags??

  1. Once tags fixed, start clean repo without other contribs
  2. CML+ Complete ML project
  3. Generalize runner to GPU, home and GitLab

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

aferro_ml_lib-0.7.1.tar.gz (6.9 kB view details)

Uploaded Source

Built Distribution

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

aferro_ml_lib-0.7.1-py3-none-any.whl (9.3 kB view details)

Uploaded Python 3

File details

Details for the file aferro_ml_lib-0.7.1.tar.gz.

File metadata

  • Download URL: aferro_ml_lib-0.7.1.tar.gz
  • Upload date:
  • Size: 6.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.6

File hashes

Hashes for aferro_ml_lib-0.7.1.tar.gz
Algorithm Hash digest
SHA256 edbf7bc93cc9eef5a3cf6878c6d753d6dae53843bebc85d0a7982fab759e09ed
MD5 52c90a125a3dc205e46062987a7b9895
BLAKE2b-256 22e01fc53de31508b51e2348eb21f79a545d886689df5d9e5d9beac06cc3c506

See more details on using hashes here.

File details

Details for the file aferro_ml_lib-0.7.1-py3-none-any.whl.

File metadata

  • Download URL: aferro_ml_lib-0.7.1-py3-none-any.whl
  • Upload date:
  • Size: 9.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.6

File hashes

Hashes for aferro_ml_lib-0.7.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9443a40d9b62d561b895e4d9f33f79c2f4fc7be930e5e12cc5c27a73399ff0bd
MD5 069b4210e0f98f2342c1a80e6c4ed08b
BLAKE2b-256 cfc35afecf1e4ce90eb58d648cc5e80e18f5aac773d099d25f503f349e1b6abb

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