How to generate image with a string?

2018-12-20 Thread sntshkmr60
More or less I'm trying to replicate placeholder.com in Python. I'll be using Django in the backend. Given all the parameters, I'm not sure how will I be generating the images. * I will be passing width and height of the image and maybe the text and background color. * I also want to center

Why am I getting Error 405 while uploading my package to https://test.pypi.org/legacy?

2018-12-23 Thread sntshkmr60
put: ``` Enter your username: sntshkmr60 Enter your password: Uploading distributions to https://test.pypi.org/ Uploading mysecretpackage-0.0.1a0-py3-none-any.whl 100%|| 16.7k/16.7k [00:06<00:00, 2.50kB/s] NOTE: Try --verbo

Re: Why am I getting Error 405 while uploading my package to https://test.pypi.org/legacy?

2018-12-23 Thread sntshkmr60
> .pypirc >= > [distutils] > index-servers= > testpypi > > [testpypi] > repository: https://test.pypi.org/legacy/ > username: UserName > password: Password > twine upload --repository testpypi dist/* Tried your suggestion for .pypirc file. Still the same error. Has something changed an

Re: Why am I getting Error 405 while uploading my package to https://test.pypi.org/legacy?

2018-12-23 Thread sntshkmr60
> did you check your dists via twine? > > $ twine check --verbose dist/* I checked with `twine check dist/*` (there's no --verbose option though). I only get warning about markdown > also make sure you are using up to date versions of > setuptools, wheel and twine > > > $ pip install -

Re: Why am I getting Error 405 while uploading my package to https://test.pypi.org/legacy?

2018-12-24 Thread sntshkmr60
> $ pip install readme_renderer[md] Thanks a lot for this, I wasn't able to figure it out earlier. -- https://mail.python.org/mailman/listinfo/python-list