No project description provided
Project description
Suffolk LIT Lab Document Assembly Line
The Assembly Line Project is a collection of volunteers, students, and institutions who joined together during the COVID-19 pandemic to help increase access to the court system. Our vision is mobile-friendly, easy to use guided online forms that help empower litigants to access the court remotely.
Our signature project is CourtFormsOnline.org.
We designed a step-by-step, assembly line style process for automating court forms on top of Docassemble and built several tools along the way that you can use in your home jurisdiction.
This package contains runtime code and pre-written questions to support authoring robust, consistent, and attractive Docassemble interviews that help complete court forms.
Read more on our documentation page.
Related repositories
- https://github.com/SuffolkLitLab/docassemble-ALWeaver
- https://github.com/SuffolkLitLab/docassemble-ALMassachusetts
- https://github.com/SuffolkLitLab/docassemble-MassAccess
- https://github.com/SuffolkLitLab/docassemble-ALThemeTemplate
- https://github.com/SuffolkLitLab/EfileProxyServer
Documentation
https://suffolklitlab.org/docassemble-AssemblyLine-documentation/
Installation
Menu-driven installation
The recommended installation method is with the guided installation script.
Manual installation
Normally you do not need to manually install the Assembly Line. Use the installation script if you can. The instructions below are for your optional reference.
This package depends on the following configuration changes on your Docassemble server:
- Ensure that font-awesome is enabled (this may be on by default:
default icons: font awesome
- Add a Google API key that has access to:
- Google Places API
- Google Geocoding API
- Add a VoiceRSS API key
- Add a Twilio API key for SMS support
- Add an email account: Mailgun or SendGrid recommended for email support
- To show package update time and to enable the feedback form, add a GitHub Private Access token to your config.yml file, like this:
# Needs access to create new issues on repositories
github issues:
username: "suffolklitlab-issues"
token: "12345"
# Does not need any special access to public repositories
github readonly:
username: "suffolklitlab-issues"
password: "45678"
type: "basic"
- If you are also using the Assembly Line Weaver, you may want to set up a Docassemble API key in your config.yml file to allow you to install packages automatically, like this:
install packages api key: 12345
Migration
See discussion here
ALDocument class
Purpose
The ALDocument class is a small utility library that makes it simpler to use the following features in an interview:
- Conditional assembly of multiple, optional documents that are triggered in different ways in your interview
- An addendum for PDF files that makes it simple to deal with overflow text
- A customizable download screen that lists the documents in a neat table
- A customizable "send" button that allows the user to email the final forms to a location of their choice
Here is a small snippet that you can copy and modify that shows how to use the most important features of the ALDocument class.
---
objects:
- CRA_Motion_to_Dismiss_attachment: ALDocument.using(filename="CRA_Motion_to_Dismiss", title="Motion to Dismiss CRA", enabled=True, has_addendum=True, default_overflow_message="[See addendum]")
---
objects:
- al_user_bundle: ALDocumentBundle.using(elements=[CRA_Motion_to_Dismiss_attachment], title="Forms to download and deliver to court", filename="motion_to_dismiss_CRA.pdf")
- al_court_bundle: ALDocumentBundle.using(elements=[CRA_Motion_to_Dismiss_attachment], title="Forms to download and deliver to court", filename="motion_to_dismiss_CRA.pdf")
---
generic object: ALDocument
attachment:
variable name: x.addendum
docx template file: docx_addendum.docx
---
code: |
CRA_Motion_to_Dismiss_attachment.overflow_fields['reasons_for_request'].overflow_trigger = 640
CRA_Motion_to_Dismiss_attachment.overflow_fields['reasons_for_request'].label = "Reasons for request"
CRA_Motion_to_Dismiss_attachment.overflow_fields.gathered = True
---
attachment:
variable name: CRA_Motion_to_Dismiss_attachment[i]
name: CRA Motion to Dismiss
filename: CRA_Motion_to_Dismiss
skip undefined: True
pdf template file: CRA_Motion_to_Dismiss.pdf
fields:
- "court_county": ${ trial_court.address.county }
- "docket_number": ${ docket_number }
- "user_signature": ${ users[0].signature_if_final(i) }
- "signature_date": ${ signature_date }
It is very common to have a contingent document in ALDocument. If your document is contingent, remove the enabled=True
from the object declaration, and use
some other method to "turn on" the attachment.
E.g.,
code: |
CRA_Motion_to_Dismiss_attachment.enabled = condition1 and condition2
Changelog
See CHANGELOG.MD
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 Distribution
Built Distribution
File details
Details for the file docassemble_assemblyline-3.2.0.tar.gz
.
File metadata
- Download URL: docassemble_assemblyline-3.2.0.tar.gz
- Upload date:
- Size: 997.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e45427c78f84833754174df8c825b3f488d6e89cc68465852ef432685f265497 |
|
MD5 | de876efb620cd3cf703b9b75fe3d4f12 |
|
BLAKE2b-256 | bbb323d2b972ba19bb8bc103c04e2cded0ba4a8e74ead6c2327b5bc992d1bf48 |
File details
Details for the file docassemble.AssemblyLine-3.2.0-py3-none-any.whl
.
File metadata
- Download URL: docassemble.AssemblyLine-3.2.0-py3-none-any.whl
- Upload date:
- Size: 1.0 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6e7dbbdf0adfb31330ce6e15bb22491da8ce19327fb676246cf2330fd68ebff0 |
|
MD5 | bb2f87ce79895efe47f3aa42c0ebc803 |
|
BLAKE2b-256 | 621278f6bc17044b820da9761420d57f945a1e313771725a33266162db0a1042 |