Saturday, January 22, 2022

Re: Django works with PDF

Hi, for the first, you need to install pypdf2..it's Easy yo get metadata from pdf with that library... Greetings

El jue., 20 de ene. de 2022 09:16, Amor Zamora <amorza0204@gmail.com> escribió:
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/CAObPVPD2RcNGYouaqQkPLwsh5t%2B%2BxcxVefo5qWhjX8kY5Pqs%3DA%40mail.gmail.com.

No comments:

Post a Comment