🇲🇦 Soumit — Official Python SDK & Open Procurement Client
The official Python client library for querying the Soumit Intelligence Engine (https://soumit.ma) — the leading economic intelligence and AI platform for Moroccan public tenders (Marchés Publics Maroc - Décret n° 2-22-431).
⚡ Installation
pip install soumit
🚀 Quickstart Usage
1. Fetch Latest Macro-Economic Barometer
import soumit
# Get the latest national quarterly indicators (300B MAD volume, discount rates, TPME quotas)
barometer = soumit.get_barometer(quarter="latest")
print("New tenders:", barometer["indicators"]["total_new_tenders"])
print("Median discount rate:", barometer["indicators"]["median_discount_pct"])
2. Search Active Tenders by Sector & Region
import soumit
# Search medical equipment tenders in Casablanca
tenders = soumit.search_tenders(
sector="Santé & Matériel Médical",
region="Casablanca-Settat",
limit=10
)
for t in tenders:
print(f"[{t['reference_no']}] {t['title_fr']} - {t['estimated_budget_mad']:,.0f} MAD")
3. Query Moroccan Public Buyers Directory
import soumit
# List all CHUs (University Hospitals)
chus = soumit.get_buyers(category="CHU")
for chu in chus:
print(f"{chu['name_fr']} ({chu['city']}) - {chu['website']}")
⚖️ License: CC-BY-NC 4.0 (Non-Commercial Use Only)
This open-source client and its public open data endpoints are distributed under the Creative Commons Attribution-NonCommercial 4.0 International (CC-BY-NC 4.0) license.
- Free for research, education, non-commercial TPME informational analysis, and academic study.
- Direct commercial resale or scraping redistribution requires written authorization from Soumit.
🌐 Connected Ecosystem
- 🌍 Live Platform: https://soumit.ma
- 📊 Quarterly Barometer: https://soumit.ma/tendances
- 🤗 Hugging Face Hub: xoniques/morocco-public-tenders-open-index
- 🏛️ Permanent DOI (CERN Zenodo): 10.5281/zenodo.22654978
- 🚀 Postman Workspace: Soumit Open API v1
Metadata
Release files for soumit 1.0.0
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 |
|---|---|---|---|---|
| soumit-1.0.0.tar.gz | 4.1 kB | Without provenance | Details for soumit-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| soumit-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for soumit-1.0.0-py3-none-any.whl |
Total release size: 8.3 kB
Release files / soumit-1.0.0.tar.gz
| Download URL | soumit-1.0.0.tar.gz |
|---|---|
| Size | 4.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
02024e1a46abef11159d3ce209783b4a4803c9864b694c8f47528a2434297ded
|
|
BLAKE2b-256 checksum How to use checksums |
6afa73ffe7a8cd77087900dddcd84555786f63d70bddf4351414217c4a1e062a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.9
|
Release files / soumit-1.0.0-py3-none-any.whl
| Download URL | soumit-1.0.0-py3-none-any.whl |
|---|---|
| Size | 4.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
05bc1b045acfb5c3c2ef451589dc1f17f19bfe17ec22fd5c6ebcf30060082d1f
|
|
BLAKE2b-256 checksum How to use checksums |
99f2b26e2c41362e7b91c91686cda9e0edbb3d166247fd090432d2c06454700d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.9
|
Security for soumit 1.0.0
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.