Skip to main content

A backend engine for Squarespace that uses splinter/selenium for automated data entry

Project description

Takes data from a json file (formatted as indicated) and uploads the item to Squarespace

Language: Python 3.7

This program, as the description states, takes a specifically formatted python file database and uploads each entry to the Squarespace interface through the selenium library with Python. As of right now, its most useful purpose is defining the interface for entering data on Squarespace, and using that to input data. An example python file for the data is included as items.json

This program has been designed to do the following: - Take the data from the json and use it directly - Waits for inputs to appear or dialogs to dissappear before entering data - Has the capability to upload text and images stored on the local machine - Puts functionality for managing orders, inventory, and item updates into an easy to use GUI interface that can be used outside of the browser

## Current Features: - Updates existing items if and only if new information is found - Adds new items if and only if they are not already in the database - Moves items onto the store page/into storage based on the season (since this is meant for a clothing store) - Item capability: Nearly all Men’s clothing types, including pants, shirts, blazers, shorts, etc.

## Usage: 1. To start, download this repository, and make sure that your proper login information and store page(s) information is put into information.py 2. Next, create your database file for accessing, see example_items.json for formatting details 3. Finally, if you need to add new fields, modify the interface.py file between the necessary comments to rename the fields to what you need them to be

Note: This program was originally designed to upload clothing items, so some fields may not be applicable to your item(s) or store(s). I’ve documented the code as well as I can, and have put small notes where personal modification would be necessary if your store is not currently compatible with this layout. This includes the automated email sending, see companyemail.txt for the base template I used and make changes as needed. If you have any questions or would like some better explanation/assistance on the process of adapting this program to your store, feel free to contact me either through GitHub or through my email.

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

squp-0.1.8.tar.gz (4.7 MB view details)

Uploaded Source

Built Distribution

squp-0.1.8-py3-none-any.whl (79.0 kB view details)

Uploaded Python 3

File details

Details for the file squp-0.1.8.tar.gz.

File metadata

  • Download URL: squp-0.1.8.tar.gz
  • Upload date:
  • Size: 4.7 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.8.0 tqdm/4.33.0 CPython/3.7.3

File hashes

Hashes for squp-0.1.8.tar.gz
Algorithm Hash digest
SHA256 e4010c14c2de2a7064ba072e6dbd9886c124aaa3c302b1c0fcb39fcab697eb78
MD5 ee66485252638e5016a5084e414e4158
BLAKE2b-256 4bbe927df7409adfac45c7af5a0ce55eed63657e0084e2ef268df6f070675a42

See more details on using hashes here.

File details

Details for the file squp-0.1.8-py3-none-any.whl.

File metadata

  • Download URL: squp-0.1.8-py3-none-any.whl
  • Upload date:
  • Size: 79.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.8.0 tqdm/4.33.0 CPython/3.7.3

File hashes

Hashes for squp-0.1.8-py3-none-any.whl
Algorithm Hash digest
SHA256 84306390f343e2ada49019ddee92c67eadf621bf8c71c8d9cba1f4fb1b23e81d
MD5 677bbe3191aaaf73bb0951cda9696cd5
BLAKE2b-256 0755edaf97efe87498846a56922a7802d5320e83056ca8965b74f66c8325f505

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