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é"
]
Metadata
Release files for anysell 0.0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| anysell-0.0.5.tar.gz | 8.3 kB | Without provenance | Details for anysell-0.0.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| anysell-0.0.5-py3-none-any.whl | Python 3 | none | any | Details for anysell-0.0.5-py3-none-any.whl |
Total release size: 17.0 kB
Release files / anysell-0.0.5.tar.gz
| Download URL | anysell-0.0.5.tar.gz |
|---|---|
| Size | 8.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a3c019caf56fb41f156135bbb1459b7873bfac48587d3294e4b09f47906ec1a4
|
|
BLAKE2b-256 checksum How to use checksums |
a9fa5461f478194cf618171721bc863e19e72db2f5604a7ef988bdf16fd34618
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / anysell-0.0.5-py3-none-any.whl
| Download URL | anysell-0.0.5-py3-none-any.whl |
|---|---|
| Size | 8.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ea9bf1ca06d82be8ea2eb93af8f430c8c798de211a0ed9adf70ca9f65a8108d3
|
|
BLAKE2b-256 checksum How to use checksums |
a06379eb2cefb131d61cf88348fa4566574e97b3fc9383aaf1212974b0aec383
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Security for anysell 0.0.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.