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

Uploaded Python 3

File details

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

File metadata

  • Download URL: sa_tenders-0.0.9.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.9.tar.gz
Algorithm Hash digest
SHA256 62014fe76cb3328a87049261907742909cbd9312ec358ccffa6289ae284ed126
MD5 2ad664c5aaf8c7fed11bb6bffa8c778e
BLAKE2b-256 b99c6c2d411f94e1eef52bec2398fe4038e84f5f6f5d38b38bd4c737514f8c79

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sa_tenders-0.0.9-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.9-py3-none-any.whl
Algorithm Hash digest
SHA256 0d7c97c688b1d6f8a0d31d0accd3e006570f62baaa7044d2d5b29f2e9796a80a
MD5 44043891f4fc8852182ff2f53dc30f2d
BLAKE2b-256 db70a5c663dff9410f376b3bdbea8db531149b86f0bcfc40cb82eb617724f8ce

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