Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python.announce > #2794

ANN: Plumage 1.3.0; access trademark status info from USPTO

From Terry Carroll <carroll@tjc.com>
Newsgroups comp.lang.python.announce
Subject ANN: Plumage 1.3.0; access trademark status info from USPTO
Date 2018-03-23 17:55 -0400
Message-ID <mailman.255.1521893547.1867.python-announce-list@python.org> (permalink)
References <alpine.NEB.2.21.1803231750220.16704@panix2.panix.com>

Show all headers | View raw


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
carroll@tjc.com

Back to comp.lang.python.announce | Previous | Next | Find similar | Unroll thread


Thread

ANN: Plumage 1.3.0; access trademark status info from USPTO Terry Carroll <carroll@tjc.com> - 2018-03-23 17:55 -0400

csiph-web