Skip to main content

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

Project description

This is a sa_tenders library that makes it easier to download and process information about the South African tenders.

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: sa_tenders-0.0.4.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.4.tar.gz
Algorithm Hash digest
SHA256 2dbf393e06544e72e5db4f14877ca644e8c1e37fdfb7586dd8aaf66b9dda0805
MD5 8afc78133d37e1786901b0e65aa2e25d
BLAKE2b-256 34bc245ad985a0d681be1cd71b490c14a2ff378837367f0e3293087543a8e321

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sa_tenders-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 10.4 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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 e06c39e561a05336055b764f60817bf3b1b4c7fa02372a7f59bdaf73cb9f2970
MD5 12e283df63a2d868ff0caf6e541298d2
BLAKE2b-256 bea856dd84c54941a45b847415ecd0e3769219d3a2d665d616a79cafc91f099c

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