aio-libs / aiohttp-mako Goto Github PK
View Code? Open in Web Editor NEWmako template renderer for aiohttp.web
License: Apache License 2.0
mako template renderer for aiohttp.web
License: Apache License 2.0
Please never use underscores in python-packages names.
Python packages should also have short, all-lowercase names, although the use of underscores is discouraged.
We have a really problem. When our build system convert all dependencies to RPM (using FPM) yum is broken. We are can't use this package in our projects.
There is currently the line request = args[-1]
at line 77 of init.py, inside def wrapper
. If my view function has other args after the request arg, it tries to use the last one as the request. Should this line of code be changed to request = args[0]
?
Further to this, should it also support kwargs?
See the details @ https://github.com/orgs/aio-libs/discussions/26.
For this, we'll need somebody with Owner privileges to either give me access on PyPI (the username there is the same โ webknjaz
) or be invited to the org by me (for that I'd need the username of such an individual).
As a bonus, this will also allow us to set up secretless publishing from GHA to PyPI and get rid of the in-repo secrets.
cc @jettify
As per title, this would be a handy feature.
It is good to have opportunity setup template directory like aiohttp-jinja2 does
aiohttp_jinja2.setup(app, loader=jinja2.FileSystemLoader('/path/to/templates/folder'))
May be i missed it in docs ?
With 3.7.4 & aiohttp-mako-0.3.0
I'm getting the following deprecation warning:
.../.local/lib/python3.7/site-packages/aiohttp_mako/__init__.py:4: DeprecationWarning:
Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working
from collections import Mapping
I need to release aiohttp_mako
first in order release aiohttp_debugtoolbar
. My plan is following
Thoughts?
There is no activity on this repo, and it appears to be practically unused.
In the dependency view, Github says there are only 23 repositories and 2 packages depending on this project (aiohttp-jinja2 by comparison has 36,151 repositories and 94 packages). PyPI stats suggest it is probably downloaded about 20 times a day (aiohttp-jinja2 is around 6,000).
Based on this, I'm not sure it's worth spending any effort maintaining the project further.
(One of the 23 repositories is aiohttp-debugtoolbar, which uses it for a demo. I've opened aio-libs/aiohttp-debugtoolbar#516 to migrate the demo, which should be done first).
Do like this:
REPO_NAME={{ YOUR_REPO_NAME }}
travis encrypt -r "aio-libs/${REPO_NAME}" --api-endpoint 'https://api.travis-ci.com/'
Ref: https://github.com/orgs/aio-libs/teams/admins/discussions/9
Dependabot couldn't authenticate with https://pypi.python.org/simple/.
You can provide authentication details in your Dependabot dashboard by clicking into the account menu (in the top right) and selecting 'Config variables'.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.