
Security News
Astral Launches pyx: A Python-Native Package Registry
Astral unveils pyx, a Python-native package registry in beta, designed to speed installs, enhance security, and integrate deeply with uv.
Maveric is a MVC overlay for Rack.
The dominant idea behind Maveric is as little magic as possible, being as flexible as possible.
The use of a Maveric is simple.
class MyApp < Maveric def get render {'
Hello World!
'} end endenv['PATH_INFO'] # => '/' MyApp.call(env)[0] # => 200
env['PATH_INFO'] # => '/index' MyApp.call(env)[0] # => 200
By default the method used to generate a response is the lower case form of the http method. GET requests call #get, POST requests call #post, and so on. A 404 is returned if a the appropriate method is not defined.
-- Actions
To override this you may redefine #action= as needed.
class MyApp < Maveric def action= method if method == :get and @request.path_info == '/' @action = :index else super end end def index render {'
Hello World!
'} end end-- The Render Method
Provides a simple way to format data.
class MyApp < Maveric module Views def html data '
'+data.to_s+'
' end end def get render :html { 'Hello World!' } end endFAQs
Unknown package
We found that maveric demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Astral unveils pyx, a Python-native package registry in beta, designed to speed installs, enhance security, and integrate deeply with uv.
Security News
The Latio podcast explores how static and runtime reachability help teams prioritize exploitable vulnerabilities and streamline AppSec workflows.
Security News
The latest Opengrep releases add Apex scanning, precision rule tuning, and performance gains for open source static code analysis.