Skip to main content

Generic lib to share python code on Everysk.

Project description

Everysk Library

Testing CI - Test Security Checks
Package PyPI Latest Release

The Everysk Library is a one-stop solution designed to help our teams and partners streamline workflows and maximize productivity.

Many projects at Everysk rely on multiple endpoints, engines, and utilities to automate workflows, handle entities such as portfolios, datastores, reports, and files, and perform complex calculations. Adopting and maintaining each of these components individually can be both time-consuming and expensive.

To address this challenge, Everysk developed the Everysk Library: a unified Python library that bundles these capabilities into a single, convenient package.

By consolidating essential functionalities — ranging from portfolio creation to workflow automation — Everysk Lib greatly simplifies implementation and ongoing maintenance. This all-in-one toolkit ensures you have everything you need to build powerful, scalable solutions across a variety of Everysk projects.


Table of Contents

Module Structure

Below we have the main directories that you will be working with.

flowchart TB
    EveryskLibrary(["Everysk Library"])
    SDKDir(["sdk"])
    CoreDir(["core"])
    ServerDir(["server"])
    ApiDir(["api"])
    EveryskLibrary --> SDKDir
    EveryskLibrary --> CoreDir
    EveryskLibrary --> ServerDir
    EveryskLibrary --> ApiDir

Installation

To install the Everysk library, you will need to use pip's install command:

  pip install everysk-lib

Verifying the Installation

After installing the library, it's a good practice to verify if the installation was successful. Here is how to achieve this:

1. Open a terminal

2. Start the Python interpreter by typing python and pressing Enter

3. In the Python interpreter, type the following command then press Enter:

  import everysk

If the library has been installed correctly, this command should complete without any errors. If the library is not installed or there's a problem with the installation, Python will raise a ModuleNotFoundError


Documentation

The main documentation of the Everysk Library can be founded here: Everysk Library Documentation


Running Tests

This section provides instructions on how to run tests for the project. There are two scenarios, the first one is running tests in a development environment and the second one is running tests after the library has been installed from PyPI.

Running Tests in Development Environment

In a development environment you can use the provided shell script to run the tests. The script sets up the necessary environment and then run the tests. To execute the tests, open a bash terminal and run the following command.

  ./run.sh tests

Running Tests After the Library is Installed

After the library has been installed in your project from PyPI, you can start running tests using Python's built-in unittest module. To run tests use the following command:

  python3 -m unittest everysk.core.tests

The command uses Python's unittest module as mentioned above as a script, which then runs the test in the everysk.core.tests package.


Running Tests with coverage

Code coverage us a way of measuring how many lines of code are executed while the automated tests are running.

To run tests along with a coverage report, you can use the provided shell script. The script will not only run the tests but also generate a coverage report that shows the percentage of code that was executed during the tests.

This is useful to identify sections of your code that are not being tested and may need additional tests.

1. Open a terminal in your Visual Studio Code environment.

2. Run the following command.

  ./run.sh coverage

This command executes the run.sh script with the coverage argument. The report will be displayed in the terminal after the script completed the tests.

Remember: a high coverage percentage is generally good, but 100% coverage does not ensures that your code is free from bugs or any other problem that might occur in your code. The full coverage just means that all the lines in your code were executed during the tests.


Contributing

Contributions are always welcome and greatly appreciated!

Go to the repository link and click on the Fork button to create your own copy of the everysk library.

Then clone the project in your own local machine by running the command below or using the GitHub Desktop.

  git clone https://github.com/<your-username>/everysk-lib.git everysk-yourusername

This section creates a directory called everysk-yourusername to center all your code.

After that you can change the directory by:

  cd everysk-yourusername

Create the upstream repository which will refer to the main repository that you just forked.

  git remote add upstream https://github.com/Everysk/everysk-lib.git

Now run the following commands to make sure that your clone is up-to-date with main everysk repository

  git checkout main
  git pull upstream main

Shortly after, create a new branch to add your code

  git checkout -b brand-new-feature

The command above will automatically switch to this newly created branch. At this moment your are able to make your modifications to the code and commit locally as you progress.

After all the code changes, you can submit your contribution by pushing the changes to your fork on GitHub:

  git push origin brand-new-feature

The command above ensures that all the modifications that you've made are up-to-date with your current branch.

At the end of this process you will need to make a Pull Request to the main branch.

To achieve this, go to the GitHub page of the project and click on the Pull requests tab, then click on New pull request button.

This will open a new section used to compare branches, now choose your branch for merging into the main branch and hit the Create pull request button.


License

(C) Copyright 2025 EVERYSK TECHNOLOGIES

This is an unpublished work containing confidential and proprietary information of EVERYSK TECHNOLOGIES. Disclosure, use, or reproduction without authorization of EVERYSK TECHNOLOGIES is prohibited.

Date: Jan 2025

Contact: contact@everysk.com

URL: https://everysk.com/




Back to the top

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

everysk_lib-1.9.1.tar.gz (203.7 kB view details)

Uploaded Source

Built Distributions

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

everysk_lib-1.9.1-cp312-cp312-win_amd64.whl (1.7 MB view details)

Uploaded CPython 3.12Windows x86-64

everysk_lib-1.9.1-cp312-cp312-musllinux_1_2_x86_64.whl (2.6 MB view details)

Uploaded CPython 3.12musllinux: musl 1.2+ x86-64

everysk_lib-1.9.1-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (2.6 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64manylinux: glibc 2.28+ x86-64

everysk_lib-1.9.1-cp312-cp312-macosx_11_0_arm64.whl (1.8 MB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

everysk_lib-1.9.1-cp312-cp312-macosx_10_13_x86_64.whl (2.0 MB view details)

Uploaded CPython 3.12macOS 10.13+ x86-64

everysk_lib-1.9.1-cp311-cp311-win_amd64.whl (1.7 MB view details)

Uploaded CPython 3.11Windows x86-64

everysk_lib-1.9.1-cp311-cp311-musllinux_1_2_x86_64.whl (2.2 MB view details)

Uploaded CPython 3.11musllinux: musl 1.2+ x86-64

everysk_lib-1.9.1-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (2.2 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64manylinux: glibc 2.28+ x86-64

everysk_lib-1.9.1-cp311-cp311-macosx_11_0_arm64.whl (1.6 MB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

everysk_lib-1.9.1-cp311-cp311-macosx_10_9_x86_64.whl (1.9 MB view details)

Uploaded CPython 3.11macOS 10.9+ x86-64

File details

Details for the file everysk_lib-1.9.1.tar.gz.

File metadata

  • Download URL: everysk_lib-1.9.1.tar.gz
  • Upload date:
  • Size: 203.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for everysk_lib-1.9.1.tar.gz
Algorithm Hash digest
SHA256 1e49531146217b65a8ca01a9ade4898b229f9400c036bff1070208f7f51cfc37
MD5 05cbe5c390b84f3fdba4693a0d6b4e05
BLAKE2b-256 9d6cb1394de07f7b52bb471787a8a7b98418f50cf93821f5b2b1aa735f2beba8

See more details on using hashes here.

File details

Details for the file everysk_lib-1.9.1-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for everysk_lib-1.9.1-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 beb28af33bc660a94b8d1bef294fd1afc8a8579d644b449d4f30d18c77dbf42e
MD5 996d7b1dd53d607fc27fdae2c1d0defa
BLAKE2b-256 0cf7679ce235285642f5c96534aaaa68ec4727448692f8ac7742b911ce38d0ba

See more details on using hashes here.

File details

Details for the file everysk_lib-1.9.1-cp312-cp312-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for everysk_lib-1.9.1-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 3a2452aa7a64b354a8ddf930a2527e7700eeee74ca5f93a1cf581f3c06cbcc43
MD5 6b16e25486edf25ff6f60fa905757582
BLAKE2b-256 b7ba7dea996c453bf65c1810d9d03b29b2ac5943f424699a53da00d2f7948bba

See more details on using hashes here.

File details

Details for the file everysk_lib-1.9.1-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for everysk_lib-1.9.1-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 4d5ff1d50ab802a9238fd3fd8f35d07d80d4c928a3b3755cc87d8fbdcf40ec54
MD5 83ea48662306cecf90b1a088390c2f8e
BLAKE2b-256 dd3dd347a60a076a03908a40f18b0349c45df980727da680671431d7e009382d

See more details on using hashes here.

File details

Details for the file everysk_lib-1.9.1-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for everysk_lib-1.9.1-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 cb00a19ffef4a86b4a6d8dc3afbabcea90773be8d3edf5a40f9e3026e4d9d9ec
MD5 78d4e125c8d596d167cad2e28979c74c
BLAKE2b-256 52e62f533b08a3cc4d04ce84c8d69dcfa04782583bc8e1c6aa62bef0106e55e9

See more details on using hashes here.

File details

Details for the file everysk_lib-1.9.1-cp312-cp312-macosx_10_13_x86_64.whl.

File metadata

File hashes

Hashes for everysk_lib-1.9.1-cp312-cp312-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 29dbb99bd9a1be5e58e3fc26870d54e393ea3f1b8b254e063abb6621e8e913e7
MD5 6e6e4951fab86bf7ce46a9329c9cb684
BLAKE2b-256 ec6fbaf3a14724899f228c09946991d8dbd5f7cfdc9b3dbe533736350fe9b5c9

See more details on using hashes here.

File details

Details for the file everysk_lib-1.9.1-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for everysk_lib-1.9.1-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 d2c0900900e6a387da3447db69f191c79d3cb4b8aae9dda455df118ee2aadc9e
MD5 bd9ef2593b2b6e4ef73ec4844c3d7b5c
BLAKE2b-256 10f24d31b35e8b06b7b7a12ff717707b09dc53415cfe3a6d962f7d0acc2a9cd6

See more details on using hashes here.

File details

Details for the file everysk_lib-1.9.1-cp311-cp311-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for everysk_lib-1.9.1-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 20407960f0cf81b6e74e9987584ad7ce4494da55afa86bc47f2040a01f5364b9
MD5 d1936b08d5c5e45f6b23da462f6b7e39
BLAKE2b-256 d8806100a25ccb0be728be641351e6bf752af1efdbe6caa80f1f0c0a9713fd26

See more details on using hashes here.

File details

Details for the file everysk_lib-1.9.1-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for everysk_lib-1.9.1-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 63fca4f093da21de986a2435165ace117098bdcf94a59525cfdd6c9e38b11773
MD5 f84241badbb92fab9488db66d6f8e22d
BLAKE2b-256 33c46515bdce167c4375cccbfaea9cbdc8d55d63cce99100ec2ca95c7460f18b

See more details on using hashes here.

File details

Details for the file everysk_lib-1.9.1-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for everysk_lib-1.9.1-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 a21ec20f520513d6a3bc065b5f29a7e8a2bfd996675a9ae4bd26b72bf307adda
MD5 a14c7091c1f0534342742eaebbdb84d1
BLAKE2b-256 046588080b8155bd3520b943b9687fd0e45dff986b38f9b8897c70854340edbc

See more details on using hashes here.

File details

Details for the file everysk_lib-1.9.1-cp311-cp311-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for everysk_lib-1.9.1-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 392160776f32e8b0ffdec88a072f7ae79928358be2fefb74f652f9af25e02973
MD5 7bf0f8d4abc529852d1d31acbcf6038c
BLAKE2b-256 bca3dba4d617d90e8f162ee014774c1ba5033c2f2e4ae3991651ffb043a7ba5f

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