![PyPI Now Supports iOS and Android Wheels for Mobile Python Development](https://cdn.sanity.io/images/cgdhsj6q/production/96416c872705517a6a65ad9646ce3e7caef623a0-1024x1024.webp?w=400&fit=max&auto=format)
Security News
PyPI Now Supports iOS and Android Wheels for Mobile Python Development
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
@celastrina/http
Advanced tools
Celastrina is a JavaScript framework for simplifying server-less compute in Microsoft Azure Functions. Celastrina attempts to simplify the configuration and connectivity of common PaaS services in the Azure Platform with a special emphasis on security.
Celastrina is flexible enough to support small open-source efforts and can easily scale up to large enterprise deployments. Celastrina is committed to maintaining compatibility with JavaScript libraries released by Microsoft and will continue to adapt and grow with the Microsoft Azure eco-system.
Creating your first JSON Based HTTP Function:
const {LOG_LEVEL, CelastrinaError, Configuration} = require(“@celastrina/core”);
const {HTTPAddOn, JSONHTTPContext, JSONHTTPFunction} = require(“@celastrina/http”);
class MyFirstFunction extends JSONHTTPFunction {
constructor(config) {
super(config);
}
async get(context) {
context.log(“Welcome to Celastrina!”, LOG_LEVEL.INFO, “MyFirstFunction._get(context)”);
context.send({name: “sample”, message: }); // Return whatever object you’d like
}
}
const _config = new Configuration(“MyFirstFunction”);
const _httpconfig = new HTTPAddOn();
_config.setAuthorizationOptimistic(true); // Allow anon access, Celastrina defaults to pessimistic AuthN/AuthZ
_config.addOn(_httpconfig);
module.exports = new MyFirstFunction (_config);
You will need to make a few updates to your function.json. You’ll need to add an “entryPoint” attribute with the value “execute” and insure your in/out bindings are named “req” and “res” respectively.
{
“entryPoint”: “execute”,
“bindings”: [
{
“authLevel”: “function”,
“type”: “httpTrigger”,
“direction”: “in”,
“name”: “req”,
“methods”: [ “get”]
},
{
“type”: “http”,
“direction”: “out”,
“name”: “res”
}
]
}
For more information please visit @celastrina/http-json wiki on Github.
FAQs
HTTP Function Package for Celastrina
The npm package @celastrina/http receives a total of 32 weekly downloads. As such, @celastrina/http popularity was classified as not popular.
We found that @celastrina/http 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
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.