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.0.7.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.0.7-py3-none-any.whl (10.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: sa_tenders-0.0.7.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.0.7.tar.gz
Algorithm Hash digest
SHA256 f96fc68d713102a0410bf782c0e29f8c9a9d8ff04bab210924c77e4521d2afc1
MD5 fed86053f4dacdc4447c15a7e2628eb3
BLAKE2b-256 a4eb07aa5495f0b6fac7d2a30e3f50f669422284690be2d2bd7b4a91f8f70550

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sa_tenders-0.0.7-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.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 9ebc78c7c07c75d44c05d97d877c80f6df6937ff1d1bb50e5603a23383c0e4bd
MD5 c577a5e3332420c0c5d9313d7d563861
BLAKE2b-256 53c541af96c77db26d02aade23cef7f478a901bf8884a745a3f376ea9189e208

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