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.8.13.tar.gz (192.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.8.13-cp312-cp312-win_amd64.whl (1.5 MB view details)

Uploaded CPython 3.12Windows x86-64

everysk_lib-1.8.13-cp312-cp312-musllinux_1_2_x86_64.whl (2.5 MB view details)

Uploaded CPython 3.12musllinux: musl 1.2+ x86-64

everysk_lib-1.8.13-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (2.5 MB view details)

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

everysk_lib-1.8.13-cp312-cp312-macosx_11_0_arm64.whl (1.7 MB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

everysk_lib-1.8.13-cp312-cp312-macosx_10_13_x86_64.whl (1.9 MB view details)

Uploaded CPython 3.12macOS 10.13+ x86-64

everysk_lib-1.8.13-cp311-cp311-win_amd64.whl (1.5 MB view details)

Uploaded CPython 3.11Windows x86-64

everysk_lib-1.8.13-cp311-cp311-musllinux_1_2_x86_64.whl (2.1 MB view details)

Uploaded CPython 3.11musllinux: musl 1.2+ x86-64

everysk_lib-1.8.13-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (2.1 MB view details)

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

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

Uploaded CPython 3.11macOS 11.0+ ARM64

everysk_lib-1.8.13-cp311-cp311-macosx_10_9_x86_64.whl (1.8 MB view details)

Uploaded CPython 3.11macOS 10.9+ x86-64

File details

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

File metadata

  • Download URL: everysk_lib-1.8.13.tar.gz
  • Upload date:
  • Size: 192.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.8.13.tar.gz
Algorithm Hash digest
SHA256 8846fae224d42d5cd9caf7febd3773c315f6cfb9dd6941eed064e50990144646
MD5 e58d4494df064c648e0a5c9d0c3d667c
BLAKE2b-256 f59bf7379eee5be01a6c5a96b0fbc36f473a7ead3d93c7998af3fb6884735611

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for everysk_lib-1.8.13-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 e28c1f909afd92f66be8c38c6811383fb26d8bfaf136c0451eecbdf7813a3a95
MD5 4cc109a05452d63471d05c25e5071609
BLAKE2b-256 45b6a8366be7d1fce1b0cf02c42365939ba39a5cc7c395955fe1cee4f859a724

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for everysk_lib-1.8.13-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 d44913c81b34160c778b6b703a89a41e71526eac713f3e9971fe145e8947880b
MD5 5653c9b403b4da7ffe365a9a99de6c84
BLAKE2b-256 aed8106f11b76e58a5a8c9247882b85cc9c6b568b8a57b170e2cb655b58cbb32

See more details on using hashes here.

File details

Details for the file everysk_lib-1.8.13-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.8.13-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 b41f68d15c9fd82f126a56fad05c76b8e2b05e2f69a77cf91c1ba48ba6f96a73
MD5 9478e44619775dfafb55e81cd354f673
BLAKE2b-256 206a86e8a1f75e62f5c00a6f898da34d82d4fe8ede83b4c164efdde1332555df

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for everysk_lib-1.8.13-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 e538fde3181feea8dce9904c8d083194567db69454e2925b42feeb0f15095f9b
MD5 2584c253fb28c49047043b2fdd602f64
BLAKE2b-256 78c06cf309b6758074555212c1c3005a4989864a7b4ba54164722549b67a0626

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for everysk_lib-1.8.13-cp312-cp312-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 b07dc38dfdd7284f359f6e70d4aa83cf0f8d409d1e72341c7eeef69a16ebb80f
MD5 1d4f63350919e5c618738b7dc3ad9b52
BLAKE2b-256 d14d0c0056797835e347220a0ee891f94153d405560fcd0173481a626a7d4c6a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for everysk_lib-1.8.13-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 2723a38beb172c925fe741c61a9c942e10da43be76182b037331faacb6e64764
MD5 ac9d54c31d9a7f4464baa05373264438
BLAKE2b-256 4121c7726130a06ab0ea4fa479eb473ab67e8ce0d90d72b4989a9877035e72ea

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for everysk_lib-1.8.13-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 1803da955bf15a060739bc3ce6478f87d6ccfd84a27f41db5e7ec8757f3acf14
MD5 b031892512fbd1f25420cee485c30735
BLAKE2b-256 1a69fc628c36bbdd7e367febbb59bfe52ef24bc4a7e671179ee4c527495d2271

See more details on using hashes here.

File details

Details for the file everysk_lib-1.8.13-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.8.13-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 7a44fdb7a1494b7092be73a8a28d4e41639f489389b0b380acffcd6e5faaac88
MD5 9f74c0571ad8b3bae244ab6e46baa26e
BLAKE2b-256 dc6360ff3ea65b865462266ee0be62244d86d5a78e2933cb997ce9d8f7bdfc08

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for everysk_lib-1.8.13-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 41f943f5b4ae5768d6725b2d2de36e2ba1c85a139d2e537fc8b29444b2dc60b4
MD5 e7145f3c0a609845338a1129cd6a4e39
BLAKE2b-256 14c9f247ba9dc2fd60c4f4a0392b95560553a9bfd290ce961ce0b4427664bc51

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for everysk_lib-1.8.13-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 378035f7ddc5e904746f37a4733ad33d4443b6f40e3b6146233a051ad81767d2
MD5 8e04ed9bbab0cfb151caadd1aae5fd95
BLAKE2b-256 68b30ae186f1f56b7c2ee22c31e38b3789fa9c4658710c3a15e090a9f6bce819

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