peptide


Namepeptide JSON
Version 1.0.2 PyPI version JSON
download
home_page
Summaryhealth checks module
upload_time2024-02-02 21:11:09
maintainer
docs_urlNone
author
requires_python>=3.8
licenseGPL 3.0
keywords homeostasis reliability consistency integrity guarantees vows oaths assurances insurances ensurances speed calmness education augmentation enhancement improvements
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            


******

Bravo!  You have received a Medical Diploma in "peptide" from   
the Orbital Convergence University International Air and Water Embassy of the Tangerine Planet.  

You are now officially certified to include "peptide" in your practice.

******

## 🌑 🌘 🌗 🌖 🌕 🌔 🌓 🌒 🌑 
## 🌑 🌒 🌓 🌔 🌕 🌖 🌗 🌘 🌑 
## 🌑 🌘 🌗 🌖 🌕 🌔 🌓 🌒 🌑 

# peptide

---

## 🌊 description
This is a module that can ascertain
the health status of software with
a python3 testing interface.

(It's like a testing framework)
		
---		
		
## ⛵ install
`[ZSH] pip install peptide`

---
	
## 🪸 documentation (this opens a server process that sends HTML)
`[ZSH] peptide shares`
	
---	
	
## 🛟 internal status tests of the module
`[ZSH] peptide internal-status`
	
These checks are run with pypi "body_scan"  
"peptide" is built from a fork of "body_scan"  
("body_scan" checks are written with "unittest")  
	
---

## 🧭 Tutorial
- Checks are started simultaneously, unless "--simultaneous no"</p>
	
### Create a status file (glob pattern "**/status_*.py").
(The glob pattern can be modified with the progammatic python3 interface)
```		
# status_1.py

def check_1 ():
	print ("check 1")
	
def check_2 ():
	print ("check 2")
	
def check_3 ():
	raise Exception ("not 110%")

checks = {
	"check 1": check_1,
	"check 2": check_2,
	"check 3": check_3
}
```
		
### from a directory deeper than the status file "status_1.py"
`[ZSH] peptide status`

This is the equivalent of:
`[ZSH] peptide status --glob-string "**/status_*.py"`


#### The report then should appear like this
```
paths: [
	{
		"path": "../status_1.py",
		"empty": false,
		"parsed": true,
		"stats": {
			"passes": 2,
			"alarms": 1
		},
		"checks": [
			{
				"check": "check 1",
				"passed": true,
				"elapsed": [
					4.054199962411076e-05,
					"seconds"
				]
			},
			{
				"check": "check 2",
				"passed": true,
				"elapsed": [
					1.72930003827787e-05,
					"seconds"
				]
			},
			{
				"check": "check 3",
				"passed": false,
				"exception": "Exception('not 110%')",
				"exception trace": [
					"Traceback (most recent call last):",
					"  File \"/home/veganecology/.local/lib/python3.11/site-packages/peptide/processes/scan/process/keg/check.py\", line 68, in start",
					"    checks [ check ] ()",
					"  File \"<string>\", line 13, in check_3",
					"Exception: not 110%"
				]
			}
		]
	}
]
alarms: [
	{
		"path": "../status_1.py",
		"checks": [
			{
				"check": "check 3",
				"passed": false,
				"exception": "Exception('not 110%')",
				"exception trace": [
					"Traceback (most recent call last):",
					"  File \"/home/veganecology/.local/lib/python3.11/site-packages/peptide/processes/scan/process/keg/check.py\", line 68, in start",
					"    checks [ check ] ()",
					"  File \"<string>\", line 13, in check_3",
					"Exception: not 110%"
				]
			}
		]
	}
]
stats: {
	"alarms": 0,
	"empty": 0,
	"checks": {
		"passes": 2,
		"alarms": 1
	}
}
```
	
---

## 🤿 Advanced Tutorial

It's recommended to run peptide programmatilly.  

An example of this can be found in the "_book/advanced tutorial"  
section of the documentation.

---

## 🏖️ Contacts
bgrace2468@pm.me
	
		
		
	

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "peptide",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": "",
    "keywords": "homeostasis,reliability,consistency,integrity,guarantees,vows,oaths,assurances,insurances,ensurances,speed,calmness,education,augmentation,enhancement,improvements",
    "author": "",
    "author_email": "",
    "download_url": "https://files.pythonhosted.org/packages/f3/10/62a9b613475df64d589a0e61697f6d4f2839d340543bf34a7330e65965ba/peptide-1.0.2.tar.gz",
    "platform": null,
    "description": "\n\n\n******\n\nBravo!  You have received a Medical Diploma in \"peptide\" from   \nthe Orbital Convergence University International Air and Water Embassy of the Tangerine Planet.  \n\nYou are now officially certified to include \"peptide\" in your practice.\n\n******\n\n## \ud83c\udf11 \ud83c\udf18 \ud83c\udf17 \ud83c\udf16 \ud83c\udf15 \ud83c\udf14 \ud83c\udf13 \ud83c\udf12 \ud83c\udf11 \n## \ud83c\udf11 \ud83c\udf12 \ud83c\udf13 \ud83c\udf14 \ud83c\udf15 \ud83c\udf16 \ud83c\udf17 \ud83c\udf18 \ud83c\udf11 \n## \ud83c\udf11 \ud83c\udf18 \ud83c\udf17 \ud83c\udf16 \ud83c\udf15 \ud83c\udf14 \ud83c\udf13 \ud83c\udf12 \ud83c\udf11 \n\n# peptide\n\n---\n\n## \ud83c\udf0a description\nThis is a module that can ascertain\nthe health status of software with\na python3 testing interface.\n\n(It's like a testing framework)\n\t\t\n---\t\t\n\t\t\n## \u26f5 install\n`[ZSH] pip install peptide`\n\n---\n\t\n## \ud83e\udeb8 documentation (this opens a server process that sends HTML)\n`[ZSH] peptide shares`\n\t\n---\t\n\t\n## \ud83d\udedf internal status tests of the module\n`[ZSH] peptide internal-status`\n\t\nThese checks are run with pypi \"body_scan\"  \n\"peptide\" is built from a fork of \"body_scan\"  \n(\"body_scan\" checks are written with \"unittest\")  \n\t\n---\n\n## \ud83e\udded Tutorial\n- Checks are started simultaneously, unless \"--simultaneous no\"</p>\n\t\n### Create a status file (glob pattern \"**/status_*.py\").\n(The glob pattern can be modified with the progammatic python3 interface)\n```\t\t\n# status_1.py\n\ndef check_1 ():\n\tprint (\"check 1\")\n\t\ndef check_2 ():\n\tprint (\"check 2\")\n\t\ndef check_3 ():\n\traise Exception (\"not 110%\")\n\nchecks = {\n\t\"check 1\": check_1,\n\t\"check 2\": check_2,\n\t\"check 3\": check_3\n}\n```\n\t\t\n### from a directory deeper than the status file \"status_1.py\"\n`[ZSH] peptide status`\n\nThis is the equivalent of:\n`[ZSH] peptide status --glob-string \"**/status_*.py\"`\n\n\n#### The report then should appear like this\n```\npaths: [\n\t{\n\t\t\"path\": \"../status_1.py\",\n\t\t\"empty\": false,\n\t\t\"parsed\": true,\n\t\t\"stats\": {\n\t\t\t\"passes\": 2,\n\t\t\t\"alarms\": 1\n\t\t},\n\t\t\"checks\": [\n\t\t\t{\n\t\t\t\t\"check\": \"check 1\",\n\t\t\t\t\"passed\": true,\n\t\t\t\t\"elapsed\": [\n\t\t\t\t\t4.054199962411076e-05,\n\t\t\t\t\t\"seconds\"\n\t\t\t\t]\n\t\t\t},\n\t\t\t{\n\t\t\t\t\"check\": \"check 2\",\n\t\t\t\t\"passed\": true,\n\t\t\t\t\"elapsed\": [\n\t\t\t\t\t1.72930003827787e-05,\n\t\t\t\t\t\"seconds\"\n\t\t\t\t]\n\t\t\t},\n\t\t\t{\n\t\t\t\t\"check\": \"check 3\",\n\t\t\t\t\"passed\": false,\n\t\t\t\t\"exception\": \"Exception('not 110%')\",\n\t\t\t\t\"exception trace\": [\n\t\t\t\t\t\"Traceback (most recent call last):\",\n\t\t\t\t\t\"  File \\\"/home/veganecology/.local/lib/python3.11/site-packages/peptide/processes/scan/process/keg/check.py\\\", line 68, in start\",\n\t\t\t\t\t\"    checks [ check ] ()\",\n\t\t\t\t\t\"  File \\\"<string>\\\", line 13, in check_3\",\n\t\t\t\t\t\"Exception: not 110%\"\n\t\t\t\t]\n\t\t\t}\n\t\t]\n\t}\n]\nalarms: [\n\t{\n\t\t\"path\": \"../status_1.py\",\n\t\t\"checks\": [\n\t\t\t{\n\t\t\t\t\"check\": \"check 3\",\n\t\t\t\t\"passed\": false,\n\t\t\t\t\"exception\": \"Exception('not 110%')\",\n\t\t\t\t\"exception trace\": [\n\t\t\t\t\t\"Traceback (most recent call last):\",\n\t\t\t\t\t\"  File \\\"/home/veganecology/.local/lib/python3.11/site-packages/peptide/processes/scan/process/keg/check.py\\\", line 68, in start\",\n\t\t\t\t\t\"    checks [ check ] ()\",\n\t\t\t\t\t\"  File \\\"<string>\\\", line 13, in check_3\",\n\t\t\t\t\t\"Exception: not 110%\"\n\t\t\t\t]\n\t\t\t}\n\t\t]\n\t}\n]\nstats: {\n\t\"alarms\": 0,\n\t\"empty\": 0,\n\t\"checks\": {\n\t\t\"passes\": 2,\n\t\t\"alarms\": 1\n\t}\n}\n```\n\t\n---\n\n## \ud83e\udd3f Advanced Tutorial\n\nIt's recommended to run peptide programmatilly.  \n\nAn example of this can be found in the \"_book/advanced tutorial\"  \nsection of the documentation.\n\n---\n\n## \ud83c\udfd6\ufe0f Contacts\nbgrace2468@pm.me\n\t\n\t\t\n\t\t\n\t\n",
    "bugtrack_url": null,
    "license": "GPL 3.0",
    "summary": "health checks module",
    "version": "1.0.2",
    "project_urls": {
        "GitLab": "https://gitlab.com/offline-money/squash-1/peptide"
    },
    "split_keywords": [
        "homeostasis",
        "reliability",
        "consistency",
        "integrity",
        "guarantees",
        "vows",
        "oaths",
        "assurances",
        "insurances",
        "ensurances",
        "speed",
        "calmness",
        "education",
        "augmentation",
        "enhancement",
        "improvements"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "17bd2aa241a031c6ef512be2fcac532f37c646ade912b51500233d1469062dc9",
                "md5": "2a52953ef99cd1648590a9ccdd65b93c",
                "sha256": "b81d709288147339cf59755890b6c57c91583c596f22ca0602663aaabbf1eed0"
            },
            "downloads": -1,
            "filename": "peptide-1.0.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "2a52953ef99cd1648590a9ccdd65b93c",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 227229,
            "upload_time": "2024-02-02T21:11:07",
            "upload_time_iso_8601": "2024-02-02T21:11:07.803027Z",
            "url": "https://files.pythonhosted.org/packages/17/bd/2aa241a031c6ef512be2fcac532f37c646ade912b51500233d1469062dc9/peptide-1.0.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "f31062a9b613475df64d589a0e61697f6d4f2839d340543bf34a7330e65965ba",
                "md5": "4d5d1dee88bdca09e46d9b3bc08167f9",
                "sha256": "718d7c1fbf7b280cd7f52ea785e1ed9db14097bb51121aa8a6cd359816a2b07a"
            },
            "downloads": -1,
            "filename": "peptide-1.0.2.tar.gz",
            "has_sig": false,
            "md5_digest": "4d5d1dee88bdca09e46d9b3bc08167f9",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 86585,
            "upload_time": "2024-02-02T21:11:09",
            "upload_time_iso_8601": "2024-02-02T21:11:09.797408Z",
            "url": "https://files.pythonhosted.org/packages/f3/10/62a9b613475df64d589a0e61697f6d4f2839d340543bf34a7330e65965ba/peptide-1.0.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-02-02 21:11:09",
    "github": false,
    "gitlab": true,
    "bitbucket": false,
    "codeberg": false,
    "gitlab_user": "offline-money",
    "gitlab_project": "squash-1",
    "lcname": "peptide"
}
        
Elapsed time: 0.81861s