Skip to main content

rustpy-tools

AppVeyor

A useful tool Python module implement in rust-lang.

Installation

pip install rustpy-tools

Quick Start

import rustpy_tools
from rustpy_tools import RegexUtil, AES

rustpy_tools.version
# 0.2.1

RegexUtil.is_match(r'^\w+@\w+$', 'xxx@gamil.com')
# True

message = 'hello, world'
key = 'yrbv8qlrGJsfo28C'
iv = 'TcwqrwsShZ2FfUSi'
rustpy_tools.AES.encrypt(message, key, iv)
# GSk0f16bYJm+SUbd49PBkw==

rustpy_tools.AES.decrypt('GSk0f16bYJm+SUbd49PBkw==', key, iv)
# 'hello, world'

Credit

PyO3

License

rustpy-tools is licensed under the BSD 2-Clause license.

Release files for rustpy-tools 0.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for rustpy-tools 0.2.1
File Size Uploaded
rustpy_tools-0.2.1.tar.gz 7.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for rustpy-tools 0.2.1
File Interpreter ABI Platform
rustpy_tools-0.2.1-cp36-cp36m-macosx_10_7_x86_64.whl CPython 3.6 CPython 3.6 pymalloc macOS 10.7+ x86-64 Details

Total release size: 465.1 kB

Release files / rustpy_tools-0.2.1.tar.gz

Download URL rustpy_tools-0.2.1.tar.gz
Size 7.2 kB
Tags Source
SHA-256 checksum
How to use checksums
344e9c04a864438a4fbed61b41e65a9b84c5ae5cac7501c9b044bacda8def231
BLAKE2b-256 checksum
How to use checksums
c80b575846d6388094712161af9e47c782875ecc61132350118b67e99a5e339e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/0.7.7

Release files / rustpy_tools-0.2.1-cp36-cp36m-macosx_10_7_x86_64.whl

Download URL rustpy_tools-0.2.1-cp36-cp36m-macosx_10_7_x86_64.whl
Size 457.9 kB
Tags CPython 3.6 CPython 3.6 pymalloc macOS 10.7+ x86-64
SHA-256 checksum
How to use checksums
35e8a699811ca3fe0774522cd8586caa410c2099b4c18a66f1bfc88a093ede01
BLAKE2b-256 checksum
How to use checksums
68fb7a4b0598e0f61984e970ae1cfd6d7118d8f019a3556c927ea52583f7a8fe
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/0.7.7

Release history Release notifications | RSS feed

This release

0.2.1 This release

2 release files

0.2.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page