Sign inSign up

0xvoila/unbxd

By 0xvoila

•Updated over 5 years ago

This is unbxd docker public repository

Image
0

346

0xvoila/unbxd repository overview

For catalog processing server create two files

catalog.csv sku,title,description,price "123","Branded tshirt bawrien", "Care Instructions: Hand-wash & Machine wash in Cold Water. Fit Type: Slim Fit", "200" "535","Branded half sleeve tshirt bawrien", "100% High-grade Cotton Fabrics: Good capability of tenderness, air permeability and moisture absorption feels soft and comfy. Suitable for: Sports, Casual, Business Work, Date, Party, Perfect gift for", "200" "768","Desi lenhanga ", "High Quality Fabric and Stitching Wash Instruction: Handwash / Machine wash| Low iron and tumble dry on low heat", "200"

and

build.py

import csv

⁠Open variable-based csv, iterate over the rows and map values to a list of dictionaries containing key/value pairs

reader = csv.DictReader(open("catalog.csv", 'r')) dict_list = [] for line in reader: dict_list.append(line) print ({"feed":{"catalog":{"items":dict_list}}})

Then create the catalog processing container from here

Tag summary

Content type

Image

Digest

Size

324.1 MB

Last updated

over 5 years ago

docker pull 0xvoila/unbxd:argo