Skip to main content

Sell any item you want on any market platform easily.

Project description

anysell

Welcome! Sell anything on multiple platforms at once.

Features:

  • generate item config
  • creates posts on bazos
    • supports images
    • mobile 2fa
    • multiple at once

TODO:

  • fb marketplace
  • works only with "clothes", maybe add all/more categories

install & usage

pip3 install anysell

There are 2 config files we're gonna use:

  • main config file - stores important global info (name, email etc.)
  • items config file - stores info about items you want to sell, at one place. then anysell will propagate it in multiple places

cfg file

You can provide main config file by passing --config-path option to commands. Default path for your config is ~/.config/anysell/.cfg. Go ahead, create and fill the file.

name=
password=  # some tmp password, e.g. for edit on bazos
phone=
email=
psc=
img_path=/Users/bla/Desktop/img_clothes  # generate-cfg cmd will use structure to create yaml 
item_config_path=/Users/bla/cfg.yaml  # sell cmd use this to create the item posts

To start quickly, do:

anysell generate-cfg --config-path /my/cfg/path/.cfg

This will generate the file based on structure in img_path. It's good to have folder per item and images for items in that folder. Folder names needs to be unique.

Open file on item_config_path and fill it:

damske_cierne_nohavice_sportove__40:
  category: 'Športové oblečenie'
  price: '8'
  filepaths:
    - /img/folder/damske_cierne_nohavice_sportove__40.jpg
    - /img/folder/damske_cierne_nohavice_sportove_detail__40.jpg
  title: 'Damske Sportove Cierne Nohavice'
  description: 'Daju sa odopinat na tristvrtove. Velkost 40.'
damske_siroky_golier__detail__36_38:
  category: ''  # fill
  description: ''  # fill
  filepaths:  # fill
    - /img/anotherfolder/damske_siroky_golier__detail__36_38.jpg
  price: ''  # fill
  title: ''  # fill

Now, you have the items config (no need to use generate command, you can create your own if you want)

Run anysell sell --config-path /my/cfg/path/.cfg

This will read the item config file using item_config_path key in your main config and create all the posts based on that.

Note - this will prompt you for doing auth. E.g. 2fa with mobile key. When you fill it first time key will be cached and reused for 1hr.

bazos

These are keys you can use for categories.

[
    "Blúzky",
    "Bundy a Kabáty",
    "Čiapky, Šatky",
    "Doplnky",
    "Džínsy",
    "Funkčné prádlo",
    "Hodinky",
    "Kabelky",
    "Košele",
    "Kožené oblečenie",
    "Mikiny",
    "Nohavice",
    "Obleky, Saká",
    "Plavky",
    "Plecniaky a kufre",
    "Rukavice a Šály",
    "Rúška",
    "Šaty, Kostýmy",
    "Šortky",
    "Šperky",
    "Spodná bielizeň",
    "Športové oblečenie",
    "Sukne",
    "Svadobné šaty",
    "Svetre",
    "Tehotenské oblečenie",
    "Topánky, obuv",
    "Tričká, roláky, tielka",
    "Ostatné"
]

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

anysell-0.0.5.tar.gz (8.3 kB view details)

Uploaded Source

Built Distribution

anysell-0.0.5-py3-none-any.whl (8.7 kB view details)

Uploaded Python 3

File details

Details for the file anysell-0.0.5.tar.gz.

File metadata

  • Download URL: anysell-0.0.5.tar.gz
  • Upload date:
  • Size: 8.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2

File hashes

Hashes for anysell-0.0.5.tar.gz
Algorithm Hash digest
SHA256 a3c019caf56fb41f156135bbb1459b7873bfac48587d3294e4b09f47906ec1a4
MD5 c7f692cea88a1de66c3a690d8aa7f393
BLAKE2b-256 a9fa5461f478194cf618171721bc863e19e72db2f5604a7ef988bdf16fd34618

See more details on using hashes here.

File details

Details for the file anysell-0.0.5-py3-none-any.whl.

File metadata

  • Download URL: anysell-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 8.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2

File hashes

Hashes for anysell-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 ea9bf1ca06d82be8ea2eb93af8f430c8c798de211a0ed9adf70ca9f65a8108d3
MD5 4f4e322ba75fb2975a14fc0a32b9f4c0
BLAKE2b-256 a06379eb2cefb131d61cf88348fa4566574e97b3fc9383aaf1212974b0aec383

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page