Thursday, January 20, 2022

Re: Django works with PDF

PyPDF2

On Thu, 20 Jan 2022, 19:46 Amor Zamora, <amorza0204@gmail.com> wrote:
I have 2 problems working with pdf in django.
1. I need a tool, function or library that allows me to open a pdf and read the metadata, to get its 'creator and producer' there, but I have to do this, not with python, because to show it on the frontend.
2. How can I get the country from an Ip address (I use the ipaddress module in my project). But I don't know how I can get the country, because the IPs are assigned by ranges not by regions and the ipaddress module that I know of does not bring anything incorporated to be able to obtain the country.
At this point, I can't use GeoIP, in any of its variants.
please help

--
Amor Zamora
Behind the distance, 
your mouth and mine hide, 
complices of a kiss, caresses, fantasies, 
distance as close as the sky and the sea, 
my piece is in your bed, in mine, is your love.
Behind the distance hide love, memories, 
encounters, experiences, circumstances, pain and good times, 
it is after her, the distant ones, 
that we leave feelings, 
but if we really miss, 
distance,
it is only your time.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAKMTbHWtN%3D5Pzm2yj2kR3erDLkiArAhJZVmxE0X0hvbjFu6eTA%40mail.gmail.com.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CACaE8x4kmUsBCD6JZ8rHo8wS0gsqx1CTX5%2BVV%3DGH%3DR3LW-e3AQ%40mail.gmail.com.

No comments:

Post a Comment