papyrus_tilecache
papyrus_tilecache provides an easy and convenient method for embeding TileCache in Pyramid applications.
Install
papyrus_tilecache can be installed with easy_install:
$ easy_install papyrus_tilecache
Often you’ll want to make papyrus_tilecache a dependency of your Pyramid application, which is done by adding papyrus_tilecache to the install_requires list defined in the Pyramid application’s setup.py file.
Embed TileCache
Embeding TileCache in a Pyramid application is easy.
Edit the application’s development.ini file and, in the main section ([app:]), set tilecache.cfg to the location of the TileCache config file. Example:
[app:MyApp] use = egg:MyApp ... tilecache.cfg = %(here)s/tilecache.cfg
In this example the TileCache config file is located at the same location as the development.ini file.
You can use the following TileCache config as an example:
[cache] type=Disk base=/tmp/tilecache [basic] type=WMS url=http://vmap0.tiles.osgeo.org/wms/vmap0 extension=png
Now, edit the application’s main file, __init__.py, and register papyrus_tilecache using the Configurator.include method:
def main(global_config, **settings):
config = Configurator(settings=settings)
import papyrus_tilecache
config.include(papyrus_tilecache)
That’s it! The Pyramid application now exposes a TileCache service at /tilecache.
0.1
First version
Metadata
Release files for papyrus_tilecache 0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| papyrus_tilecache-0.1.tar.gz | 4.2 kB | Without provenance | Details for papyrus_tilecache-0.1.tar.gz |
Release files / papyrus_tilecache-0.1.tar.gz
| Download URL | papyrus_tilecache-0.1.tar.gz |
|---|---|
| Size | 4.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2d97a9b4d02f02800572faccaf9bce83b7d966ca38065a0234a3e27ab462735b
|
|
BLAKE2b-256 checksum How to use checksums |
f99bccd64c66d4da3edb65f1e78cea9c0669ddabc74b4222a13a6cc171d1e190
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for papyrus_tilecache 0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.