semvec/pypi-packages huggingface dataset:
waldo 0.1
Protein Subcellular Location Information Package
License: MIT

Waldo: Where Proteins Are
-------------------------

Waldo tells what everyone already knows.

We have a manuscript in preparation. If you use this in a publication, please
let us know so we can (to the best of our knowledge), give you the right
citation.

Installation
............

Dependencies
~~~~~~~~~~~~

- python
- lxml
- sqlalchemy
- bottle

bottle is only needed if wish to run the web application (i.e., if you only
using the local programming API, then you can skip this step).

Under a debian or Ubuntu system, the following commands will install all needed
packages::

    sudo apt-get install python-lxml
    sudo apt-get install python-sqlalchemy
    sudo apt-get install python-bottle

Installation
~~~~~~~~~~~~

You can run the ``install.sh`` file to get everything working::

    ./install.sh

The individual steps are::

    python setup.py install

This is the standard Python installation command. In order to start using
waldo, you need to download all the database files and build the index. The
utility script ``update-waldo`` should accomplish this::

    update-waldo --user
    update-waldo
    update-waldo --datadir /path/to/datadir --database database.sqlite3

There are three variations (shown above):

1. ``--user`` (the default for ``install.sh``) installs waldo locally for this
   user (under ``$HOME/.local/share/waldo``)
2. Without an argument, it installs it system-wide (you need to have write
   access to ``/var/lib/waldo``
3. You can specify exactly where to store the data.

The ``datadir`` is where waldo will store the downloaded information. It
defaults to ``/var/lib/waldo/data``. You can also specify where to store the
database file (default is ``/var/lib/waldo/waldo.sqlite3``).

Additionally, you can use the ``--unsafe`` flag to speed up the indexing, but
if you interrupt the process, the database may be broken::

    update-waldo --user --unsafe

Running the Webapp
..................

If you have installed waldo as above, you should execute::

    python woof/woof.py

Links
.....

- documentation: http://waldo.readthedocs.org/en/latest/
- github: https://github.com/luispedro/waldo
pdfserenitynow 0.6.7
Create TIFs and JPGs from crappy PDFs
License: MIT
Keywords: pdf print converter tiff jpg

PDF Serenity Now
==========================

PDF Serenity Now was born from our increasing contact with annoying PDFs. The
biggest culprits are multi-layered PDFs and PDFs with large pictures or 
graphics embedded in them which take forever to print, if you can get them to 
print at all. We created the original script to convert these PDFs to a more 
printer-friendly format (for the KIP series of plotters), namely flattened 
TIF Group 4.

At this time, it converts a single-page or multi-page PDF to a folder of TIFs. 
It handles large, crappy, multi-layer PDFs if you have enough RAM. `Poppler`_ 
and `Imagemagick`_ do all of the hard work.

In the future it will be smarter about converting, and offer more target
formats (JPG, PDF). The ultimate goal is a service where users can 
upload/submit a crappy PDF and get a nice set of TIFs or JPGs or a fixed PDF 
returned to them. It will have a control panel where you can monitor and 
manipulate conversions in progress or in a queue.

Credits
-------

- `Poppler`_
- `Imagemagick`_

.. _`Poppler`: http://poppler.freedesktop.org/
.. _`Imagemagick`: http://www.imagemagick.org/


News
====

0.6.6
-----
*Release Date: 2013-01-15*

* Fixed many import and Python3 errors
* Added command line switch to preserve intermediate PS files (default is delete)
* Mucho code cleanup and extra error checking

Usage: serenifypdf <pdf_file> [<output_dpi>] [--preserve-ps]

0.5
---
*Release Date: 2013-01-14*

* Removed pyPdf since it is a dead project and not Python3 ready.

0.4
---
*Release Date: 2013-01-14*

* Changed to a two step conversion process: PDF -> postscript -> TIF
* Split out serenifypdf, pdfbursttops, and psconverttotif into separate modules
* Can only convert one PDF (but multiple pages) at a time
* PS file and TIF file locations are standardized based on PDF file name
* Removed Python 2.6 and Python 2.7 support (Python 3.2 and 3.3 only now)

Usage: serenifypdf <pdf_file> [<output_dpi>]

0.3
---
*Release Date: None*

* Switched to Poppler for splitting PDFs
* Added pdfbursttops script for splitting PDFs (using Poppler)

0.2
---

*Release Date: 2011-09-02*

* Switched to MIT License
* Added command line argument for DPI
* Added Python 2.6 compatability

0.1
---

*Release date: 2011-09-01*

Produce print-quality TIFFs and JPGs from a directory of PDFs.

* Works on multilayer PDFs and some types of bad vectors
* Each page of a multipage PDF will become one TIFF
* tif_dir must exist before running script
* Hard-coded values for output file format and DPI
* ImageMagic (convert) must be installed and on your system path
 
Usage: serenifypdf <pdf_dir> <tif_dir>
memoize 1.0.0
Create properties that are only computed the first time they are called.
License: MIT

Memoize
=======

Only compute the value of properties the first time they are called. The easiest way to explain it is by example.

Bad::

  class Foo(object):
      def __init__(self):
          self._bar_cache = None
  
      @property
      def bar(self):
          if self._bar_cache is None:
              self._bar_cache = 2 * 2 * 2
          return self._bar_cache


Good::

  from memoize import mproperty
  
  class Foo(object):
      @mproperty
      def bar(self):
          return 2 * 2 * 2