Skip to main content

Uliweb Introduction

About Uliweb

Uliweb is a full-stacked Python based web framework. It has three main design goals, they are: reusability, configurability, and replaceability. All the functionalities revolve around these goals.

This project was created and lead by Limodou <mailto:limodou@gmail.com>.

License

Uliweb is released under BSD license.

Features

  • Organization

    • MVT(Model View Template) development model.

    • Distributed development but unified management. Uliweb organizes a project with small apps. Each app can have its own configuration file(settings.ini), template directory, and static directory. Existing apps can be easily reused, but are treated as a compound. web application project if configured as such. Developers can also reference static files and templates between apps, thus easing inter-application data exchange. All apps in a project are loaded by default if INSTALLED_APPS is not configured in the configuration file. All separate app configuration files are automatically processed at project startup.

  • URL Mapping

    • Flexiable and powerful URL mapping. Uliweb uses werkzeug’s routing module. User can easily define a URL, which in turn can be easily bound with a view function. URLs can also be created reversely according to the view function name. It supports argument definitions in URLs and default URL mapping to a view function.

  • View and Template

    • View templates can be automatically applied. If you return a dict variable from view function, Uliweb will automatically try to match and apply a template according to the view function name.

    • Environment execution mode. Each view function will be run in an environment, which eliminates the need to write many import statements. Plus there are already many objects that can be used directly, for example: request, response, etc. This is DRY and saves a lot of coding

    • Developers can directly use Python code in a template, the Python code does not neede to be indented as long as a pass statement is added at the end of each code block. Uliweb also supports child template inclusion and inheritance.

  • ORM

    • Uliorm is based on SQLAlchemy package, so you can use Model layer and SQL expression layer both.

    • Uliorm integrates with alembic package, you can use it to migirate database automatically.

  • I18n

    • Can be used in python and template files.

    • Browser language and cookie settings are supported including automatic language switching.

    • Provides a command line tool that developers can use to extract .po files. This can happen either at the app level or project level process. It can automatically merge .pot files to existing .po files.

  • Extension

    • Dispatch extension. This is a dispatch processing mechanism that utilizes different types of dispatch points. So you can write procedures to carry out special processes and bind them to these dispatch points. For example, database initicalization, I18n process initialization, etc.

    • middleware extension. It’s similar to Djangos. You can configure it in configuration files. Each middleware can process the request and response objets.

    • Special function calls in the views module initial process. If you write a special function named __begin__, it’ll be processed before any view function can be processed, this allows developers to do some module level processing at that point, for example: check the user authentication, etc.

  • Command Line Tools

    • Creates project, creates apps, and include the basic essential directory structure, files and code.

    • Export static files, you can export all available apps’ static files to a special directory. Also supports css and js combinition and compress process.

    • Startup a development web server thats supports debugging and autoreload.

    • Apps can also have its own command line tools. For example: orm, auth, etc.

  • Deployment

    • Supports mod_wsgi in Apache.

    • Supports uwsgi.

  • Development

    • Provide a development server, and can be automatically reload when some module files are modified.

    • Enhanced debugging, you can check the error traceback, template debugging is also supported.

Commuity

Metadata

Release files for Uliweb 0.6

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

Source distribution (sdist)

Source distribution for Uliweb 0.6
File Size Uploaded Provenance
Uliweb-0.6.tar.gz 1.1 MB Without provenance Details

Release files / Uliweb-0.6.tar.gz

Download URL Uliweb-0.6.tar.gz
Size 1.1 MB
Tags Source
SHA-256 checksum
How to use checksums
a2733c6b533c790b0e26097ecc0bfa28e644469a6e77c2b0b01b55519bd8cf49
BLAKE2b-256 checksum
How to use checksums
789583e636f3531c70174f9635253b71ab7c2cce44c0c2898e4d63db46b947d7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for Uliweb 0.6

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.

Release history Release notifications | RSS feed

This release

0.6 This release

1 release file No provenance

0.2.1

0.2

0.1.7

0.1.6

0.1.5

0.1.4

0.1.3

0.1.2

0.1.1

0.1

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