Skip to content

Commit 991dca6

Browse files
committed
fix(judge-pics): fixes from pre-commit
1 parent 0e92b70 commit 991dca6

File tree

4 files changed

+39
-40
lines changed

4 files changed

+39
-40
lines changed

LICENSE

-1
Original file line numberDiff line numberDiff line change
@@ -42,4 +42,3 @@ ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
4242
OTHER DEALINGS IN THE SOFTWARE.
4343

4444
For more information, please refer to <http://unlicense.org>
45-

README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,12 @@ And then use that package to get the URL of a judge's portrait. You can do that
2121
Or if you know the CourtListener ID for that judge, that works too (and is more reliable). Ketanji Jackson is ID 1609, so:
2222

2323
>>> portrait(1609, ImageSizes.SMALL)
24-
'https://portraits.free.law/v2/128/jackson-ketanji-1970.jpeg'
24+
'https://portraits.free.law/v2/128/jackson-ketanji-1970.jpeg'
2525

2626
Now that you have the URL of the judge's photo in a useful size, just embed it in your application. Perhaps:
2727

2828
```html
29-
<img src="'https://portraits.free.law/v2/128/jackson-ketanji-1970.jpeg"
29+
<img src="'https://portraits.free.law/v2/128/jackson-ketanji-1970.jpeg"
3030
height=128 />
3131
```
3232

@@ -59,7 +59,7 @@ That's about it.
5959

6060
Very. It uses AWS S3 with CloudFront as a CDN. That gives us a LOT of nines.
6161

62-
### What about versioning?
62+
### What about versioning?
6363

6464
Over time, we will be adding more photos to these collections. These will arrive as updates to the Python package and as new photos in the service. We expect these to be generally backwards compatible, but if we need to break compatibility, we will do so by bumping the Python package to version 3.x, and changing the URL of the images to contain v3 instead of v2.
6565

@@ -79,7 +79,7 @@ Here's how we're thinking about it.
7979

8080
The short answer is that our incentives are aligned with yours. Because our website uses this same service, it would be difficult for an attacker to put malicious photos on your website without them also appearing on ours. This service is included in our [vulnerability disclosure policy][vdp], and we use process and technical measures to prevent incidents.
8181

82-
Because this service is hosted on S3, we do not manage servers and do not have to worry about things like expired HTTPS certificates, server vulnerabilities, etc.
82+
Because this service is hosted on S3, we do not manage servers and do not have to worry about things like expired HTTPS certificates, server vulnerabilities, etc.
8383

8484
In browsers, there is some discussion of a way to use cryptographic signatures to ensure the integrity of hotlinked images, but the feature has not seen much support. ([We're trying to nudge it along.][spec])
8585

additional-sources.md

+34-34
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
In no particular order, the following locations are known to have judge
1+
In no particular order, the following locations are known to have judge
22
portraits. Some may be subject to copyright restriction. If so, I've made notes
33
to that effect.
44

@@ -8,32 +8,32 @@ Federal Judicial Center
88
The Federal Judicial Center (FJC) has a page with biographies and images here:
99

1010
- http://www.fjc.gov/history/home.nsf/page/judges.html
11-
11+
1212
That shows biographies for a lot of federal judges and some of the biographies
13-
have images.
13+
have images.
1414

15-
I found some sort of file server here, where you can identify the images and
15+
I found some sort of file server here, where you can identify the images and
1616
some meta data about them:
1717

1818
- http://www.fjc.gov/history/portrait.nsf/lookup!OpenView&Start=1
19-
20-
To get these files, would probably require a fair amount of manual labor or a
19+
20+
To get these files, would probably require a fair amount of manual labor or a
2121
custom scraper, but there are about 200 that can be acquired.
2222

2323

2424
Philadelphia Courts
2525
-------------------
26-
The Philadelphia Courts have undertaken the collection of portraits and
26+
The Philadelphia Courts have undertaken the collection of portraits and
2727
biographical information on their site:
2828

2929
- http://www.courts.phila.gov/portraits/intro.asp
30-
30+
3131
By browsing around, you can find another few hundred images, but the copyright
32-
on these is not clear as these are not works of the Federal Government. We are
33-
looking into getting these images directly from the source with permission to
32+
on these is not clear as these are not works of the Federal Government. We are
33+
looking into getting these images directly from the source with permission to
3434
use and re-use them.
3535

36-
Note also that there are individual webpages that are easy to scrape:
36+
Note also that there are individual webpages that are easy to scrape:
3737

3838
- http://www.courts.phila.gov/portraits/bio.asp?P=9&keepThis=true&
3939

@@ -44,11 +44,11 @@ This blog regularly posts portraits of judges from Minnesota that they have in
4444
their collection at the library:
4545

4646
- http://ramseylawlibrary.org/?category_name=judicial-portraits
47-
48-
This would net about 30-40 portraits, but it may be worth contacting the
47+
48+
This would net about 30-40 portraits, but it may be worth contacting the
4949
library to see if they have more.
5050

51-
Copyright on these images is not clear. We will need to get permission to use
51+
Copyright on these images is not clear. We will need to get permission to use
5252
these.
5353

5454

@@ -58,24 +58,24 @@ These seven portraits might have been commissioned by the bar association or by
5858
the court:
5959

6060
- http://www.cavcbar.net/html/photo_gallery.html
61-
61+
6262
If by the court, then they're federal works and fair game. If not, then we need
6363
to reach out to the bar association and see if they can share these with us.
6464

6565
There's currently a contact email address on the page:
6666

6767
- cavcbarassoc@cavcbar.net
68-
68+
6969

7070
David Wells Roth
7171
----------------
72-
This guy is a pro painter that makes portraits and posts them on his site. He
73-
has a bunch for Puerto Rico, which he says they solicited him for. I get the
72+
This guy is a pro painter that makes portraits and posts them on his site. He
73+
has a bunch for Puerto Rico, which he says they solicited him for. I get the
7474
sense that these are fair game since they were made for the Puerto Rico federal
7575
court:
7676

7777
- http://davidwellsroth.com/portraits.html
78-
78+
7979
Still: Probably a good idea to get in touch with him about the photos. There are
8080
about 40 photos here.
8181

@@ -85,7 +85,7 @@ Pioneer Courthouse Galleries
8585
There is a collection of 10 9th Circuit Judges here:
8686

8787
- http://pioneercourthouse.org/gallery-judges-portraits.html
88-
88+
8989
These appear to be fair game, as this a federal court's website.
9090

9191

@@ -94,19 +94,19 @@ Portrait Presentations in the Supreme Court of North Carolina
9494
There are about 10 modern portraits here:
9595

9696
- http://nccourts.org/Courts/Appellate/Supreme/Portrait/Default.asp
97-
97+
9898
These are likely to have copyright restrictions.
9999

100100

101101

102102
Texas Jurists Collection at the Tarlton Law Library
103103
---------------------------------------------------
104-
This is a collection of about 400 judges, attorneys general and legal scholars:
104+
This is a collection of about 400 judges, attorneys general and legal scholars:
105105

106106
- https://www.lib.utexas.edu/taro/utlaw/00018/law-00018.html
107-
107+
108108
It appears it has not been digitized online, however I believe it is available
109-
by reaching out to the library as I have seen some of the digital versions in
109+
by reaching out to the library as I have seen some of the digital versions in
110110
other places.
111111

112112

@@ -115,7 +115,7 @@ Tarlton Law Library
115115
A collection of 160 judge portraits can be found:
116116

117117
- http://tarlton.law.utexas.edu/justices/profile/portrait/160
118-
118+
119119
Usage of these images may be challenging as different ones have different usage
120120
statements. However, the library as a whole has a CC Attribution License.
121121

@@ -126,19 +126,19 @@ http://federalcircuithistoricalsociety.org/judges_ctcl.htm#2
126126

127127
About 25 pics of Federal Circuit judges. The following attribution is requested:
128128

129-
> These photographs are the property of the Federal Circuit Historical Society.
130-
> Any reproduction of these photographs should acknowledge that they are being
129+
> These photographs are the property of the Federal Circuit Historical Society.
130+
> Any reproduction of these photographs should acknowledge that they are being
131131
> reproduced with the "Courtesy of the Federal Circuit Historical Society.
132132
133133

134134
Assorted Other Sources
135135
----------------------
136-
CA Superior Court: http://www.glenncourt.ca.gov/general_info/whoswho/judge.html
137-
WA Supreme Court: http://www.courts.wa.gov/appellate_trial_courts/SupremeCourt/?fa=supremecourt.home&scRequest=members
138-
CA8, but disorganized: http://www.lb8.uscourts.gov/pubsandservices/histsociety/hist_society.html
139-
CA10, nice collection: http://www.10thcircuithistory.org/judge-bios-n-s/
140-
MI, about 100 pics: http://www.micourthistory.org/justices/
141-
NC, ~30 pics: http://www.ncschs.net/Justices_of_the_Court.aspx
142-
KY, http://courts.ky.gov/courts/coa/Pages/coa.aspx and http://courts.ky.gov/courts/supreme/Pages/supremecourt.aspx
136+
CA Superior Court: http://www.glenncourt.ca.gov/general_info/whoswho/judge.html
137+
WA Supreme Court: http://www.courts.wa.gov/appellate_trial_courts/SupremeCourt/?fa=supremecourt.home&scRequest=members
138+
CA8, but disorganized: http://www.lb8.uscourts.gov/pubsandservices/histsociety/hist_society.html
139+
CA10, nice collection: http://www.10thcircuithistory.org/judge-bios-n-s/
140+
MI, about 100 pics: http://www.micourthistory.org/justices/
141+
NC, ~30 pics: http://www.ncschs.net/Justices_of_the_Court.aspx
142+
KY, http://courts.ky.gov/courts/coa/Pages/coa.aspx and http://courts.ky.gov/courts/supreme/Pages/supremecourt.aspx
143143

144144
You can also find lots of things by looking for historical societies.

judge_pics/data/people.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -11240,4 +11240,4 @@
1124011240
"person": 9707,
1124111241
"source": "Provided by the Judiciary of Tennessee"
1124211242
}
11243-
]
11243+
]

0 commit comments

Comments
 (0)