![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.
Collect JSON/YAML/YML files from a source folder and convert them into a single object.
A data pipeline helper written in node that works similar to Middleman's Data Files collector.
Point the library at a folder filled with JSON and/or YAML files and get a JavaScript object back that reflects the folder's structure. Great for pulling data in to templates!
Under the hood it uses JavaScript's built in JSON support and js-yaml
to read files.
npm install quaff --save-dev
Requires the latest iojs
or node>=0.12.0
.
Assume a folder with this structure.
data/
mammals/
cats.json
dogs.json
birds/
parrots.yml
After require()
'ing quaff
:
var quaff = require('quaff');
var data = quaff('./data/');
console.log(data);
And the results...
{
"mammals": {
"cats": [
"Marty",
"Sammy"
],
"dogs": [
"Snazzy"
"Cally"
]
},
"birds": {
"parrots": {
"alive": [
"Buzz"
],
"dead": [
"Moose"
]
}
}
}
By Ryan Murphy.
Available under the MIT license.
FAQs
Collect JS/JSON/YAML/YML/CSV/TSV/ArchieML files from a source folder and convert them into a single object.
We found that quaff 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.