| Name | ramocate JSON |
| Version |
1.0.0.1
JSON |
| download |
| home_page | None |
| Summary | Uses C to get memory functions. |
| upload_time | 2025-09-13 00:55:52 |
| maintainer | None |
| docs_url | None |
| author | None |
| requires_python | >=3.11 |
| license | None |
| keywords |
memory
hardware
c
risky
fun ngl
|
| VCS |
|
| bugtrack_url |
|
| requirements |
No requirements were recorded.
|
| Travis-CI |
No Travis.
|
| coveralls test coverage |
No coveralls.
|
# ramocate
### Uses C to get memory functions. (To do some fun stuff ;] )
## Functions:
### malloc(size: int)
### calloc(size: int)
### realloc(ptr: int, newsize: int)
### free(ptr: int)
## Usage:
### malloc: Allocates memory in blocks on the heap. RETURNS: (SUCCESS: ptr: id, FAIL: "NULL")
### calloc: Allocates memory in blocks on the heap, but sets them all to zero. RETURNS: (SUCCESS: ptr: id, FAIL: "NULL")
### realloc: Englarges or shrinks allocated memory. If newsize is set to 0, it will act like free. RETURNS: (SUCCESS: ptr: id, FAIL: "NULL")
### free: Frees memory at the pointer. RETURNS (SUCCESS: none, FAIL: none)
## WARNING:
### Messing with memory is pretty dangerous and <u>WILL</u> crash and or crash other programs if not used properly.
### Best Practices:
### 1# Don't allocate too much memory (malloc, calloc)
### 2# Don't deallocate more memory than that's in a block (realloc)
### 3# Don't free memory that has not been allocated by malloc, calloc, ect. (Like py objects).
### 4# Don't free memory twice. It <u>WILL</u> crash with SIGABRT (signal abort)
### 4# Don't free random memory. <u>ESPECIALLY</u> with SIP disabled. It <u>WILL</u> crash the other process, or corrupt it!
### Also, you can find the original C library at ramocate/compiledlibs/ramocarec.c, the other ones are the compiled version of it used to comunicate python <-> c on different systems (Mac > .dylib, Linux > .so, Windows > .dll).
Rev 1: (Borne Sanders @ 7/9/25, 8:30 PM)\
Rev 2: (Borne Sanders @ 10/9/25, 10:00 PM)
Raw data
{
"_id": null,
"home_page": null,
"name": "ramocate",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.11",
"maintainer_email": "Borne Sanders <b@matrixsystemsgroup.com>",
"keywords": "memory, hardware, C, risky, fun ngl",
"author": null,
"author_email": "Borne Sanders <b@matrixsystemsgroup.com>",
"download_url": "https://files.pythonhosted.org/packages/5b/9f/fe98e441426cfdc890e42e0ace57a180ef6a94860727632540a8a19b45f5/ramocate-1.0.0.1.tar.gz",
"platform": null,
"description": "# ramocate\n### Uses C to get memory functions. (To do some fun stuff ;] )\n\n## Functions:\n### malloc(size: int)\n### calloc(size: int)\n### realloc(ptr: int, newsize: int)\n### free(ptr: int)\n\n## Usage:\n### malloc: Allocates memory in blocks on the heap. RETURNS: (SUCCESS: ptr: id, FAIL: \"NULL\")\n### calloc: Allocates memory in blocks on the heap, but sets them all to zero. RETURNS: (SUCCESS: ptr: id, FAIL: \"NULL\")\n### realloc: Englarges or shrinks allocated memory. If newsize is set to 0, it will act like free. RETURNS: (SUCCESS: ptr: id, FAIL: \"NULL\")\n### free: Frees memory at the pointer. RETURNS (SUCCESS: none, FAIL: none)\n\n## WARNING:\n### Messing with memory is pretty dangerous and <u>WILL</u> crash and or crash other programs if not used properly.\n### Best Practices:\n### 1# Don't allocate too much memory (malloc, calloc)\n### 2# Don't deallocate more memory than that's in a block (realloc)\n### 3# Don't free memory that has not been allocated by malloc, calloc, ect. (Like py objects).\n### 4# Don't free memory twice. It <u>WILL</u> crash with SIGABRT (signal abort)\n### 4# Don't free random memory. <u>ESPECIALLY</u> with SIP disabled. It <u>WILL</u> crash the other process, or corrupt it!\n\n### Also, you can find the original C library at ramocate/compiledlibs/ramocarec.c, the other ones are the compiled version of it used to comunicate python <-> c on different systems (Mac > .dylib, Linux > .so, Windows > .dll).\n\nRev 1: (Borne Sanders @ 7/9/25, 8:30 PM)\\\nRev 2: (Borne Sanders @ 10/9/25, 10:00 PM)\n",
"bugtrack_url": null,
"license": null,
"summary": "Uses C to get memory functions.",
"version": "1.0.0.1",
"project_urls": null,
"split_keywords": [
"memory",
" hardware",
" c",
" risky",
" fun ngl"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "f133128d9745ea17cdf1812b361845ce41458db4794fdd6a373ace38c63e3ca8",
"md5": "f4b8f3e81fd9a1881dd2b13eb16b82cd",
"sha256": "303e014375ed3aa9b3c357d36214b4c7961b23c43ea57fb0ed14281e2317f359"
},
"downloads": -1,
"filename": "ramocate-1.0.0.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "f4b8f3e81fd9a1881dd2b13eb16b82cd",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.11",
"size": 7507,
"upload_time": "2025-09-13T00:55:51",
"upload_time_iso_8601": "2025-09-13T00:55:51.476390Z",
"url": "https://files.pythonhosted.org/packages/f1/33/128d9745ea17cdf1812b361845ce41458db4794fdd6a373ace38c63e3ca8/ramocate-1.0.0.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "5b9ffe98e441426cfdc890e42e0ace57a180ef6a94860727632540a8a19b45f5",
"md5": "3499641ce5d766ae50d1efb919ad76e8",
"sha256": "30d101ce92e9c5e5e64ec279136b97b4f517c074e1f2de89d4befe9932f76027"
},
"downloads": -1,
"filename": "ramocate-1.0.0.1.tar.gz",
"has_sig": false,
"md5_digest": "3499641ce5d766ae50d1efb919ad76e8",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.11",
"size": 8190,
"upload_time": "2025-09-13T00:55:52",
"upload_time_iso_8601": "2025-09-13T00:55:52.609057Z",
"url": "https://files.pythonhosted.org/packages/5b/9f/fe98e441426cfdc890e42e0ace57a180ef6a94860727632540a8a19b45f5/ramocate-1.0.0.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-09-13 00:55:52",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "ramocate"
}