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

Uploaded CPython 3.12Windows x86-64

everysk_lib-1.8.0-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.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.5 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

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

Uploaded CPython 3.12macOS 11.0+ ARM64

everysk_lib-1.8.0-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.0-cp311-cp311-win_amd64.whl (1.5 MB view details)

Uploaded CPython 3.11Windows x86-64

everysk_lib-1.8.0-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.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.1 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

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

Uploaded CPython 3.11macOS 11.0+ ARM64

everysk_lib-1.8.0-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.0.tar.gz.

File metadata

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

File hashes

Hashes for everysk_lib-1.8.0.tar.gz
Algorithm Hash digest
SHA256 ff13e52fd534ec4247ac121a9b80b98322be6dfdfcad876910c0c6fd3cbc7c59
MD5 0cd148179595ffe640cfb8e29d798cf1
BLAKE2b-256 b88beb43c04228c9b0da39f5563528d8d05848e3a55a1e46df8736f0e8decbf5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for everysk_lib-1.8.0-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 4da551e90aa7d9f062682b234a15bbc1d60c471ca633b178f8205e76eee9f3c0
MD5 884778b7c9669e540d7815e31eb47cdd
BLAKE2b-256 a76c9e212d34cc74a0a1f5c611417af03f27ef82c4793cdf49d13bebc6d55f65

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for everysk_lib-1.8.0-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 5cb7b3f34f9008256a4e079fd21c0dd70cb401f2612c133d969fe34688977948
MD5 69e47e4c559be16566500bf53f0613e4
BLAKE2b-256 690534e4ab493d2ff3ce3bd5d9bae2f001380b94d6a1f43a97efbdf11a011e82

See more details on using hashes here.

File details

Details for the file everysk_lib-1.8.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for everysk_lib-1.8.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 571eeb1e621c842b2a00074993a36b33c342f0b1b53b0f239859443b9eeea93a
MD5 3e14991027b29070263712ce0d847417
BLAKE2b-256 846c6b7c284f2d5eccba1bdc4a1ce18193f916b15b4c177858e30bb8c2a21539

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for everysk_lib-1.8.0-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 b6c64e81b4b90f6b0604a4d90eb24a35ad45d2664e14fdb916c5399c03915b76
MD5 3d243a6cdb9c110f622bb0c14da8d1ee
BLAKE2b-256 e9081481c84eff7ff48bce71c94fd02f1b7ab88b4a3fe3838c406d90d058cb03

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for everysk_lib-1.8.0-cp312-cp312-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 3b08d37a4f5e8b47f5e97d710b68d057a5efa6a5e14998cff2ef285f9208d257
MD5 a893abba9f4a159838ace05b22b0780e
BLAKE2b-256 b702baf3e5fa6f0b32c2f982d90b0c2c68a421f161d43db4b40ed9d31ef0a298

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for everysk_lib-1.8.0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 3925d4072ce2959b0454c9c00bb30a90e1af867903f33013cc751c04a7016443
MD5 4e250a9eb86043046242cb1fb769ebe5
BLAKE2b-256 4ba8ff2c4d422e074d846fb4a86bd02d51d26fdeff4a884b1a72283de540d2eb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for everysk_lib-1.8.0-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 f9cd9415e880a8d4d8afde8125da792cf12a5456c666100417eb6466f6987cc6
MD5 50a8e06c3edf831e6145ac342d4b6cc9
BLAKE2b-256 d83fddd7e35c278d3ff2cf4b6a4e503683e508f8fcef1f4e48aae7363f613027

See more details on using hashes here.

File details

Details for the file everysk_lib-1.8.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for everysk_lib-1.8.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 f3da70c3f816446b216149601f25e7fbb4e315bce7c82f7ea2cf4ba7125e2e6b
MD5 77b10a512a151cdfb8e65dd9dc9a8020
BLAKE2b-256 d1369166fdb844bf495dc452218d65a8ef865943e446ee72d22630d34c1871c2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for everysk_lib-1.8.0-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 90fc541babc1a0e4354bc2671c4f039335405ddfd870ff442fad8565d58f4f69
MD5 015a999b8ad67f9c15aea3f201d00711
BLAKE2b-256 9fe5a108800239a9eaf72bfc6874d7071a4d599f04ffb369088626846c7b0c68

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for everysk_lib-1.8.0-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 df8eee64a1efd964e6fb07fcc39aa5bbb7f1e9b65bf3e6add97a1e21cbce108e
MD5 309ef8676c97addd4cb2a08e165ddb0f
BLAKE2b-256 b0373a1f0b73029fea0c40f267d32e9a5148d2a83c983ec9b403220e975efb26

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