Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

radixhopper

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

radixhopper

A Python library for efficient radix-based number system conversions, specializing in cyclic fractions handling, for bases 2 through 36.

  • 0.0.6
  • Source
  • PyPI
  • Socket score

Maintainers
1

✨ RadixHopper ✨

PyPI - Version PyPI - Python Version


🌟 Hop between number bases with ease! 🌟

RadixHopper is a Python library for efficient radix-based number system conversions, specializing in cyclic fractions handling, for bases 2 through 36.

✨ Features

  • 🔢 Convert numbers between bases 2 to 36
  • 🔄 Handle cyclic fractions with grace
  • 🚀 Lightning-fast conversions
  • 🎨 Beautiful CLI interface
  • 🌈 Streamlit web app included

🌠 Installation

Sprinkle some magic into your Python environment:

pip install radixhopper

🎭 Usage

As a library

from radixhopper import BaseConverter, ConversionInput

input_data = ConversionInput(num="3.14", base_from=10, base_to=2)
result = BaseConverter.base_convert(input_data)
print(result)  # Output: 11.0[01000111101011100001]

CLI

radixhopper --num 3.14 --base-from 10 --base-to 2

Web App

Run the Streamlit app:

streamlit run radixhopper/st.py

🌟 Contributing

We welcome contributions! Please check our [Issues](https://github.com/Aarmn the limitless/radixhopper/issues) page for open tasks or suggest new features.

📜 License

radixhopper is distributed under the terms of the MIT license.

✅ TODO

  • Make it an actual pip package
  • Improve data taking in and out structure
  • click

🌠 Star Gazing

   *  .  . *       *    .        .        .   *    ..
  .    *        .   ✨    .      .     *   .         *
    *.   *    .    .    *    .    *   .    .   *
  .   .     *     .   ✨     .        .       .     .
    .    *.      .     .    *    .    *   .    .  *
  *   .    .    .    .      .      .         .    .
    .        .    . ✨      *   .    .   *     *
  .    *     *     .     .    *    .    *   .    .
    .    .        .           .      .        .
  *     .    . *    .     *     .        .     *

Happy hopping! ✨🐰✨

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc