Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)
MIT

Copyright (c) 2020 knod
Copyright (c) 2026 knod

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
16 changes: 16 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1 +1,17 @@
include README.md
graft docassemble/juvenilesealing/data
recursive-exclude * *.egg-info
recursive-exclude .git *
recursive-exclude venv *
recursive-exclude .github *
recursive-exclude .pytest_cache *
recursive-exclude .vscode *
recursive-exclude build *
recursive-exclude dist *
recursive-exclude * __pycache__
recursive-exclude * *.pyc
recursive-exclude * *.pyo
recursive-exclude * *.orig
recursive-exclude * *~
recursive-exclude * *.bak
recursive-exclude * *.swp
2 changes: 1 addition & 1 deletion docassemble/juvenilesealing/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '0.0.117'
__version__ = '1.0.1'
68 changes: 34 additions & 34 deletions docassemble/juvenilesealing/data/questions/sealing-body.yml
Original file line number Diff line number Diff line change
Expand Up @@ -335,24 +335,24 @@ attachment:
filename: ${atch_name}
pdf template file: sealing-form.pdf
fields:
- "applicant.no_delinquency": 'Yes'
- "applicant.name.last": ''
- "applicant.name.first": ''
- "applicant.name.middle": ''
- "applicant.dob": ''
- "applicant.alias": ''
- "applicant.address": ''
- "applicant.city": ''
- "applicant.state": ''
- "applicant.zip": ''
- "applicant.occupation": ''
- "applicant.ssn": ''
- "applicant.place_of_birth": ''
- "applicant.fathers_name": ''
- "applicant.mothers_maiden_name": ''
- "applicant.spouses_name": ''
- "applicant_no_delinquency": 'Yes'
- "applicant_name_last": 'a name'
- "applicant_name_first": ''
- "applicant_name_middle": ''
- "applicant_dob": ''
- "applicant_alias": ''
- "applicant_address": ''
- "applicant_city": ''
- "applicant_state": ''
- "applicant_zip": ''
- "applicant_occupation": ''
- "applicant_ssn": ''
- "applicant_place_of_birth": ''
- "applicant_fathers_name": ''
- "applicant_mothers_maiden_name": ''
- "applicant_spouses_name": ''
- "signature_always": ''
- "checkboxes.juvenile": 'Yes'
- "checkboxes_juvenile": 'Yes'
- "signature_juvenile": ''
---
id: full_petition
Expand All @@ -362,24 +362,24 @@ attachment:
filename: ${atch_name}
pdf template file: sealing-form.pdf
fields:
- "applicant.no_delinquency": 'Yes'
- "applicant.name.last": ${applicant.name.last}
- "applicant.name.first": ${applicant.name.first}
- "applicant.name.middle": ${applicant.name.middle}
- "applicant.dob": ${applicant.birthdate}
- "applicant.alias": ${applicant.alias}
- "applicant.address": ${applicant.address.address}
- "applicant.city": ${applicant.address.city}
- "applicant.state": ${applicant.address.state}
- "applicant.zip": ${applicant.address.zip}
- "applicant.occupation": ${applicant.occupation}
- "applicant.ssn": ${applicant.ssn}
- "applicant.place_of_birth": ${applicant.place_of_birth}
- "applicant.fathers_name": ${applicant.fathers_maiden_name}
- "applicant.mothers_maiden_name": ${applicant.mothers_maiden_name}
- "applicant.spouses_name": ${applicant.spouses_name}
- "applicant_no_delinquency": 'Yes'
- "applicant_name_last": ${applicant.name.last}
- "applicant_name_first": ${applicant.name.first}
- "applicant_name_middle": ${applicant.name.middle}
- "applicant_dob": ${applicant.birthdate}
- "applicant_alias": ${applicant.alias}
- "applicant_address": ${applicant.address.address}
- "applicant_city": ${applicant.address.city}
- "applicant_state": ${applicant.address.state}
- "applicant_zip": ${applicant.address.zip}
- "applicant_occupation": ${applicant.occupation}
- "applicant_ssn": ${applicant.ssn}
- "applicant_place_of_birth": ${applicant.place_of_birth}
- "applicant_fathers_name": ${applicant.fathers_maiden_name}
- "applicant_mothers_maiden_name": ${applicant.mothers_maiden_name}
- "applicant_spouses_name": ${applicant.spouses_name}
- "signature_always": ''
- "checkboxes.juvenile": 'Yes'
- "checkboxes_juvenile": 'Yes'
- "signature_juvenile": ''
---
id: suggest_get_records
Expand Down
2 changes: 1 addition & 1 deletion docassemble/juvenilesealing/data/sources/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Sources directory

This directory is used to store word translation files,
machine learning training files, and other source files.
machine learning training files, and other sources of data.
Binary file modified docassemble/juvenilesealing/data/templates/sealing-form.pdf
Binary file not shown.
30 changes: 30 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
license = "MIT"
license-files = [
"LICENSE",
]

[build-system]
requires = [
"setuptools==80.9.0",
]
build-backend = "setuptools.build_meta"

[project]
name = "docassemble.juvenilesealing"
version = "1.0.1"
description = "A docassemble extension for sealing juvenile records."
readme = "README.md"
authors = [
{ name = "knod", email = "lsquery@example.com" },
]
dependencies = [
"docassemble.gbls>=0.0.58",
]

[project.urls]
Homepage = "https://docassemble.org"

[tool.setuptools.packages.find]
where = [
".",
]
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
[metadata]
description-file = README.md
long_description = file: README.md
15 changes: 7 additions & 8 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
import os
import sys
from setuptools import setup, find_packages
from setuptools import setup, find_namespace_packages
from fnmatch import fnmatchcase
from distutils.util import convert_path

standard_exclude = ('*.pyc', '*~', '.*', '*.bak', '*.swp*')
standard_exclude_directories = ('.*', 'CVS', '_darcs', './build', './dist', 'EGG-INFO', '*.egg-info')

def find_package_data(where='.', package='', exclude=standard_exclude, exclude_directories=standard_exclude_directories):
out = {}
stack = [(convert_path(where), '', package)]
Expand Down Expand Up @@ -43,18 +44,16 @@ def find_package_data(where='.', package='', exclude=standard_exclude, exclude_d
return out

setup(name='docassemble.juvenilesealing',
version='0.0.117',
version='1.0.1',
description=('A docassemble extension for sealing juvenile records.'),
long_description='# Sealing Juvenile Records\r\n\r\nThis process should be easier for both petitioners themselves and\r\nlegal professionals who hope to support petitioners. This tool\r\nis focused on MA.\r\n\r\n## Design\r\n\r\n### MVP should include\r\n\r\n1. Expectation setting.\r\n1. Links to support we cannot provide.\r\n1. Mobile friendly UI.\r\n1. A printable PDF.\r\n\r\n### Interview steps\r\n\r\n1. Check for immigration status **separately from the main interview**\r\n1. Screen for legal professionals\r\n1. Link to get certified dockets\r\n1. Sealing eligibility questions\r\n1. Personal details questions\r\n1. Downloadable/printable pre-filled petition PDF\r\n1. Provide the address for mailing the petition\r\n\r\n## Users\r\n\r\n### Target Audiences\r\n\r\n1. Petitioners.\r\n1. Legal professionals or clinic volunteers.\r\n\r\n### Unresovled Petitioner Barriers\r\n\r\n1. Frustration and distrust of the process.\r\n1. No access to printers.\r\n1. Which vocabulary will they find familiar?\r\n\r\n**User research needs to play a large role in the design of this tool.**\r\n\r\nThis tool is made with [Docassemble](https://github.com/jhpyle/docassemble).\r\n\r\n## Testing\r\n\r\n### Chai/Puppeteer tests\r\n\r\nThe first time you clone this repo, make sure you have NPM installed and run `npm install`.\r\nThis will install the libraries required for testing.\r\n\r\nTo run the tests, run `npm run test`.\r\n\r\n### Aloe/Lettuce tests\r\n\r\nTo get these tests to run, you need to download chromedriver from https://sites.google.com/a/chromium.org/chromedriver/ and put it in `tests/`\r\nYou also need to `pip3 install aloe selenium certifi`\r\n\r\nTo run [a feature test](https://docassemble.org/docs/development.html#bdd):\r\n```\r\ncd tests\r\naloe features/hello_world.feature\r\n```\r\n',
long_description='# Sealing Juvenile Records\r\n\r\nThis process should be easier for both petitioners themselves and\r\nlegal professionals who hope to support petitioners. This tool\r\nis focused on MA.\r\n\r\n## Design\r\n\r\n### MVP should include\r\n\r\n1. Expectation setting.\r\n1. Links to support we cannot provide.\r\n1. Mobile friendly UI.\r\n1. A printable PDF.\r\n\r\n### Interview steps\r\n\r\n1. Check for immigration status **separately from the main interview**\r\n1. Screen for legal professionals\r\n1. Link to get certified dockets\r\n1. Sealing eligibility questions\r\n1. Personal details questions\r\n1. Downloadable/printable pre-filled petition PDF\r\n1. Provide the address for mailing the petition\r\n\r\n## Users\r\n\r\n### Target Audiences\r\n\r\n1. Petitioners.\r\n1. Legal professionals or clinic volunteers.\r\n\r\n### Unresovled Petitioner Barriers\r\n\r\n1. Frustration and distrust of the process.\r\n1. No access to printers.\r\n1. Which vocabulary will they find familiar?\r\n\r\n**User research needs to play a large role in the design of this tool.**\r\n\r\nThis tool is made with [Docassemble](https://github.com/jhpyle/docassemble).\r\n\r\n## Testing\r\n\r\n### Cucumber tests\r\n\r\nTo get these tests to run on your local development machine (e.g., your laptop), make sure you have NPM installed.\r\n\r\nThe first time you run these tests, type `npm install` into your terminal. This will install the packages required for testing.\r\n\r\nTo run the tests, type `npm run local` into your terminal.\r\n\r\nTo run a single test file:\r\n```\r\nnpm run setup\r\n./node_modules/.bin/cucumber-js --require ./node_modules/docassemble-cucumber/lib/index.js tests/features/TEST_NAME.feature\r\nnpm run takedown\r\n```\r\n',
long_description_content_type='text/markdown',
author='knod',
author_email='lsquery@example.com',
license='The MIT License (MIT)',
license='MIT',
url='https://docassemble.org',
packages=find_packages(),
namespace_packages=['docassemble'],
install_requires=['docassemble.gbls'],
packages=find_namespace_packages(),
install_requires=['docassemble.gbls>=0.0.58'],
zip_safe=False,
package_data=find_package_data(where='docassemble/juvenilesealing/', package='docassemble.juvenilesealing'),
)

Loading