A collection of court seals that can be used in any project.
Project description
This is a collection of court seals that can be cloned and used in any project. Original files can be found in the orig directory and converted versions can be found in the numerical directories.
The goal of this project is to collect and maintain an updated repository of all the seals that courts have created and to create seals for those rare courts that lack them altogether.
Contributing
This project is blissfully easy to contribute to and we need lots of help gathering or making files. The process for this is pretty simple.
Find or make the image and ensure it follows our quality guidelines (below).
Add the image file to the orig directory.
Edit seals.json to include the relevant fields for your new file.
That’s it!
index.html is a tool for quickly being able to see the progress on obtaining seals and quickly check the quality of the seals that have been obtained. You can refresh this file by opening it and pasting in the contents of seals.json where indicated (sloppy but effective).
If you wish to get involved as a developer, you’ll want to install this repository from git. Do the following:
Install imagemagick:
sudo apt-get install imagemagick
Download and link up the code:
sudo git clone https://github.com/freelawproject/seal-rookery /usr/local/seal_rookery
Install from your local source:
python setup.py install
Update the local copies of the images:
update-seals -f
Installation for Non-Developers
Basic usage doesn’t require any installation, but if you wish to import the seals.json file into a Python program, you may want to install the Seal Rookery as a Python module in your system. To do so:
Install imagemagick
sudo apt-get install imagemagick
Install the seal rookery
pip install seal_rookery
Update the seals
update-seals -f
You can then import the seals.json information into your project using:
from seal_rookery import seals_data
And you will have various sizes of all the seals ready to go on your system.
In the future, when you get the latest version of the rookery, run update-seals again to generate copies of any new images at various sizes. To see more information about this command run update-seals --help.
Quality Guidelines
Fact is, images are hard to work with and courts don’t always do the best job. Follow these guidelines so we can have nice things:
Convert your original file to png or svg, as appropriate. If you have the ps file, include that as well.
If you use transparency or the file has it, make sure the file looks OK on a background other than white. If it looks bizarre on an orange or blue background, fix it by adding a white layer on the bottom.
Trim any extraneous margins and if the seal is circular, make the corners transparent.
If the item was previously a jpeg or gif, it’s good to clean up the splotchiness created by the jpeg compression. You’ll see it if you zoom in.
Usage
We know of no instances where courts have requested a take down of their seal, however usage of government seals has caused a few stirs in the past. Don’t attempt to represent the government or its agents.
Deployment
Update the version info in setup.py.
Install the requirements in requirements-dev.txt
Set up a config file at ~/.pypirc containing the upload locations and authentication credentials.
Generate a distribution:
python setup.py bdist_wheel
Upload the distribution:
twine upload dist/* -r pypi
Copyright
Two things. First, if you are creating original work, please consider signing and emailing a contributor license to us so that we may protect the work later, if needed. We do this because we have a lot of experience with IP litigation, and this is a good way to protect a project.
Second, if you’re just curious about the copyright of this repository, see the License file for details. The short version of this is you can pretty much use it however you desire.
Credit Where Due
This project inspired by the initial visualization work of @nowherenearithaca.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
File details
Details for the file seal_rookery-0.9.30-py2-none-any.whl
.
File metadata
- Download URL: seal_rookery-0.9.30-py2-none-any.whl
- Upload date:
- Size: 18.1 MB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 946c3d7d527630abeb6d44a180b27f1408759ca99b1abdf14f5d046577aad95a |
|
MD5 | ade64e44a99e81b16bf27b1fb60893d8 |
|
BLAKE2b-256 | faf8e2c41edb70d2b77f69b1e9a855d4142bfb02960f5eca34b8d480e2e11661 |