Skip to main content

🚀Omnip: Omni post

Project description

🛑 We are building the basic architecture of omnip, so stay tuned for the initial release.

pcao

Build status Python Version Dependencies Status

Code style: ruff Pre-commit Semantic Versions License Coverage Report

A simple way to use langchain framework.

Quick Start

pip install omnip

Development in local environment

Conda package manager is recommended. Create a conda environment.

conda create -n omnip python==3.10

Activate conda environment and install poetry

conda activate omnip
pip install poetry

Makefile usage

Makefile contains a lot of functions for faster development.

Install all dependencies and pre-commit hooks

Install requirements:

make install

Pre-commit hooks coulb be installed after git init via

make pre-commit-install

Codestyle and type checks

Automatic formatting uses ruff.

make polish-codestyle

# or use synonym
make formatting

Codestyle checks only, without rewriting files:

make check-codestyle

Note: check-codestyle uses ruff and darglint library

Code security

If this command is not selected during installation, it cannnot be used.

make check-safety

This command launches Poetry integrity checks as well as identifies security issues with Safety and Bandit.

make check-safety

Tests with coverage badges

Run pytest

make test

All linters

Of course there is a command to run all linters in one:

make lint

the same as:

make check-codestyle && make test && make check-safety

Docker

make docker-build

which is equivalent to:

make docker-build VERSION=latest

Remove docker image with

make docker-remove

More information about docker.

Cleanup

Delete pycache files

make pycache-remove

Remove package build

make build-remove

Delete .DS_STORE files

make dsstore-remove

Remove .mypycache

make mypycache-remove

Or to remove all above run:

make cleanup

🛡 License

License

This project is licensed under the terms of the MIT license. See LICENSE for more details.

Credits 🚀 Your next Python package needs a bleeding-edge project structure.

This project was generated with P3G

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

omnip-0.0.1.tar.gz (4.6 kB view details)

Uploaded Source

Built Distribution

omnip-0.0.1-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

File details

Details for the file omnip-0.0.1.tar.gz.

File metadata

  • Download URL: omnip-0.0.1.tar.gz
  • Upload date:
  • Size: 4.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.0 CPython/3.11.5 Windows/10

File hashes

Hashes for omnip-0.0.1.tar.gz
Algorithm Hash digest
SHA256 0f8ef9e99c80a6b6486912db46a1f49f590a245e12b92b23e57042e426515ead
MD5 d886e4a6030b66f42c16fcb1d77b2704
BLAKE2b-256 9239683fe91160b5d0fe2528499c95fc1c60e91de2d9ce0867474fec1cf8b67b

See more details on using hashes here.

File details

Details for the file omnip-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: omnip-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 3.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.0 CPython/3.11.5 Windows/10

File hashes

Hashes for omnip-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ff8c18cb8b899ba536a0e541ed167fdd549405f5885f0a959f14dbb59b28020d
MD5 6a7a427600b41cfee8ec0be2c373837f
BLAKE2b-256 3c1ed9e1d90857919ed9177752b28d6a4b8b98644f9002f20e1bc9a9b979b9a5

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page