astronomical


Nameastronomical JSON
Version 1.0.6 PyPI version JSON
download
home_page
Summaryhealth checks module
upload_time2024-01-09 00:02:03
maintainer
docs_urlNone
author
requires_python>=3.8
licenseGPL 3.0
keywords tests guarantees vows oaths assurances insurances ensurances reliability consistency integrity speed calmness
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            

<pre>


<h1>astronomical</h1>

	<h2>description</h2>
		This is a module that can reliably
		ascertain the health status of software.
		
		(It's like a testing kit)
		

	<h2>install</h2>
		[SH] pip install astronomical
	
	<h2>documentation</h2>
		[SH] astronomical shares 
	
	<h2>astronomical of astronomical (the internal astronomical of the astronomical module)</h2>
		<p>These checks are run with pypi "body_scan"</p>
		<p>"astronomical" is a fork of "body_scan"</p>
		<p>("body_scan" checks are written with "unittest")</p>
	
		[SH] astronomical astronomical 
	
	<h2>health checks</h2>
		<p>Checks are started simultaneously, unless "--simultaneous no"</p>
	
		<h3>create a status file</h3>
			
			# 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
			}
					
		
		<h3>start from a directory deeper than the status file "status_1.py"</h3>
			[SH] astronomical status

		<h3>The report then should appear like this:</h3>
		<code>
		
			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/astronomical/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/astronomical/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
				}
			}
		
		</code>
	
	
	<h2>advanced configurations</h2>
	<p>
		It's recommended to run astronomical programmatilly.
		An example of this can be found in the "advanced configurations"
		section of the documentation.
	</p>

	<h2>Contacts</h2>
	<p>status600@proton.me</p>
	
</pre>
		
		
	

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "astronomical",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": "",
    "keywords": "tests,guarantees,vows,oaths,assurances,insurances,ensurances,reliability,consistency,integrity,speed,calmness",
    "author": "",
    "author_email": "",
    "download_url": "https://files.pythonhosted.org/packages/a4/af/e1d7d0488ca0b486662c4bab4c7e355254e88abfc8b54101fd9de76ba62b/astronomical-1.0.6.tar.gz",
    "platform": null,
    "description": "\n\n<pre>\n\n\n<h1>astronomical</h1>\n\n\t<h2>description</h2>\n\t\tThis is a module that can reliably\n\t\tascertain the health status of software.\n\t\t\n\t\t(It's like a testing kit)\n\t\t\n\n\t<h2>install</h2>\n\t\t[SH] pip install astronomical\n\t\n\t<h2>documentation</h2>\n\t\t[SH] astronomical shares \n\t\n\t<h2>astronomical of astronomical (the internal astronomical of the astronomical module)</h2>\n\t\t<p>These checks are run with pypi \"body_scan\"</p>\n\t\t<p>\"astronomical\" is a fork of \"body_scan\"</p>\n\t\t<p>(\"body_scan\" checks are written with \"unittest\")</p>\n\t\n\t\t[SH] astronomical astronomical \n\t\n\t<h2>health checks</h2>\n\t\t<p>Checks are started simultaneously, unless \"--simultaneous no\"</p>\n\t\n\t\t<h3>create a status file</h3>\n\t\t\t\n\t\t\t# status_1.py\n\t\t\t\n\t\t\tdef check_1 ():\n\t\t\t\tprint (\"check 1\")\n\t\t\t\t\n\t\t\tdef check_2 ():\n\t\t\t\tprint (\"check 2\")\n\t\t\t\t\n\t\t\tdef check_3 ():\n\t\t\t\traise Exception (\"not 110%\")\n\n\t\t\tchecks = {\n\t\t\t\t\"check 1\": check_1,\n\t\t\t\t\"check 2\": check_2,\n\t\t\t\t\"check 3\": check_3\n\t\t\t}\n\t\t\t\t\t\n\t\t\n\t\t<h3>start from a directory deeper than the status file \"status_1.py\"</h3>\n\t\t\t[SH] astronomical status\n\n\t\t<h3>The report then should appear like this:</h3>\n\t\t<code>\n\t\t\n\t\t\tpaths: [\n\t\t\t\t{\n\t\t\t\t\t\"path\": \"../status_1.py\",\n\t\t\t\t\t\"empty\": false,\n\t\t\t\t\t\"parsed\": true,\n\t\t\t\t\t\"stats\": {\n\t\t\t\t\t\t\"passes\": 2,\n\t\t\t\t\t\t\"alarms\": 1\n\t\t\t\t\t},\n\t\t\t\t\t\"checks\": [\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\"check\": \"check 1\",\n\t\t\t\t\t\t\t\"passed\": true,\n\t\t\t\t\t\t\t\"elapsed\": [\n\t\t\t\t\t\t\t\t4.054199962411076e-05,\n\t\t\t\t\t\t\t\t\"seconds\"\n\t\t\t\t\t\t\t]\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\"check\": \"check 2\",\n\t\t\t\t\t\t\t\"passed\": true,\n\t\t\t\t\t\t\t\"elapsed\": [\n\t\t\t\t\t\t\t\t1.72930003827787e-05,\n\t\t\t\t\t\t\t\t\"seconds\"\n\t\t\t\t\t\t\t]\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\"check\": \"check 3\",\n\t\t\t\t\t\t\t\"passed\": false,\n\t\t\t\t\t\t\t\"exception\": \"Exception('not 110%')\",\n\t\t\t\t\t\t\t\"exception trace\": [\n\t\t\t\t\t\t\t\t\"Traceback (most recent call last):\",\n\t\t\t\t\t\t\t\t\"  File \\\"/home/veganecology/.local/lib/python3.11/site-packages/astronomical/processes/scan/process/keg/check.py\\\", line 68, in start\",\n\t\t\t\t\t\t\t\t\"    checks [ check ] ()\",\n\t\t\t\t\t\t\t\t\"  File \\\"<string>\\\", line 13, in check_3\",\n\t\t\t\t\t\t\t\t\"Exception: not 110%\"\n\t\t\t\t\t\t\t]\n\t\t\t\t\t\t}\n\t\t\t\t\t]\n\t\t\t\t}\n\t\t\t]\n\t\t\talarms: [\n\t\t\t\t{\n\t\t\t\t\t\"path\": \"../status_1.py\",\n\t\t\t\t\t\"checks\": [\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\"check\": \"check 3\",\n\t\t\t\t\t\t\t\"passed\": false,\n\t\t\t\t\t\t\t\"exception\": \"Exception('not 110%')\",\n\t\t\t\t\t\t\t\"exception trace\": [\n\t\t\t\t\t\t\t\t\"Traceback (most recent call last):\",\n\t\t\t\t\t\t\t\t\"  File \\\"/home/veganecology/.local/lib/python3.11/site-packages/astronomical/processes/scan/process/keg/check.py\\\", line 68, in start\",\n\t\t\t\t\t\t\t\t\"    checks [ check ] ()\",\n\t\t\t\t\t\t\t\t\"  File \\\"<string>\\\", line 13, in check_3\",\n\t\t\t\t\t\t\t\t\"Exception: not 110%\"\n\t\t\t\t\t\t\t]\n\t\t\t\t\t\t}\n\t\t\t\t\t]\n\t\t\t\t}\n\t\t\t]\n\t\t\tstats: {\n\t\t\t\t\"alarms\": 0,\n\t\t\t\t\"empty\": 0,\n\t\t\t\t\"checks\": {\n\t\t\t\t\t\"passes\": 2,\n\t\t\t\t\t\"alarms\": 1\n\t\t\t\t}\n\t\t\t}\n\t\t\n\t\t</code>\n\t\n\t\n\t<h2>advanced configurations</h2>\n\t<p>\n\t\tIt's recommended to run astronomical programmatilly.\n\t\tAn example of this can be found in the \"advanced configurations\"\n\t\tsection of the documentation.\n\t</p>\n\n\t<h2>Contacts</h2>\n\t<p>status600@proton.me</p>\n\t\n</pre>\n\t\t\n\t\t\n\t\n",
    "bugtrack_url": null,
    "license": "GPL 3.0",
    "summary": "health checks module",
    "version": "1.0.6",
    "project_urls": {
        "GitLab": "https://gitlab.com/offline-money/squash-1/astronomical"
    },
    "split_keywords": [
        "tests",
        "guarantees",
        "vows",
        "oaths",
        "assurances",
        "insurances",
        "ensurances",
        "reliability",
        "consistency",
        "integrity",
        "speed",
        "calmness"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "a4afe1d7d0488ca0b486662c4bab4c7e355254e88abfc8b54101fd9de76ba62b",
                "md5": "0d48c9b00c30e02bf4c20cc0c0fdcc8b",
                "sha256": "308a22f301052bf3bc2e5ba985c108f05315ef6ea32cb0c1ce3860a347fb1774"
            },
            "downloads": -1,
            "filename": "astronomical-1.0.6.tar.gz",
            "has_sig": false,
            "md5_digest": "0d48c9b00c30e02bf4c20cc0c0fdcc8b",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 73101,
            "upload_time": "2024-01-09T00:02:03",
            "upload_time_iso_8601": "2024-01-09T00:02:03.247387Z",
            "url": "https://files.pythonhosted.org/packages/a4/af/e1d7d0488ca0b486662c4bab4c7e355254e88abfc8b54101fd9de76ba62b/astronomical-1.0.6.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-01-09 00:02:03",
    "github": false,
    "gitlab": true,
    "bitbucket": false,
    "codeberg": false,
    "gitlab_user": "offline-money",
    "gitlab_project": "squash-1",
    "lcname": "astronomical"
}
        
Elapsed time: 0.64890s