somatic


Namesomatic JSON
Version 3.0.3 PyPI version JSON
download
home_pageNone
SummaryThe best documentation framework every created.
upload_time2024-04-17 00:13:02
maintainerNone
docs_urlNone
authorNone
requires_python<4.0,>=3.10
licenseGPL-3.0-only
keywords documentation
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            


******

Bravo!  You have received a Mercantilism Diploma in "somatic" from   
the Orbital Convergence University International Air and Water 
Embassy of the Tangerine Planet (the planet that is one ellipse further from
the Sun than Earth's ellipse).

You are now officially certified to include "somatic" in your practice!

Encore! Encore! Encore! Encore!

******


# somatic

---

## description
Started from the shell, "somatic" presents files in the current working    
directory (CWD) that have extension ".S.HTML" (case sensitive).

---		
	
## obtainment
`[xonsh] pip install somatic`

---

## tutorial
`[xonsh] somatic help`

---	


## the shell interface
`[xonsh] somatic`

"somatic" starts on port 20000, or the first avaible port after that.  
 * Running on http://127.0.0.1:20000  

This is the equivalent of:   
`[xonsh] somatic start --port 20000`   

--
  
Alternatively you can add `--static-port` and "somatic"   
stops if the port specified is unavailable.  
`[xonsh] somatic start --port 20000 --static-port`   

--

### This is an example ".S.HTML" file.


```
<pre>
	<h1>This is an example HTML file.</h1>
	<p>
		It really only needs the "pre" tag to    
		look like a reflection of its contents in a browser.   
	</p>   
	<p>
		Tags like "html" and "body" are actually not   
		necessary for rendering HTML in modern browsers.  
	</p>   
	<p>  
		for text to wrap, instead of extending off the page,    
		style "white-space: pre-wrap" can be utilized instead of 
		a "pre" tag like so:
		
		<div style="white-space: pre-wrap"></div>
	</p>
</pre>
```


However, here is the "CSS1Compat" option,   
[https://developer.mozilla.org/en-US/docs/Web/HTML/Quirks_Mode_and_Standards_Mode](https://developer.mozilla.org/en-US/docs/Web/HTML/Quirks_Mode_and_Standards_Mode)   

with scaling based on the browser screen "viewport" of the screen,  
[https://developer.mozilla.org/en-US/docs/Web/HTML/Viewport_meta_tag](https://developer.mozilla.org/en-US/docs/Web/HTML/Viewport_meta_tag)  

and support for UTF-8 characters.    
[http://www.unicode.org/charts](http://www.unicode.org/charts)    
[https://www.w3.org/International/questions/qa-html-encoding-declarations]([https://www.w3.org/International/questions/qa-html-encoding-declarations])     



```
<!doctype html>
<html>
	<head>	
		<meta charset="utf-8" />
		<meta name="viewport" content="width=device-width, initial-scale=1" />
	</head>
	<body>
		<main>
			<article style="white-space: pre-wrap">
				
			
			</article>
		</main>
	</body>
</html>
```

---

## the python3 interface
```
import pathlib
from os.path import dirname, join, normpath
this_folder = pathlib.Path (__file__).parent.resolve ()

import somatic
somatic.start ({
	"extensions": [ 
		'.S.HTML',
		'.$.HTML',
		'.s.HTML',
		'.6.HTML',
		'.jpg', 
		'.png' 
	],
	
	#
	#	This is the node from which the traversal occur.
	#
	"directory": str (this_folder) + "/structures/somatic",
	
	#
	#	This path is removed from the absolute path of share files found.
	#
	"relative path": str (this_folder) + "/structures/somatic",
	
	
	#
	#	The first port to check
	#
	"port": 20000,
	
	#
	#	Whether to check more ports if port is unavailable
	#
	"static port": False,
	
	#
	#	0, 1, 2
	#
	"verbose": 1,
})

import time
while True:
	time.sleep (1000)
```

---

## contacts
BGrace2468@pm.me


            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "somatic",
    "maintainer": null,
    "docs_url": null,
    "requires_python": "<4.0,>=3.10",
    "maintainer_email": null,
    "keywords": "documentation",
    "author": null,
    "author_email": null,
    "download_url": "https://files.pythonhosted.org/packages/5d/4c/fb80df738998b851f3668c15e030c2785d61ca6d416ed50ced4bcc153b5e/somatic-3.0.3.tar.gz",
    "platform": null,
    "description": "\n\n\n******\n\nBravo!  You have received a Mercantilism Diploma in \"somatic\" from   \nthe Orbital Convergence University International Air and Water \nEmbassy of the Tangerine Planet (the planet that is one ellipse further from\nthe Sun than Earth's ellipse).\n\nYou are now officially certified to include \"somatic\" in your practice!\n\nEncore! Encore! Encore! Encore!\n\n******\n\n\n# somatic\n\n---\n\n## description\nStarted from the shell, \"somatic\" presents files in the current working    \ndirectory (CWD) that have extension \".S.HTML\" (case sensitive).\n\n---\t\t\n\t\n## obtainment\n`[xonsh] pip install somatic`\n\n---\n\n## tutorial\n`[xonsh] somatic help`\n\n---\t\n\n\n## the shell interface\n`[xonsh] somatic`\n\n\"somatic\" starts on port 20000, or the first avaible port after that.  \n * Running on http://127.0.0.1:20000  \n\nThis is the equivalent of:   \n`[xonsh] somatic start --port 20000`   \n\n--\n  \nAlternatively you can add `--static-port` and \"somatic\"   \nstops if the port specified is unavailable.  \n`[xonsh] somatic start --port 20000 --static-port`   \n\n--\n\n### This is an example \".S.HTML\" file.\n\n\n```\n<pre>\n\t<h1>This is an example HTML file.</h1>\n\t<p>\n\t\tIt really only needs the \"pre\" tag to    \n\t\tlook like a reflection of its contents in a browser.   \n\t</p>   \n\t<p>\n\t\tTags like \"html\" and \"body\" are actually not   \n\t\tnecessary for rendering HTML in modern browsers.  \n\t</p>   \n\t<p>  \n\t\tfor text to wrap, instead of extending off the page,    \n\t\tstyle \"white-space: pre-wrap\" can be utilized instead of \n\t\ta \"pre\" tag like so:\n\t\t\n\t\t<div style=\"white-space: pre-wrap\"></div>\n\t</p>\n</pre>\n```\n\n\nHowever, here is the \"CSS1Compat\" option,   \n[https://developer.mozilla.org/en-US/docs/Web/HTML/Quirks_Mode_and_Standards_Mode](https://developer.mozilla.org/en-US/docs/Web/HTML/Quirks_Mode_and_Standards_Mode)   \n\nwith scaling based on the browser screen \"viewport\" of the screen,  \n[https://developer.mozilla.org/en-US/docs/Web/HTML/Viewport_meta_tag](https://developer.mozilla.org/en-US/docs/Web/HTML/Viewport_meta_tag)  \n\nand support for UTF-8 characters.    \n[http://www.unicode.org/charts](http://www.unicode.org/charts)    \n[https://www.w3.org/International/questions/qa-html-encoding-declarations]([https://www.w3.org/International/questions/qa-html-encoding-declarations])     \n\n\n\n```\n<!doctype html>\n<html>\n\t<head>\t\n\t\t<meta charset=\"utf-8\" />\n\t\t<meta name=\"viewport\" content=\"width=device-width, initial-scale=1\" />\n\t</head>\n\t<body>\n\t\t<main>\n\t\t\t<article style=\"white-space: pre-wrap\">\n\t\t\t\t\n\t\t\t\n\t\t\t</article>\n\t\t</main>\n\t</body>\n</html>\n```\n\n---\n\n## the python3 interface\n```\nimport pathlib\nfrom os.path import dirname, join, normpath\nthis_folder = pathlib.Path (__file__).parent.resolve ()\n\nimport somatic\nsomatic.start ({\n\t\"extensions\": [ \n\t\t'.S.HTML',\n\t\t'.$.HTML',\n\t\t'.s.HTML',\n\t\t'.6.HTML',\n\t\t'.jpg', \n\t\t'.png' \n\t],\n\t\n\t#\n\t#\tThis is the node from which the traversal occur.\n\t#\n\t\"directory\": str (this_folder) + \"/structures/somatic\",\n\t\n\t#\n\t#\tThis path is removed from the absolute path of share files found.\n\t#\n\t\"relative path\": str (this_folder) + \"/structures/somatic\",\n\t\n\t\n\t#\n\t#\tThe first port to check\n\t#\n\t\"port\": 20000,\n\t\n\t#\n\t#\tWhether to check more ports if port is unavailable\n\t#\n\t\"static port\": False,\n\t\n\t#\n\t#\t0, 1, 2\n\t#\n\t\"verbose\": 1,\n})\n\nimport time\nwhile True:\n\ttime.sleep (1000)\n```\n\n---\n\n## contacts\nBGrace2468@pm.me\n\n",
    "bugtrack_url": null,
    "license": "GPL-3.0-only",
    "summary": "The best documentation framework every created.",
    "version": "3.0.3",
    "project_urls": {
        "GitLab": "https://gitlab.com/offline-money/squash-1/somatic"
    },
    "split_keywords": [
        "documentation"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "5bde55b886714173aa13311d7b36988690ea01342aaf4802ced972205eecee93",
                "md5": "a8225d695bbb1b32a05f8f56b5cb131c",
                "sha256": "53b6b900287571026c145170d2be731e19846acb0f5655de40a56c4b56fa69f9"
            },
            "downloads": -1,
            "filename": "somatic-3.0.3-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "a8225d695bbb1b32a05f8f56b5cb131c",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<4.0,>=3.10",
            "size": 534616,
            "upload_time": "2024-04-17T00:12:52",
            "upload_time_iso_8601": "2024-04-17T00:12:52.398790Z",
            "url": "https://files.pythonhosted.org/packages/5b/de/55b886714173aa13311d7b36988690ea01342aaf4802ced972205eecee93/somatic-3.0.3-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "5d4cfb80df738998b851f3668c15e030c2785d61ca6d416ed50ced4bcc153b5e",
                "md5": "795732f7c791ced1c02bbd33882b0e80",
                "sha256": "35d1e8f9a28798d2a7bab4b7c7d175b39109ea200cd8411ebb097a16e9d0b61b"
            },
            "downloads": -1,
            "filename": "somatic-3.0.3.tar.gz",
            "has_sig": false,
            "md5_digest": "795732f7c791ced1c02bbd33882b0e80",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<4.0,>=3.10",
            "size": 536305,
            "upload_time": "2024-04-17T00:13:02",
            "upload_time_iso_8601": "2024-04-17T00:13:02.989255Z",
            "url": "https://files.pythonhosted.org/packages/5d/4c/fb80df738998b851f3668c15e030c2785d61ca6d416ed50ced4bcc153b5e/somatic-3.0.3.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-04-17 00:13:02",
    "github": false,
    "gitlab": true,
    "bitbucket": false,
    "codeberg": false,
    "gitlab_user": "offline-money",
    "gitlab_project": "squash-1",
    "lcname": "somatic"
}
        
Elapsed time: 0.29160s