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

This version

1.8.5

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

Uploaded CPython 3.12Windows x86-64

everysk_lib-1.8.5-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.5-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.5-cp312-cp312-macosx_11_0_arm64.whl (1.7 MB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

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

Uploaded CPython 3.11Windows x86-64

everysk_lib-1.8.5-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.5-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.2 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

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

Uploaded CPython 3.11macOS 11.0+ ARM64

everysk_lib-1.8.5-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.5.tar.gz.

File metadata

  • Download URL: everysk_lib-1.8.5.tar.gz
  • Upload date:
  • Size: 190.5 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.5.tar.gz
Algorithm Hash digest
SHA256 d163a731c6d137293fe242f8be7af3c203c33a877b07ec7ab9097a686a3009dd
MD5 78efe109dbee349dad5ae7a40359adc7
BLAKE2b-256 e77774b582e44c4d825bb57e8bc7e51f2f3612bc41a710f380077f671c293333

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for everysk_lib-1.8.5-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 bd062828b2c4895738e07de7491247530ddd1701bb64e19502363bd822803d82
MD5 0b158b42b8e8688a26fd0058f01f7b9f
BLAKE2b-256 aa45b54b3c20da65a419fd8f3d64f1fb64d1a1268e80414bfb90b916d03ea008

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for everysk_lib-1.8.5-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 3480b35cdd9cbefad01b4593b97b49d37b2940b3c23db644d8dfd7dc50eeb9b4
MD5 11ddaa510014c96eb449ce6f19b96066
BLAKE2b-256 7fa3622c3cf6f353fe83a1253e7e7198b37f560b8978b12e004cdc42e8794654

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for everysk_lib-1.8.5-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 18bde1688fb182489a70a4675192842d9c12ebaa9042d130d3261cd11aff3146
MD5 9e82fe775cdd0beb7bfb4a1d95d57cc9
BLAKE2b-256 58cc3406262abb07f396f03b61a58362b6079db191bdf8583ced288387bad384

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for everysk_lib-1.8.5-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 64b2f5e1dab15bd291d72b9488bb45a819b674a7b88b99775c4b92749a89f252
MD5 5a92ca7ec257c4f0d9c39adccbbc0818
BLAKE2b-256 6861ad9768f79e65dfedd4c1e79515610c14325d4f00853ac61c845dfacfc775

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for everysk_lib-1.8.5-cp312-cp312-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 365ae51edd69958904ec6f26c236d32c1a1d2d3b6222493e1e765501c54364f8
MD5 c2a23386850cd941ee994b524bcaf18a
BLAKE2b-256 a2c1d75a0539ab3c2345ce2b996348025ae261c168e7ac6b22fe768e4e8e553b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for everysk_lib-1.8.5-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 4c0d2ac579ff7739db39fbfb83a0f3d529d9d38e5e3c58b13a90539c98495b97
MD5 b1a804b02d400aa4c67886e18f9d2447
BLAKE2b-256 6d758351dbc7eeffcc5938a40c0fd4e39de22667e49b768207b6dfe6d69891fc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for everysk_lib-1.8.5-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 5ce396ff13bc87b5bb0d53b28d50f9577afcccc229029ec56395e5369324b925
MD5 9d77b21dc7b7a04fd56358b58e2fa1b4
BLAKE2b-256 fdbe9bc70a455d4252f7b5a28a538b669e050e190f2e1772829468b912c7e085

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for everysk_lib-1.8.5-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 49014f49590ac05fc40dc258a08d5c48f1ab07868d59e72de408887a4b2f5991
MD5 007a8a7ab8dac03cd74c9a249758d0f0
BLAKE2b-256 e3b9c163604433d8c0cddf09433cbae74d0a01cfd288aaf9c4dc6a12b0752bde

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for everysk_lib-1.8.5-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 dfdd31bf2ed17b1bbba1598e353bc37dbe1946f25ddd1b703f0a8a97e3d8c699
MD5 79758ad37bcf84771aa6386e615b342c
BLAKE2b-256 751fec0ad0c91c5e90682f7341321a8a1dc451f0c88a1e468ee8371ddc635f5c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for everysk_lib-1.8.5-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 a4a5210801a3cdff613fdeece069a4494f9bc371b2da9c077cbb8b444f98b571
MD5 e20489166e052ec0181ecebf2898dc10
BLAKE2b-256 55f2a5a8e23b25e7b17e0e54fc4ec256e5b1e4191f986ed30eb4a6b57dadc446

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