dumb-pypi | PyPI generator , backed entirely by static files

 by   chriskuehl Python Version: 1.15.0 License: Non-SPDX

kandi X-RAY | dumb-pypi Summary

kandi X-RAY | dumb-pypi Summary

dumb-pypi is a Python library. dumb-pypi has no bugs, it has no vulnerabilities, it has build file available and it has low support. However dumb-pypi has a Non-SPDX License. You can install using 'pip install dumb-pypi' or download it from GitHub, PyPI.

The main difference between dumb-pypi and other PyPI implementations is that dumb-pypi has no server component. It's just a script that, given a list of Python package names, generates a bunch of static files which you can serve from any webserver, or even directly from S3. There's something magical about being able to serve a package repository entirely from a tree of static files. It's incredibly easy to make it fast and highly-available when you don't need to worry about running a bunch of application servers (which are serving a bunch of read-only queries that could have just been pre-generated). Linux distributions have been doing this right for decades. Debian has a system of hundreds of mirrors, and the entire thing is powered entirely by some fancy rsync commands.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              dumb-pypi has a low active ecosystem.
              It has 87 star(s) with 11 fork(s). There are 6 watchers for this library.
              There were 1 major release(s) in the last 12 months.
              There are 3 open issues and 17 have been closed. On average issues are closed in 100 days. There are 1 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of dumb-pypi is 1.15.0

            kandi-Quality Quality

              dumb-pypi has 0 bugs and 0 code smells.

            kandi-Security Security

              dumb-pypi has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              dumb-pypi code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              dumb-pypi has a Non-SPDX License.
              Non-SPDX licenses can be open source with a non SPDX compliant license, or non open source licenses, and you need to review them closely before use.

            kandi-Reuse Reuse

              dumb-pypi releases are not available. You will need to build from source code and install.
              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 has reviewed dumb-pypi and discovered the below as its top functions. This is intended to give you an instant insight into dumb-pypi implemented functionality, and help decide if they suit your requirements.
            • Build repository
            • Return the JSON information for this upload
            • Wrapper around atomic write
            • Return the input as a dictionary
            • Generate the URL for the file
            • Format a datetime
            • Given a list of package files return the metadata for the latest version
            • Return the list of installed packages
            • Create a set of packages
            • Reads lines from a file
            • Remove the extension from the name
            • Guess the name and version of the package
            • Create a new Package instance
            • Key for sorting
            • Convert a string to natural key
            • Format the upload time
            • List package names from a JSON file
            Get all kandi verified functions for this library.

            dumb-pypi Key Features

            No Key Features are available at this moment for dumb-pypi.

            dumb-pypi Examples and Code Snippets

            Usage,Recommended nginx config
            Pythondot img1Lines of Code : 10dot img1License : Non-SPDX (NOASSERTION)
            copy iconCopy
            def normalize(name):
                return re.sub(r'[-_.]+', '-', name).lower()
            
            server {
                location / {
                    root /path/to/index;
                    set_by_lua $canonical_uri "return string.gsub(string.lower(ngx.var.uri), '[-_.]+', '-')";
                    try_files $uri $uri  
            Usage,Generating static files
            Pythondot img2Lines of Code : 9dot img2License : Non-SPDX (NOASSERTION)
            copy iconCopy
            dumb-init-1.1.2.tar.gz
            dumb_init-1.2.0-py2.py3-none-manylinux1_x86_64.whl
            ocflib-2016.10.31.0.40-py2.py3-none-any.whl
            pre_commit-0.9.2.tar.gz
            
            $ dumb-pypi \
                --package-list my-packages \
                --packages-url https://my-pypi-packages.s3.amazonaws.com  

            Community Discussions

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

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

            Vulnerabilities

            No vulnerabilities reported

            Install dumb-pypi

            You can install using 'pip install dumb-pypi' or download it from GitHub, PyPI.
            You can use dumb-pypi 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

            Thanks for contributing! To get started, run make venv and then . venv/bin/activate to source the virtualenv. You should now have a dumb-pypi command on your path using your checked-out version of the code. To run the tests, call make test. To run an individual test, you can do py.test -k name_of_test tests (with the virtualenv activated).
            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 dumb-pypi

          • CLONE
          • HTTPS

            https://github.com/chriskuehl/dumb-pypi.git

          • CLI

            gh repo clone chriskuehl/dumb-pypi

          • sshUrl

            git@github.com:chriskuehl/dumb-pypi.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