Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Lynet101/Mojo_community-lib
A community driven mojo lib
https://github.com/Lynet101/Mojo_community-lib
Last synced: 2 months ago
JSON representation
A community driven mojo lib
- Host: GitHub
- URL: https://github.com/Lynet101/Mojo_community-lib
- Owner: Lynet101
- License: mit
- Archived: true
- Created: 2023-09-09T14:44:00.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-10-02T08:10:10.000Z (over 1 year ago)
- Last Synced: 2024-02-11T18:45:54.687Z (12 months ago)
- Language: Python
- Size: 71.3 KB
- Stars: 46
- Watchers: 5
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-mojo - Mojo_community-lib - Community based effort to create libraries/utilities in Mojo🔥. (🗂️ Libraries / Advent of Code 2023)
README
**As of 02/10/2023 this repo will become archived. Please contact [email protected] if you wish for the repository to become unarchived again**
# Mojo_community-lib
> Community based effort to create libraries/utilities in [Mojo🔥](https://docs.modular.com/mojo/)
## In progress
- magiclist | rd4com
- Quicksort | Lynet101
- shims | ish
- native sockets | TeamPuzel
# hyperlinks and informations
### [Algorithms/bubble sort](https://github.com/Lynet101/Mojo_community-lib/tree/main/Algorithms/Bubblesort)
### [DynArrayClassic](https://github.com/Lynet101/Mojo_community-lib/blob/main/DataStructures/DArrayClassic/array.mojo)
### [ish/shims](https://github.com/lsh/shims)
- [X] bitcasting read/write with endian choice
- [x] Directory path list files
- [x] siphash/wyhash
- [x] file read/write with buffered reader/writer
- [x] libc: dirent, string, stdio!
- [ ] more to come
### [magiclist](https://github.com/rd4com/mojo-magiclist)
> untyped list
- [x] conversions both ways native-types/builtin.object
- [x] builtin.object type checking
- [x] typed value based deletion in multi type array
- [x] index based read write with type switching
### [console-style](https://github.com/rd4com/mojo-console-style-print)
- [x] ansi color/style
### [IO/c-utilities](https://github.com/Lynet101/Mojo_community-lib/blob/main/IO/c-utilities.mojo)
naïve c interop to improve but it works
- [X] read file into string
``` var res:String = CUTIL.read_file("test.txt") ```
- [X] Execute command into string
``` var res:String = CUTIL.exec("ls -lah") ```
### [template python wrapper](https://github.com/Lynet101/Mojo_community-lib/blob/main/IO/snippets/generic_python_wrapper.mojo)
## Ideas
- make tuple
- make dictionary
- python -> mojo type conversion
- object arithmetic implementations, like ``__pow__`` and ``__truediv__``
- better python library import