{"id":26569810,"url":"https://github.com/natserract/woco","last_synced_at":"2026-03-01T04:33:58.571Z","repository":{"id":282841168,"uuid":"850888858","full_name":"natserract/woco","owner":"natserract","description":"Command line interface for uploading WooCommerce(WC) products. Bye bye GUIs...","archived":false,"fork":false,"pushed_at":"2025-03-17T07:38:35.000Z","size":4168,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-08T18:12:28.440Z","etag":null,"topics":["cli","cloudinary","python","woocommerce","wordpress","wordpress-automation"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"cc0-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/natserract.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-09-02T02:55:23.000Z","updated_at":"2025-03-17T07:38:38.000Z","dependencies_parsed_at":"2025-03-17T08:39:20.184Z","dependency_job_id":"8ca1ea6c-ccf7-4d11-90cb-3eb408229fe5","html_url":"https://github.com/natserract/woco","commit_stats":null,"previous_names":["natserract/woco"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/natserract/woco","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/natserract%2Fwoco","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/natserract%2Fwoco/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/natserract%2Fwoco/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/natserract%2Fwoco/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/natserract","download_url":"https://codeload.github.com/natserract/woco/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/natserract%2Fwoco/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29960253,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-01T01:47:18.291Z","status":"online","status_checked_at":"2026-03-01T02:00:07.437Z","response_time":124,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cli","cloudinary","python","woocommerce","wordpress","wordpress-automation"],"created_at":"2025-03-22T21:37:18.746Z","updated_at":"2026-03-01T04:33:58.552Z","avatar_url":"https://github.com/natserract.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Woco\n\nCommand line interface for uploading WooCommerce(WC) products in efficient way.\n\n## Installation\n\nFirst make sure your pip version is up to date:\n```bash\npip3 install -U pip\n```\n\nTo install Woco:\n```bash\npip3 install woco # (not yet published, DON'T run this for a while)\n```\n\n## Development\n\n### Managing Environments\n```bash\npyenv install 3.11.9\npyenv local 3.11.9  # Activate Python 3.11.9 for the current project\n```\n\n*Note*: If you have trouble installing a specific version of python on your system it might be worth trying other supported versions.\n\n**Create and activate a virtual environment**\n\n```bash\npyenv exec python3 -m venv .venv\nsource .venv/bin/activate\n```\n\n### Building from source\nTo install dependencies and `woco` itself in editable mode execute\n\n```bash\npython setup.py install\nmake build-source\n```\n\n## Usage\n\n|        Command           |                                                                  Effect                                                                  |\n|--------------------------|------------------------------------------------------------------------------------------------------------------------------------------|\n|`woco run`                |Starts uploading your products.                                                                                                           |\n|`woco -h`                 |Shows all available commands.                                                                                                             |\n\n### woco run\n\nTo start uploading your products, run:\n\n```bash\nwoco run\n```\n\nThe following arguments can be used to configure your Woco:\n\n```bash\nusage: woco run [-h] [-v] [-vv] [--quiet] [--logging-config-file LOGGING_CONFIG_FILE] [-d DATA [DATA ...]] [-c CONFIG] [--disable-out-file] [-m {local,cloud}] {update,remove} ...\n\npositional arguments:\n  {update,remove}\n    update              Update WooCommerce products\n    remove              Remove WooCommerce products\n\noptions:\n  -h, --help            show this help message and exit\n  -d DATA [DATA ...], --data DATA [DATA ...]\n                        Paths to the files or directories containing Woco data. (default: data)\n  -c CONFIG, --config CONFIG\n                        Path to config file (default: config.yml)\n  --disable-out-file    Disable out files for data store output (default: False)\n  -m {local,cloud}, --media {local,cloud}\n                        Source for fetch media (e.g. local, cloud) (default: cloud)\n\nPython Logging Options:\n  You can control level of log messages printed. In addition to these arguments, a more fine grained configuration can be achieved with environment variables. See online documentation\n  for more info.\n\n  -v, --verbose         Be verbose. Sets logging level to INFO. (default: None)\n  -vv, --debug          Print lots of debugging statements. Sets logging level to DEBUG. (default: None)\n  --quiet               Be quiet! Sets logging level to WARNING. (default: None)\n  --logging-config-file LOGGING_CONFIG_FILE\n```\n\n## Suggested Config\n\nExample `config.yml` file:\n\n```yaml\nmodel:\n  - name: \"jewellery/ring\"\n\n    image:\n      path: \"mathiaschaize.com/upload/shop/ring\"\n      sort:\n        name: \"uploaded_at\"\n        order_by: \"asc\"\n      max_results: 8\n\n    product:\n      type: \"simple\"\n      price:\n        euro:\n          value: 75\n          default: true\n          currency: EURO\n        idr:\n          value: 1200000\n          currency: IDR\n\n      stock_status: \"instock\"\n      categories:\n        - jewellery:\n            id: 27\n            name: \"Jewellery\"\n            slug: \"jewellery\"\n\n        - ring:\n            id: 31\n            name: \"Ring\"\n            slug: \"ring\"\n```\n\n## Custom Media Cloud Storage\nBy default Woco retrieve images from [Cloudinary](https://cloudinary.com/). If you need custom implementation, please use this `implementor` [woco/clients/media_storage/base.py](woco/clients/media_storage/base.py)\n\n## Custom Payload\nWoco have [default payload builder](woco/workflow.py#L183) based on our needs. You can implement your own implementation here [`PayloadBuilder`](woco/workflow.py#L171)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnatserract%2Fwoco","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnatserract%2Fwoco","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnatserract%2Fwoco/lists"}