![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.
@buttercup/app-env
Advanced tools
Buttercup application environment configuration manager
Buttercup is a cross-platform password manager, and in being so requires vastly different configurations for each platform it runs on. Take for instance Buttercup for Desktop and the browser extension - one is Node (native) and the other is web-based. This project provides a method to set environment-specific tools and methods (for crypto, for instance). It also provides some presets for native and web.
There is no preset configuration in this library for React Native (Buttercup for Mobile), as this environment is extremely complex and highly-reliant on React-Native internals.
Step 1: Install @buttercup/app-env
as a dependency:
npm install @buttercup/app-env --save
Step 2: Load a preset environment:
// For node:
require("@buttercup/app-env/native");
// For web:
import "@buttercup/app-env/web";
Or execute a custom environment configuration (see later section).
Step 3: Load Buttercup and other dependencies
Buttercup should always be loaded after the app-env:
const { ArchiveManager } = require("buttercup");
// ...
You can easily specify your own configuration by specifying methods for each required property, for example:
const { getSharedAppEnv } = require("@buttercup/app-env");
function decryptText(/* ... */) {
/* ... */
}
function encryptText(/* ... */) {
/* ... */
}
getSharedAppEnv().setProperties({
"crypto/v1/decryptText": decryptText,
"crypto/v1/encryptText": encryptText
});
The following properties should be specified:
Property | Description |
---|---|
compression/v1/compressText | Method for compressing text -> text. |
compression/v1/decompressText | Method for decompressing text -> text. |
crypto/v1/decryptText | Decryption method for decrypting text. |
crypto/v1/encryptText | Encryption method for encrypting text. |
crypto/v1/setDerivationRounds | Set the number of derivation rounds to use for key derivation. |
v0.5.0
2020-02-17
exists
method)FAQs
Buttercup application environment configuration manager
We found that @buttercup/app-env demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers 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.