Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rustify

library for truly rust developers

The library brings some features of the Rust language to Python, making the development experience more familiar.

Usage

from rustify import Result

result = Result.ok("Hello, World")
print(f"Result: {result.unwrap_or("Goodbye, World")}")

What the library adds

  • Result class — Rust-like error handling
  • Option class — represents an optional value
  • Test system — simple and convenient system
  • Cfg decorator — replacing the #[cfg(...)] attribute

Check wiki

Installation

  1. Clone the repository:
git clone https://github.com/maslina524/rustify
  1. Navigate to the project folder:
cd C:/.../rustify/
  1. Install the library:
pip install .

About

library for truly rust developers

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages