Skip to main content

Composite: classified ads — the shop composite + geo (location-bound listings)

Project description

stapel-classified

license llms.txt status

Не опубликовано на PyPI. Установка из исходников: pip install git+https://github.com/usestapel/stapel-classified Composite: classified ads — the shop composite + geo (location-bound listings).

Assemble (one line)

pip install stapel-tools
stapel-assemble myads --libs classified
cd myads && make test

That expands classified through the STAPEL_LIBS requires closure and wires every member module into INSTALLED_APPS, requirements.txt, urls.py and CONFIG.MD, then runs the verify gates.

Manual wiring (no scaffold)

# settings.py
from stapel_classified import preset

INSTALLED_APPS = [
    # ... django/stapel-core baseline (incl. stapel_core.django.projections)
    "stapel_categories",
    "stapel_listings",
    "stapel_reviews",
    "stapel_shop",
    "stapel_geo",
    "stapel_classified",
]
for _k, _v in preset.SETTINGS_DEFAULTS.items():
    globals().setdefault(_k, _v)

# urls.py
from django.urls import include, path

urlpatterns = [
    path("categories/", include("stapel_categories.urls")),
    path("listings/", include("stapel_listings.urls")),
    path("reviews/", include("stapel_reviews.urls")),
    path("geo/", include("stapel_geo.urls")),
]

Config checklist (fill these, in the generated project's CONFIG.MD too)

Key Note
STAPEL_REVIEWS["TARGET_TYPES"] prefilled by stapel_classified.preset.SETTINGS_DEFAULTS (targets listing)
STAPEL_LISTINGS["BASE_CURRENCY"] default USD — set your currency
STAPEL_GEO[...] geocoder provider/keys — see stapel-geo CONFIG.MD
listing coordinates lat/lon are LISTING fields (no projection needed) — see stapel-listings

Glue

None of its own beyond what stapel-shop already carries: coordinates are the listing's OWN fields (lat/lon on the listing), not a foreign aggregate — no projection needed for geo.

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

stapel_classified-0.1.4.tar.gz (8.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

stapel_classified-0.1.4-py3-none-any.whl (10.4 kB view details)

Uploaded Python 3

File details

Details for the file stapel_classified-0.1.4.tar.gz.

File metadata

  • Download URL: stapel_classified-0.1.4.tar.gz
  • Upload date:
  • Size: 8.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for stapel_classified-0.1.4.tar.gz
Algorithm Hash digest
SHA256 7712230a42f43cc96813b0b2c01571bea799436ea55b75e16d9d85ff31e618c6
MD5 104d355332b54c2ecf499193398a4cd7
BLAKE2b-256 52b1240ddb169f4d52b53aec77bee7f6b6c5e6a14463312beb02e77780560546

See more details on using hashes here.

Provenance

The following attestation bundles were made for stapel_classified-0.1.4.tar.gz:

Publisher: publish.yml on usestapel/stapel-classified

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file stapel_classified-0.1.4-py3-none-any.whl.

File metadata

File hashes

Hashes for stapel_classified-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 7ffab74139a5eeda224ef4786d5ebeaea34c7b77daa42189c54b6e92d89a9417
MD5 ab7f33845ccd8090bb29bd4f2bbeb2cb
BLAKE2b-256 adfd38fb0757e1b9c4af58b4f98acf1d574144fd67ffe0eb51eeff36293c141d

See more details on using hashes here.

Provenance

The following attestation bundles were made for stapel_classified-0.1.4-py3-none-any.whl:

Publisher: publish.yml on usestapel/stapel-classified

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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