No project description provided
Project description
How to create a python library with projen
-
run
pj new python --name=kaito_model -
configure
.projenrc.pyby adding belowlicense=None, project_type=ProjectType.LIB, pip=False, venv=False, setuptools=False, poetry=True, poetry_options={ "repository": "https://github.com/MetaSearch-IO/KaitoModelPython.git", }, deps=[ "python@^3.9", ],
Note that python dependency is required by poetry and the version should be at least 3.7
-
run
pj buildto install dependencies and generate artifacts
Bonus
-
How to enforce pre commit actions (for any language)
-
install pre-commit and add pre-commit to deps list.
-
create a pre-commit configuration file
.pre-commit-config.yamlsimilar to below# See https://pre-commit.com for more information # See https://pre-commit.com/hooks.html for more hooks repos: - repo: https://github.com/pre-commit/pre-commit-hooks rev: v3.2.0 hooks: - id: trailing-whitespace - id: end-of-file-fixer exclude: ^\.* # Most dot files managed by projen and are read only - id: check-yaml - id: check-added-large-files
-
run
pre-commit install -
(optional) run
pre-commit autoupdateto update hooks to the latest version
-
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file kaito_model-0.1.1.tar.gz.
File metadata
- Download URL: kaito_model-0.1.1.tar.gz
- Upload date:
- Size: 2.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.2.1 CPython/3.9.14 Darwin/21.6.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fd6f592ff2320d382574d0fc594e980d6cb943ad667c486cba17912a0b0e05aa
|
|
| MD5 |
277cb1c8b2641a909393e78632be518e
|
|
| BLAKE2b-256 |
1168f54340159458e21b98db5f811cf3ed7e1bb5359b19d19d35051079fcbf3b
|
File details
Details for the file kaito_model-0.1.1-py3-none-any.whl.
File metadata
- Download URL: kaito_model-0.1.1-py3-none-any.whl
- Upload date:
- Size: 2.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.2.1 CPython/3.9.14 Darwin/21.6.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0ee1dfc4c6588734f76df8654dc6b49342c87dadd17ae294999879117813e0bd
|
|
| MD5 |
8167ba55c8b8981aea0d60591872ccbb
|
|
| BLAKE2b-256 |
8be07f320db0fab891132e6c3510345aaefdeccd51a1073ec8872a9b55fea342
|