rounder | Python package for rounding floats and complex numbers

 by   nyggus Python Version: 0.7.1 License: MIT

kandi X-RAY | rounder Summary

kandi X-RAY | rounder Summary

rounder is a Python library. rounder has no bugs, it has no vulnerabilities, it has build file available, it has a Permissive License and it has low support. You can install using 'pip install rounder' or download it from GitHub, PyPI.

rounder is a lightweight package for rounding numbers in complex Python objects, such as dictionaries, lists, tuples, and sets, and any complex object that combines any number of such objects in any nested structure; you can also use it for instances of classes whose attributes contain numbers. The code is organized as a Python (Python >= 3.6 is required) package that can be installed from PyPi (pip install rounder), but as it is a one-file package, you can simply download its main module (rounder.py) and use it directly in your project. The package is useful mainly for presentation purposes, but in some cases, it can be useful in other situations as well.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              rounder has a low active ecosystem.
              It has 3 star(s) with 0 fork(s). There are 2 watchers for this library.
              There were 1 major release(s) in the last 6 months.
              There are 1 open issues and 7 have been closed. On average issues are closed in 0 days. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of rounder is 0.7.1

            kandi-Quality Quality

              rounder has no bugs reported.

            kandi-Security Security

              rounder has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.

            kandi-License License

              rounder is licensed under the MIT License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              rounder releases are available to install and integrate.
              Deployable package is available in PyPI.
              Build file is available. You can build the component from source.
              Installation instructions are not available. Examples and code snippets are available.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of rounder
            Get all kandi verified functions for this library.

            rounder Key Features

            No Key Features are available at this moment for rounder.

            rounder Examples and Code Snippets

            rounder
            Pythondot img1Lines of Code : 95dot img1License : Permissive (MIT)
            copy iconCopy
            >>> import rounder as r
            >>> r.signif(1.1212, 3)
            1.12
            >>> r.signif(12.1239112, 5)
            12.124
            >>> r.signif(121212.12, 3)
            121000
            
            
            >>> r.round_object([1.122, 2.4434], 1)
            [1.1, 2.4]
            >>> r.ceil_object([1.1  
            map_object
            Pythondot img2Lines of Code : 33dot img2License : Permissive (MIT)
            copy iconCopy
            >>> xy = {
            ...     "x": [12, 33.3, 45.5, 3543.22],
            ...     "y": [.45, .3554, .55223, .9911],
            ...     "expl": "x and y values"
            ... }
            >>> r.round_object(
            ...     r.map_object(
            ...         lambda x: x**3/(1 - 1/x),
            ...         xy,
            ...   
            Types that ,Immutable types
            Pythondot img3Lines of Code : 14dot img3License : Permissive (MIT)
            copy iconCopy
            >>> x = {1.12, 4.555}
            >>> r.round_object(x)
            {1, 5}
            >>> r.round_object(frozenset(x))
            frozenset({1, 5})
            >>> r.round_object((1.12, 4.555))
            (1, 5)
            >>> r.round_object(({1.1, 1.2}, frozenset({1.444, 2.222})))
            ({  

            Community Discussions

            No Community Discussions are available at this moment for rounder.Refer to stack overflow page for discussions.

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install rounder

            You can install using 'pip install rounder' or download it from GitHub, PyPI.
            You can use rounder like any standard Python library. You will need to make sure that you have a development environment consisting of a Python distribution including header files, a compiler, pip, and git installed. Make sure that your pip, setuptools, and wheel are up to date. When using pip it is generally recommended to install packages in a virtual environment to avoid changes to the system.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            Install
          • PyPI

            pip install rounder

          • CLONE
          • HTTPS

            https://github.com/nyggus/rounder.git

          • CLI

            gh repo clone nyggus/rounder

          • sshUrl

            git@github.com:nyggus/rounder.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link