I am pleased to announce Plumage (Plumage-py) 1.3.0 ("Delius"). This is the first Plumage release to support Python 3.

Plumage is a module to obtain trademark status and information from the
United States Patent & Trademark Office's (USPTO's) Trademark Status &
Document Retrieval (TSDR) system.  It takes as input either a trademark
registration number or application serial number, fetches the
corresponding XML data from the PTO's TSDR website, and returns a
dictionary of data associated with the specified TSDR entry.

Example:

from Plumage import plumage
t = plumage.TSDRReq()
t.getTSDRInfo("2564831", "r")   # get info on reg. no 2,564,831
tsdrdata=t.TSDRData
if tsdrdata.TSDRMapIsValid:
   print("Application serial no: ", tsdrdata.TSDRSingle["ApplicationNumber"])
   print("Trademark text: ", tsdrdata.TSDRSingle["MarkVerbalElementText"])
   print("Application filing date: ", tsdrdata.TSDRSingle["ApplicationDate"])
   print("Registration no: ", tsdrdata.TSDRSingle["RegistrationNumber"])
   # Owner info is in most recent (0th) entry in ApplicantList
   applicant_list = tsdrdata.TSDRMulti["ApplicantList"]
   current_owner_info = applicant_list[0]
   print("Owner:", current_owner_info["ApplicantName"])

Will print:

Application serial no:  75181334
Trademark text:  MONTY PYTHON'S FLYING CIRCUS
Application filing date:  1996-10-15-04:00
Registration no:  2564831
Owner: Python (Monty) Pictures Ltd.

Multiple trademark applications or registrations can be successively queried. for example:

t = plumage.TSDRReq()
application_numbers = ["76535603", "75854426", "86142154", "78790815", 
"75533975"]
for application_number in application_numbers:
   result = t.getTSDRInfo(application_number, "s")
   print(t.TSDRData.TSDRSingle["MarkVerbalElementText"])

Will display:

   NO BUDDY
   ESPEX
   ZA
   SPANISH
   INQUISITION

New in this release:
* Support for Python 3

Code: https://github.com/codingatty/Plumage-py/releases/tag/V1.3.0
Docs: https://github.com/codingatty/Plumage/wiki/Plumage-Home
License: Apache Software License V2

--
Terry Carroll
carr...@tjc.com
--
https://mail.python.org/mailman/listinfo/python-announce-list

       Support the Python Software Foundation:
       http://www.python.org/psf/donations/

Reply via email to