semvec/pypi-packages huggingface dataset:
amptrac 0.1
Client for twisted's amp interface to trac
License: MIT

# -*- mode: org -*-

* Amptrac, A Completely Ridiculous Issue Tracker
I wrote this because twistedmatrix.com has a Trac instance full of
valuable data, and Trac has become increasingly annoying over the past
7 years. Amptrac is an attempt to provide a better face on that data.

** How It Works
Amptrac provides an AMP listeners in a Twisted-based server,
and a command-line client.

*** Server
AMP commands in amptrac.responder define the interface for working with
ticket data.

*** Client
XXX

** How To Run It
If you want to develop Frack, the tests can be run via 'trial
amptrac.test'. For running a development server:

# load some test data into an sqlite db
sqlite3 < frack/test/trac_test.sql trac.db

# start the server (the URL here must be the url at which you will
# access the site)
twistd -n amptrac --sqlite_db=trac.db


# After starting the server, you can then
bin/review-tickets
# or
bin/fetch-ticket <id>

Ticket numbers in the test database are: 3312, 5622, 5517, 2723, 4712.
django-privatesite 0.0.2
Django custom admins
License: MIT

django-privatesite
==================

Django custom admins.
Don`t reinvent the bicycle and use django.contrib.admin everywhere.

[![Downloads](https://pypip.in/d/django-privatesite/badge.png)](https://crate.io/packages/django-privatesite)

BENEFITS of django.contrib.admin
--------------------------------

* Used access control from django.contrib.admin
* Used inlines (generic inlines)
* Used fieldsets
* Used filters
* Used Actions
* Delete Confirmation
* Object history
* Pagination
* Widgets for dates, raw id field

INSTALLATION
------------

Install from pypi, with pip::

    pip install django-privatesite


Add ``privatesite`` to ``INSTALLED_APPS``::

    INSTALLED_APPS = ("privatesite", ) + ('django.contrib.admin', ...)
    
Please note, that ``privatesite`` app must be upper
then ``django.contrib.admin app`` in ``INSTALLED_APPS`` list
to overload ``admin/base_site.html`` template
    
USAGE
------------

    from privatesite.admin import CustomAdminSite

    site1 = CustomAdminSite(name="site1", app_name="admin")

    class MyPrivateZone(CustomAdminSite):
        admin_base_template = 'my_zone/base.html'

    site2 = MyPrivateZone(name="zone", app_name="admin")

    personal = CustomAdminSite(name="personal", app_name="admin")

register models now

    from myapp.models import Car, Animal, Human

    site1.register(Car)
    site2.register(Car)
    site2.register(Animal)
    site2.register(Human)
    personal.register(Human)

in urls.py

    urlpatterns += patterns("",
        (r'^manage/admin/', include(site1.urls)),
        (r'^private/admin/', include(site2.urls)),
        (r'^personal/', include(personal.urls)),
    )

And go to see, whats happen.

In template you may use

    {% url 'site1:myapp_car_changeview' %}
    {% url 'site2:myapp_car_change' car_id %}

    {% url 'personal:myapp_human_history' human_id %}

If you want to add custom views, use this helper
https://github.com/ionelmc/django-admin-utils

TODO
------

* don`t work with django-admin-tools now (fix in near future)
* write tests
ucscgenome 0.1
Simple access to the reference genomes at UCSC
License: MIT
Keywords: bioinformatics ucsc data-access genome-analysis

==============================================
Simple access to the reference genomes at UCSC
==============================================

The package allows to easily download and use genomic data at UCSC.
This is essentially a thin "caching" wrapper around the ``twobitreader`` library.

Installation
------------

The simplest way to install the package is via ``easy_install`` or ``pip``::

    $ easy_install ucscgenome

Dependencies
------------

- ``twobitreader``

Usage
-----
The primary usage example is the following::

   from ucscgenome import Genome
   g = Genome('sacCer2')
   print str(g['chrI'][0:100])

On the second line of the above example the following steps are performed:

* The local ``cache directory`` is searched for the pre-downloaded genome data. If the data is readily available, it is opened for reading.
* If there is not cached version of the ``sacCer2`` genome, it is downloaded from the UCSC site to the cache directory.
* The local data is downloaded and stored using the compact `2bit <http://www.its.caltech.edu/~alok/reviews/blatSpecs.html>`_ format.

You can configure the details of the procedure by providing additional options to the ``Genome`` constructor::

   g = Genome('hg19', cache_dir='my_genomes', use_web=False)
   
which means that the genome data is to be searched for in the ``./my_genomes`` directory and in no case should a download be attempted, or::

   g = Genome('hg19', source_url_pattern='http://my.site.com/genomes/%(id)s/%(id)s.2bit')

which means that the genomic data is to be downloaded from your own server rather than UCSD's.

See also
--------

* Report issues and submit fixes at Github: https://github.com/konstantint/ucscgenome

Related packages
----------------

* http://pyucsc.readthedocs.org/
* https://pypi.python.org/pypi/twobitreader
* https://pypi.python.org/pypi/pyfasta
* https://pypi.python.org/pypi/cruzdb
* https://pypi.python.org/pypi/pyliftover