Skip to main content

ECS python implementation

Project description

encosy

Docs

Installation

Using pip

Releases of encosy can be installed using pip::

$ pip install encosy

Source releases and any binaries can be downloaded from the PyPI link.

https://pypi.org/project/encosy/

Using git and poetry

For poetry guide follow this link::

git clone https://github.com/Cruxyu/encosy.git
poetry install

Profiling

CPU

To create a profile.prof

from file_with_app import app
import cProfile
import pstats


def main():
    with cProfile.Profile() as pr:
        app()
    stats = pstats.Stats(pr)
    stats.sort_stats(pstats.SortKey.TIME)
    # stats.print_stats()
    stats.dump_stats("app.prof")


if __name__ == "__main__":
    main()

To see viz of a profile

poetry run python -m snakeviz app.prof

Memory

To test memory run

mprof run app.py  

To see the results run

mprof plot

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

encosy-3.0.0.tar.gz (8.6 kB view details)

Uploaded Source

Built Distribution

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

encosy-3.0.0-py3-none-any.whl (10.6 kB view details)

Uploaded Python 3

File details

Details for the file encosy-3.0.0.tar.gz.

File metadata

  • Download URL: encosy-3.0.0.tar.gz
  • Upload date:
  • Size: 8.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.2 CPython/3.10.9 Linux/5.15.0-1031-azure

File hashes

Hashes for encosy-3.0.0.tar.gz
Algorithm Hash digest
SHA256 9d85f185b079a83c3b8fc6c7b9784254c2ce610c32cb402a95766222aa31bd30
MD5 fd8f4179e89684bae6607e839416e27e
BLAKE2b-256 d44312644cf0bc2ad165e9ad16455b41fa51079f509e1d40d71c61727361bd7b

See more details on using hashes here.

File details

Details for the file encosy-3.0.0-py3-none-any.whl.

File metadata

  • Download URL: encosy-3.0.0-py3-none-any.whl
  • Upload date:
  • Size: 10.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.2 CPython/3.10.9 Linux/5.15.0-1031-azure

File hashes

Hashes for encosy-3.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a85bb2dae16c794b7346de00869d808eb3f87fb3e023ecb5787631c12b4dd2e6
MD5 337d3b7c701711806202f01c06d19f28
BLAKE2b-256 fa307db08e54993e6116f95b5526d5041f3d0ce5357bacea1cdf1c15272800ab

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