Skip to main content

This library enables developers to download and process data from the South African etenders platform.

Project description

This library, sa_tenders, simplifies the process of downloading data from the South African e-tenders platform. More specifically, the package enables developers to download, process and export e-tenders data.

Quickstart:

Installing

pip install sa_tenders

A simple example:

from sa_tenders import sa_tenders

#initiating the class
source = sa_tenders(page_size=100, start_date="2024-01-01", end_date="2024-12-31")

#calling some of the class attributes
meta_data = source.meta_data
raw_data = source.raw_data_dict
clean_data = source.cleaned_dataframe

#printing the results
for i in [meta_data, raw_data, clean_data]:
    print(i)

#exporting the clean data to excel
clean_data.to_excel("sa_tenders_data.xlsx")

Disclaimer:

This project was created by Ntuthuko Hlela, an open source developer. Ntuthuko Hlela is not affiliated with the South African government in any shape or form. In other words, this is not a South African government project.

License:

MIT License: Copyright (c) 2025 Ntuthuko Hlela

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

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

sa_tenders-0.1.0.tar.gz (9.4 kB view details)

Uploaded Source

Built Distribution

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

sa_tenders-0.1.0-py3-none-any.whl (10.5 kB view details)

Uploaded Python 3

File details

Details for the file sa_tenders-0.1.0.tar.gz.

File metadata

  • Download URL: sa_tenders-0.1.0.tar.gz
  • Upload date:
  • Size: 9.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.1

File hashes

Hashes for sa_tenders-0.1.0.tar.gz
Algorithm Hash digest
SHA256 7fcc48a0cce5372bfecb0ca988128f2b4f04dc575a68e956389ea31388c2b7a1
MD5 3d4090cd1e2bd98142405d702295055f
BLAKE2b-256 38e2dc6a6ce84ea94d77d3addd51b0c6112fefe62869a2cf3b83a9a1dcb75607

See more details on using hashes here.

File details

Details for the file sa_tenders-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: sa_tenders-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 10.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.1

File hashes

Hashes for sa_tenders-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 619770de13c653b4f543fa090aa0574c013c4623dafe01e8ee0d8d3286aa15dc
MD5 58c3bfb20439a2cf20b790d3b705c353
BLAKE2b-256 72f4e50e358ca0771ce7d38aafea32ae2fea52152a503a5f7ebdfee20181695f

See more details on using hashes here.

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