Repository navigation
Release on PyPI #23
Description
Activity
Hi,
When I use :import pdftables_api
c = pdftables_api.Client('my-api-key')
c.xlsx('Holidays List 2020.pdf', 'output_test.xlsx')There was an OS error
ConnectionError: ('Connection aborted.', OSError(0, 'Error'))Kindly Help.
@swebalaji: your problem is off-topic for this issue as it's to do with releasing a version of the Python API on PyPI.
(Nonetheless, it is likely that your problem is due to the scheduled essential maintenance we had 2020-02-12 0700-1000 UTC requiring us to take the whole site down. We sent an email to existing API users and displayed a notification banner on our website.
The site is now available again; please try again and feel free to open a new issue if it is not resolved.)
Following #42, this will be much easier and might work like this.
All that would be needed would be:
- create a PyPI project
- enable Trusted Publishing for the project
- update the CI workflow
Tried this. It's slightly limited by needing the
pdftables-apiname releasing in PyPI.Otherwise, users would need to install say,
python-pdftables-apiand have to know to uninstall the previous version.Opened pypi/support#9360 for requesting the package name. It would be similar to keep the same name, to avoid any issue for users.
Unfortunately, the request for the name was denied:The project name that you wanted is unfortunately a name that was marked as prohibited. A name can be deemed prohibited if it had posed a security risk before such as being associated with malware or any other malicious intent. We are working on determining future perceived risk to decide which prohibited names can be released and which ones will continue to stay in that bucket. Thanks for your patience.
PyPI relented and let us have the name.
Release a version on PyPI, so it can be installed directly with pip.