ZeroIntensity/pointers.py

★ 934⑂ 11

Bringing the hell of pointers to Python.

About ZeroIntensity/pointers.py

ZeroIntensity/pointers.py is an open-source project on GitHub, mainly written in Python. Bringing the hell of pointers to Python. It currently holds 934 stars and 11 forks with 0 open issues, and was last pushed on an unknown date (repository created unknown).

Project Overview

AI Homed tracks it on the Today's Trending board.

GitHub Repository Details

Repository ZeroIntensity/pointers.py · default branch - · size 0 KB · watchers 0 · source: GitHub REST API and repository README

README

pointers.py

Tests

Bringing the hell of pointers to Python

Why would you ever need this

Examples

```py from pointers import _ text: str = "hello world" ptr = _&text # creates a new pointer object ptr <<= "world hello" print(text) # world hello ``` ```py from pointers import c_malloc, c_free, strcpy, printf ptr = c_malloc(3) strcpy(ptr, "hi") printf("%s\n", ptr) # hi c_free(ptr) ``` ```py from pointers import malloc, free my_str = malloc(103) my_str <<= "hi" second_str = my_str[51] second_str <<= "bye" print(*my_str, *second_str) # hi bye free(my_str) ```

Features

Why does this exist?

The main purpose of pointers.py is to simply break the rules of Python, but has some other use cases:

Installation

Linux/macOS

``` python3 -m pip install -U pointers.py ```

Windows

``` py -3 -m pip install -U pointers.py ```

GitHub Stars & Activity

934Stars
11Forks
0Open issues
PythonLanguage

GitHub Popularity

GitHub stars934
Forks11
Open issues0
Primary languagePython
License-
Stars gained today0
Created-
Last pushed-

Trending History

Trending statusnot on today's boards

Related AI Projects

1

Significant-Gravitas / AutoGPT

Python★ 187,469⑂ 46,006▲ 27 stars
→
2

docling-project / docling

Python★ 67,466⑂ 4,869▲ 585 stars
→
3

openai / openai-python

Python★ 31,666⑂ 5,904▲ 6 stars
→
4

harvard-edge / cs249r_book

Python★ 28,390⑂ 3,591▲ 28 stars
→
5

browser-use / browser-harness

Python★ 17,893⑂ 1,750▲ 87 stars
→
6

FareedKhan-dev / train-llm-from-scratch

Python★ 10,474⑂ 1,450▲ 265 stars
→
7

zhouxiaoka / autoclip

Python★ 7,934⑂ 1,551▲ 395 stars
→
8
→

More AI Rankings