Git Product home page Git Product logo

spynepi's Introduction

Spynepi

This is a caching PyPI implementation that can be used as a standalone PyPI server as well as a PyPI cache.

As the name suggests, it is using spyne http://pypi.python.org/pypi/spyne

Requirements

Spynepi uses some subsystems of spyne which requires optional dependencies. And also spynepi uses twisted as wsgi server

Installation

You can get spynepi via pypi:

easy_install spynepi

or you can clone from github:

git clone git://github.com/arskom/spynepi.git

or get the source distribution from one of the download sites and unpack it.

To install from source distribution, you should run its setup script as usual:

python setup.py install

And if you want to make any changes to the spynepi code, it's more comfortable to use:

python setup.py develop

Using Spynepi

You can start spynepi with:

$ spynepi_daemon

You can upload packages with:

$ python setup.py register -r local sdist upload -r spynepi

And you can download packages with:

$ easy_install --user -U -i http://localhost:7789 package

Configuration

Config file for spynepi can be found inside spynepi/const/__init__.py

  • DB_CONNECTION_STRING : Default database for spynepi is sqlite. If you wish to use a different database you can change this line. It must be an sqlalchemy compatiable database connection string

    For detatils please read http://docs.sqlalchemy.org/en/rel_0_7/core/engines.html

    Example: for postgres postgresql://user:password@localhost:5432/database_name

  • FILES_PATH : Path which packages will be stored in default it creates a file named files

  • HOST : Thank you Captain Obvious. Default is 0.0.0.0

  • PORT : Thanks again you're awesome. Default is 7789

  • REPO_NAME: The repository name you will use to upload or download packages in default it is spynepi.

  • TABLE_PREFIX: Prefix for tables which sqlalchemy will create

spynepi's People

Contributors

plq avatar ugurcan377 avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.