Skip to main content
Setting Up A New Project
========================

from start to editing code

0. Install virtualenv [Optional but highly recommended]::

easy_install virtualenv

1. Make a virtualenv::

virtualenv myproject

2. Install genshi_view::

cd myproject
. bin/activate
mkdir src
cd src
hg clone http://k0s.org/hg/genshi_view # or `easy_install genshi_view`
cd genshi_view
python setup.py develop
cd ..

3. Instantitate a template. genshi_view is a pastescript template
that will get you a hello world application OOTB::

paster create -t genshi_view your_project_name

Answer the questions it asks you regarding the template variables.

4. Serve your application to see that it works::

cd your_project_name
paster serve your_project_name.ini

Navigate to the URL that paster displays

5. You're done! Helloworld works. Now you just have to edit the
source code:

- templates are in your_project_name/templates; there is one by default
- static resources are in your_project_name/static
- the request dispatcher is at your_project_name/dispatcher
- the request handlers are at your_project_name/handlers; if you add
more, don't forget to add them to dipatcher.py's imports and to
self.handlers in Dispatcher's __init__ function

Metadata

Release files for genshi_view 0.3.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for genshi_view 0.3.2
File Size Uploaded Provenance Actions
genshi_view-0.3.2.tar.gz 2.1 kB Without provenance Details for genshi_view-0.3.2.tar.gz

Release files / genshi_view-0.3.2.tar.gz

Download URL genshi_view-0.3.2.tar.gz
Size 2.1 kB
Tags Source
SHA-256 checksum
How to use checksums
cdffd4f8432020e757442d7cd90e43c5cf3aa0e1511c313b6c9f477ef102485d
BLAKE2b-256 checksum
How to use checksums
7b3a88ebf8380521c137ae8ec110cca704874919e191cc8a26d4718e6fe878ad
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for genshi_view 0.3.2

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page