![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.
This simple library is a wrapper for Microsoft's PICT tool.
Unlike some other packages this library does not include PICT binaries. User is expected to provide requested binary him/her self. This is primarily for security reasons. It is not a good practise to download npm packages with binaries inside.
npm install pwtg
import PictGenerator from "pwtg";
const generator = new Generator(
"path/to/input-model-file.txt",
"path/to/pict-binary",
);
await generator.generate("json", true, "path/to/output-json-file.json");
import PictGenerator from "pwtg";
const generator = new Generator(
"path/to/input-model-file.txt",
"path/to/pict-binary",
);
await generator.generate("text", true, "path/to/output-text-file.txt");
import PictGenerator from "pwtg";
const generator = new Generator(
"path/to/input-model-file.txt",
"path/to/pict-binary",
);
await generator.generate("text", false);
console.log(generator.generated);
What is seeding and when to use it - see HERE
import PictGenerator from "pwtg";
const generator = new Generator(
"path/to/input-model-file.txt",
"path/to/pict/binary",
);
await generator.generate(
"text",
true,
"file/path/to/output-text-file.txt",
"path/to/seed-text-file.txt",
);
For pair-wise approach, the (default) value of combinatorial
order is set to 2
.
However, you can set different order, as specified HERE.
Simply put, the higher combinatorial order you set, the higher coverage of possible combinations you get.
Beware: if you set combinatorial order HIGHER then the highest number of parameters, you will get an error
import PictGenerator from "pwtg";
const generator = new Generator(
"path/to/input-model-file.txt",
"path/to/pict/binary",
);
await generator.generate(
"text",
true,
"path/to/output-text-file.txt",
undefined,
3,
);
FAQs
Node.js Typescript wrapper for using Microsoft PICT programmatically.
We found that pwtg demonstrated a healthy version release cadence and project activity because the last version was released less than 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.