fr-toolbelt


Namefr-toolbelt JSON
Version 0.1.4 PyPI version JSON
download
home_pageNone
SummaryToolbelt of classes and functions written in Python to use with the Federal Register (FR) API.
upload_time2024-11-24 18:51:48
maintainerNone
docs_urlNone
authorNone
requires_python>=3.10
licenseMIT License Copyright (c) 2024 Mark Febrizio Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
keywords federal register government api regulation regulatory
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # fr-toolbelt

[![PyPI - Version](https://img.shields.io/pypi/v/fr-toolbelt?color=033C5A)](https://pypi.org/project/fr-toolbelt/)
[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/fr-toolbelt?color=AA9868)](https://www.python.org/downloads/)

Toolbelt of classes and functions written in Python to use with the [Federal Register API](https://www.federalregister.gov/developers/documentation/api/v1). The Federal Register (FR) is the daily journal of the U.S. government, containing rules, proposed rules, notices, and presidential documents from federal agencies.

Name inspired by the [Requests Toolbelt](https://github.com/requests/toolbelt) package. "FR" is a common shorthand for the Federal Register, in part because document citations take the form of VOLUME FR STARTPAGE (e.g., [88 FR 21879](https://www.federalregister.gov/d/2023-07760)).

## Installation

Install using pip:

```bash
pip install fr-toolbelt
```

This package was developed with Python 3.12 and requires Python 3.10 or higher.

## Basic Usage

You can run the package as a module to get an illustration of how it processes documents:

```bash
python -m fr_toolbelt
```

Generally, you'll want to import specific classes or functions to meet your project's needs. More on what each module offers below.

The FR toolbelt package contains several modules:

- `api_requests` for requesting documents from the Federal Register API.
- `preprocessing` for processing Federal Register documents to further analyze.
- `utils` for providing utility classes and functions to the other modules

### fr_toolbelt.api_requests module

The `api_requests` module makes it easy to retrieve FR documents from the API by specifying a date range or providing a list of document numbers (`document_number` is the unique identifier for each document).

A simple request for documents published in January 2024 requires a start and end date and returns a tuple of the list of results and the count of retrieved documents.

```python
from fr_toolbelt.api_requests import get_documents_by_date

start = "2024-01-01"
end = "2024-01-31"
results, count = get_documents_by_date(start, end)

```

To only retrieve documents of a particular type (or types), pass the document_types parameter to the function call.

```python
start = "2024-01-01"
end = "2024-01-31"
types = ["RULE", "PRORULE"]
results, count = get_documents_by_date(start, end, document_types=types)
```

To deviate from the default set of fields, pass the fields parameter to the function call.

```python
start = "2024-01-01"
end = "2024-01-31"
fields = ["document_number", "publication_date", "raw_text_url"]
results, count = get_documents_by_date(start, end, fields=fields)
```

More customization is possible by examining the parameters and docstrings. Note that the `get_documents_by_date` function works around the FR API's maximum of 10,000 results per search by querying smaller subsets of documents and compiling them into a larger result set. So retrieving all [28,308 documents published in 2020](https://www.federalregister.gov/api/v1/documents.json?conditions[publication_date][year]=2020&per_page=1000) is now possible with a single function call.

To collect a particular set of documents, pass their document numbers as a parameter.

```python
from fr_toolbelt.api_requests import get_documents_by_number

document_numbers = ["2024-02204", "2023-28203", "2023-25797"]
results, count = get_documents_by_number(document_numbers)
```

The `api_requests` module may add support for endpoints other than the documents endpoint at a future point.

### fr_toolbelt.preprocessing module

The `preprocessing` module handles common tasks to process the API data in a usable format. Below is an example of what the raw API data look like for a single illustrative document. Notice how fields like "agencies" and "regulation_id_number_info" are nested data structures that are difficult to use in their raw form.

```JSON5
{'agencies': [{'id': 12,
               'json_url': 'https://www.federalregister.gov/api/v1/agencies/12',
               'name': 'Agriculture Department',
               'parent_id': None,
               'raw_name': 'DEPARTMENT OF AGRICULTURE',
               'slug': 'agriculture-department',
               'url': 'https://www.federalregister.gov/agencies/agriculture-department'},
              {'id': 456,
               'json_url': 'https://www.federalregister.gov/api/v1/agencies/456',
               'name': 'Rural Business-Cooperative Service',
               'parent_id': 12,
               'raw_name': 'Rural Business-Cooperative Service',
               'slug': 'rural-business-cooperative-service',
               'url': 'https://www.federalregister.gov/agencies/rural-business-cooperative-service'}],
 'agency_names': ['Agriculture Department',
                  'Rural Business-Cooperative Service'],
 'docket_ids': ['DOCKET #: RBS-23-BUSINESS-0024'],
 'dockets': [{'agency_name': 'RBS',
              'documents': [{'allow_late_comments': None,
                             'comment_count': 1,
                             'comment_end_date': '2024-04-02',
                             'comment_start_date': '2024-01-02',
                             'comment_url': 'https://www.regulations.gov/commenton/RBS-23-BUSINESS-0024-0001',
                             'id': 'RBS-23-BUSINESS-0024-0001',
                             'regulations_dot_gov_open_for_comment': True,
                             'updated_at': '2024-01-22T00:04:26.978-05:00'}],
              'id': 'RBS-23-BUSINESS-0024',
              'supporting_documents': [],
              'supporting_documents_count': 0,
              'title': 'Notice of Funding Opportunity for the Rural Innovation '
                       'Stronger Economy (RISE) Grant Program for Fiscal Year '
                       '2024'}],
 'document_number': '2023-26792',
 'president': {'identifier': 'joe-biden', 'name': 'Joseph R. Biden Jr.'},
 'publication_date': '2024-01-02',
 'regulation_id_number_info': {},
 'title': 'Notice of Solicitation of Applications for the Rural Innovation '
          'Stronger Economy (RISE) Grant Program for Fiscal Year 2024',
 'type': 'Notice'}
```

To preprocess the agency information in a set of documents, we would use the `AgencyMetadata` class to retrieve agency metadata from the API and then process the documents with the `AgencyData` class.

```python
from fr_toolbelt.preprocessing import AgencyMetadata, AgencyData

# first we collect metadata for processing the agency information
agency_metadata = AgencyMetadata()
metadata, schema = agency_metadata.get_agency_metadata()

# then we process the documents using the AgencyData class
agency_data = AgencyData(results, metadata, schema)
processed_agencies = agency_data.process_data(return_format="name")
```

Below, see how the illustrative document shown previously now contains new key: value pairs ("agency_slugs", "independent_reg_agency", "parent_name", "subagency_name") and removes the old ones ("agencies", "agency_names").

```JSON5
{'agency_slugs': ['rural-business-cooperative-service',
                  'agriculture-department'],
 'docket_ids': ['DOCKET #: RBS-23-BUSINESS-0024'],
 'dockets': [{'agency_name': 'RBS',
              'documents': [{'allow_late_comments': None,
                             'comment_count': 1,
                             'comment_end_date': '2024-04-02',
                             'comment_start_date': '2024-01-02',
                             'comment_url': 'https://www.regulations.gov/commenton/RBS-23-BUSINESS-0024-0001',
                             'id': 'RBS-23-BUSINESS-0024-0001',
                             'regulations_dot_gov_open_for_comment': True,
                             'updated_at': '2024-01-22T00:04:26.978-05:00'}],
              'id': 'RBS-23-BUSINESS-0024',
              'supporting_documents': [],
              'supporting_documents_count': 0,
              'title': 'Notice of Funding Opportunity for the Rural Innovation '
                       'Stronger Economy (RISE) Grant Program for Fiscal Year '
                       '2024'}],
 'document_number': '2023-26792',
 'independent_reg_agency': False,
 'parent_name': 'Agriculture Department',
 'president': {'identifier': 'joe-biden', 'name': 'Joseph R. Biden Jr.'},
 'publication_date': '2024-01-02',
 'regulation_id_number_info': {},
 'subagency_name': 'Rural Business-Cooperative Service',
 'title': 'Notice of Solicitation of Applications for the Rural Innovation '
          'Stronger Economy (RISE) Grant Program for Fiscal Year 2024',
 'type': 'Notice'}
```

A similar series of commands accomplishes data processing for other fields. Classes are available for preprocessing "president" (`Presidents`), "regulation_id_number_info" (`RegInfoData`), and fields related to public commenting dockets (`Dockets` and `RegDotGovData`).

Alternatively, the `process_documents` function provides a simpler interface for combining these functionalities together.

```python
from fr_toolbelt.preprocessing import process_documents

# passing the del_keys parameter deletes those keys from the resulting dict
processed_docs = process_documents(results, del_keys=("type", "docket_ids"))
```

```JSON5
{'agency_slugs': ['rural-business-cooperative-service',
                  'agriculture-department'],
 'docket_id': 'RBS-23-BUSINESS-0024',
 'document_number': '2023-26792',
 'independent_reg_agency': False,
 'parent_slug': 'agriculture-department',
 'president_id': 'joe-biden',
 'publication_date': '2024-01-02',
 'rin': None,
 'rin_priority': None,
 'subagency_slug': 'rural-business-cooperative-service',
 'title': 'Notice of Solicitation of Applications for the Rural Innovation '
          'Stronger Economy (RISE) Grant Program for Fiscal Year 2024'}
```

You can select which fields you want to process with this function too.

```python
from fr_toolbelt.preprocessing import process_documents

# passing the which parameter to select which fields to process
processed_docs = process_documents(results, which=("agencies", "presidents"), del_keys="docket_ids")
```

```JSON5
{'agency_slugs': ['rural-business-cooperative-service',
                  'agriculture-department'],
 'dockets': [{'agency_name': 'RBS',
              'documents': [{'allow_late_comments': None,
                             'comment_count': 1,
                             'comment_end_date': '2024-04-02',
                             'comment_start_date': '2024-01-02',
                             'comment_url': 'https://www.regulations.gov/commenton/RBS-23-BUSINESS-0024-0001',
                             'id': 'RBS-23-BUSINESS-0024-0001',
                             'regulations_dot_gov_open_for_comment': True,
                             'updated_at': '2024-01-22T00:04:26.978-05:00'}],
              'id': 'RBS-23-BUSINESS-0024',
              'supporting_documents': [],
              'supporting_documents_count': 0,
              'title': 'Notice of Funding Opportunity for the Rural Innovation '
                       'Stronger Economy (RISE) Grant Program for Fiscal Year '
                       '2024'}],
 'document_number': '2023-26792',
 'independent_reg_agency': False,
 'parent_name': 'Agriculture Department',
 'president_id': 'joe-biden',
 'publication_date': '2024-01-02',
 'regulation_id_number_info': {},
 'subagency_name': 'Rural Business-Cooperative Service',
 'title': 'Notice of Solicitation of Applications for the Rural Innovation '
          'Stronger Economy (RISE) Grant Program for Fiscal Year 2024',
 'type': 'Notice'}
```

### fr_toolbelt.utils module

These functions handle date formatting under the hood and provide functionality for identifying and removing duplicate entries (not a current bug in the FR API if passing the order=oldest or order=newest parameter in a request).

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "fr-toolbelt",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.10",
    "maintainer_email": "Mark Febrizio <mark.febrizio@gmail.com>",
    "keywords": "Federal Register, government, api, regulation, regulatory",
    "author": null,
    "author_email": "Mark Febrizio <mark.febrizio@gmail.com>",
    "download_url": "https://files.pythonhosted.org/packages/02/d8/174344a353e1943e6a08dda1af635360a2e59dd7f5d4369f17cce947c9ac/fr_toolbelt-0.1.4.tar.gz",
    "platform": null,
    "description": "# fr-toolbelt\n\n[![PyPI - Version](https://img.shields.io/pypi/v/fr-toolbelt?color=033C5A)](https://pypi.org/project/fr-toolbelt/)\n[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/fr-toolbelt?color=AA9868)](https://www.python.org/downloads/)\n\nToolbelt of classes and functions written in Python to use with the [Federal Register API](https://www.federalregister.gov/developers/documentation/api/v1). The Federal Register (FR) is the daily journal of the U.S. government, containing rules, proposed rules, notices, and presidential documents from federal agencies.\n\nName inspired by the [Requests Toolbelt](https://github.com/requests/toolbelt) package. \"FR\" is a common shorthand for the Federal Register, in part because document citations take the form of VOLUME FR STARTPAGE (e.g., [88 FR 21879](https://www.federalregister.gov/d/2023-07760)).\n\n## Installation\n\nInstall using pip:\n\n```bash\npip install fr-toolbelt\n```\n\nThis package was developed with Python 3.12 and requires Python 3.10 or higher.\n\n## Basic Usage\n\nYou can run the package as a module to get an illustration of how it processes documents:\n\n```bash\npython -m fr_toolbelt\n```\n\nGenerally, you'll want to import specific classes or functions to meet your project's needs. More on what each module offers below.\n\nThe FR toolbelt package contains several modules:\n\n- `api_requests` for requesting documents from the Federal Register API.\n- `preprocessing` for processing Federal Register documents to further analyze.\n- `utils` for providing utility classes and functions to the other modules\n\n### fr_toolbelt.api_requests module\n\nThe `api_requests` module makes it easy to retrieve FR documents from the API by specifying a date range or providing a list of document numbers (`document_number` is the unique identifier for each document).\n\nA simple request for documents published in January 2024 requires a start and end date and returns a tuple of the list of results and the count of retrieved documents.\n\n```python\nfrom fr_toolbelt.api_requests import get_documents_by_date\n\nstart = \"2024-01-01\"\nend = \"2024-01-31\"\nresults, count = get_documents_by_date(start, end)\n\n```\n\nTo only retrieve documents of a particular type (or types), pass the document_types parameter to the function call.\n\n```python\nstart = \"2024-01-01\"\nend = \"2024-01-31\"\ntypes = [\"RULE\", \"PRORULE\"]\nresults, count = get_documents_by_date(start, end, document_types=types)\n```\n\nTo deviate from the default set of fields, pass the fields parameter to the function call.\n\n```python\nstart = \"2024-01-01\"\nend = \"2024-01-31\"\nfields = [\"document_number\", \"publication_date\", \"raw_text_url\"]\nresults, count = get_documents_by_date(start, end, fields=fields)\n```\n\nMore customization is possible by examining the parameters and docstrings. Note that the `get_documents_by_date` function works around the FR API's maximum of 10,000 results per search by querying smaller subsets of documents and compiling them into a larger result set. So retrieving all [28,308 documents published in 2020](https://www.federalregister.gov/api/v1/documents.json?conditions[publication_date][year]=2020&per_page=1000) is now possible with a single function call.\n\nTo collect a particular set of documents, pass their document numbers as a parameter.\n\n```python\nfrom fr_toolbelt.api_requests import get_documents_by_number\n\ndocument_numbers = [\"2024-02204\", \"2023-28203\", \"2023-25797\"]\nresults, count = get_documents_by_number(document_numbers)\n```\n\nThe `api_requests` module may add support for endpoints other than the documents endpoint at a future point.\n\n### fr_toolbelt.preprocessing module\n\nThe `preprocessing` module handles common tasks to process the API data in a usable format. Below is an example of what the raw API data look like for a single illustrative document. Notice how fields like \"agencies\" and \"regulation_id_number_info\" are nested data structures that are difficult to use in their raw form.\n\n```JSON5\n{'agencies': [{'id': 12,\n               'json_url': 'https://www.federalregister.gov/api/v1/agencies/12',\n               'name': 'Agriculture Department',\n               'parent_id': None,\n               'raw_name': 'DEPARTMENT OF AGRICULTURE',\n               'slug': 'agriculture-department',\n               'url': 'https://www.federalregister.gov/agencies/agriculture-department'},\n              {'id': 456,\n               'json_url': 'https://www.federalregister.gov/api/v1/agencies/456',\n               'name': 'Rural Business-Cooperative Service',\n               'parent_id': 12,\n               'raw_name': 'Rural Business-Cooperative Service',\n               'slug': 'rural-business-cooperative-service',\n               'url': 'https://www.federalregister.gov/agencies/rural-business-cooperative-service'}],\n 'agency_names': ['Agriculture Department',\n                  'Rural Business-Cooperative Service'],\n 'docket_ids': ['DOCKET #: RBS-23-BUSINESS-0024'],\n 'dockets': [{'agency_name': 'RBS',\n              'documents': [{'allow_late_comments': None,\n                             'comment_count': 1,\n                             'comment_end_date': '2024-04-02',\n                             'comment_start_date': '2024-01-02',\n                             'comment_url': 'https://www.regulations.gov/commenton/RBS-23-BUSINESS-0024-0001',\n                             'id': 'RBS-23-BUSINESS-0024-0001',\n                             'regulations_dot_gov_open_for_comment': True,\n                             'updated_at': '2024-01-22T00:04:26.978-05:00'}],\n              'id': 'RBS-23-BUSINESS-0024',\n              'supporting_documents': [],\n              'supporting_documents_count': 0,\n              'title': 'Notice of Funding Opportunity for the Rural Innovation '\n                       'Stronger Economy (RISE) Grant Program for Fiscal Year '\n                       '2024'}],\n 'document_number': '2023-26792',\n 'president': {'identifier': 'joe-biden', 'name': 'Joseph R. Biden Jr.'},\n 'publication_date': '2024-01-02',\n 'regulation_id_number_info': {},\n 'title': 'Notice of Solicitation of Applications for the Rural Innovation '\n          'Stronger Economy (RISE) Grant Program for Fiscal Year 2024',\n 'type': 'Notice'}\n```\n\nTo preprocess the agency information in a set of documents, we would use the `AgencyMetadata` class to retrieve agency metadata from the API and then process the documents with the `AgencyData` class.\n\n```python\nfrom fr_toolbelt.preprocessing import AgencyMetadata, AgencyData\n\n# first we collect metadata for processing the agency information\nagency_metadata = AgencyMetadata()\nmetadata, schema = agency_metadata.get_agency_metadata()\n\n# then we process the documents using the AgencyData class\nagency_data = AgencyData(results, metadata, schema)\nprocessed_agencies = agency_data.process_data(return_format=\"name\")\n```\n\nBelow, see how the illustrative document shown previously now contains new key: value pairs (\"agency_slugs\", \"independent_reg_agency\", \"parent_name\", \"subagency_name\") and removes the old ones (\"agencies\", \"agency_names\").\n\n```JSON5\n{'agency_slugs': ['rural-business-cooperative-service',\n                  'agriculture-department'],\n 'docket_ids': ['DOCKET #: RBS-23-BUSINESS-0024'],\n 'dockets': [{'agency_name': 'RBS',\n              'documents': [{'allow_late_comments': None,\n                             'comment_count': 1,\n                             'comment_end_date': '2024-04-02',\n                             'comment_start_date': '2024-01-02',\n                             'comment_url': 'https://www.regulations.gov/commenton/RBS-23-BUSINESS-0024-0001',\n                             'id': 'RBS-23-BUSINESS-0024-0001',\n                             'regulations_dot_gov_open_for_comment': True,\n                             'updated_at': '2024-01-22T00:04:26.978-05:00'}],\n              'id': 'RBS-23-BUSINESS-0024',\n              'supporting_documents': [],\n              'supporting_documents_count': 0,\n              'title': 'Notice of Funding Opportunity for the Rural Innovation '\n                       'Stronger Economy (RISE) Grant Program for Fiscal Year '\n                       '2024'}],\n 'document_number': '2023-26792',\n 'independent_reg_agency': False,\n 'parent_name': 'Agriculture Department',\n 'president': {'identifier': 'joe-biden', 'name': 'Joseph R. Biden Jr.'},\n 'publication_date': '2024-01-02',\n 'regulation_id_number_info': {},\n 'subagency_name': 'Rural Business-Cooperative Service',\n 'title': 'Notice of Solicitation of Applications for the Rural Innovation '\n          'Stronger Economy (RISE) Grant Program for Fiscal Year 2024',\n 'type': 'Notice'}\n```\n\nA similar series of commands accomplishes data processing for other fields. Classes are available for preprocessing \"president\" (`Presidents`), \"regulation_id_number_info\" (`RegInfoData`), and fields related to public commenting dockets (`Dockets` and `RegDotGovData`).\n\nAlternatively, the `process_documents` function provides a simpler interface for combining these functionalities together.\n\n```python\nfrom fr_toolbelt.preprocessing import process_documents\n\n# passing the del_keys parameter deletes those keys from the resulting dict\nprocessed_docs = process_documents(results, del_keys=(\"type\", \"docket_ids\"))\n```\n\n```JSON5\n{'agency_slugs': ['rural-business-cooperative-service',\n                  'agriculture-department'],\n 'docket_id': 'RBS-23-BUSINESS-0024',\n 'document_number': '2023-26792',\n 'independent_reg_agency': False,\n 'parent_slug': 'agriculture-department',\n 'president_id': 'joe-biden',\n 'publication_date': '2024-01-02',\n 'rin': None,\n 'rin_priority': None,\n 'subagency_slug': 'rural-business-cooperative-service',\n 'title': 'Notice of Solicitation of Applications for the Rural Innovation '\n          'Stronger Economy (RISE) Grant Program for Fiscal Year 2024'}\n```\n\nYou can select which fields you want to process with this function too.\n\n```python\nfrom fr_toolbelt.preprocessing import process_documents\n\n# passing the which parameter to select which fields to process\nprocessed_docs = process_documents(results, which=(\"agencies\", \"presidents\"), del_keys=\"docket_ids\")\n```\n\n```JSON5\n{'agency_slugs': ['rural-business-cooperative-service',\n                  'agriculture-department'],\n 'dockets': [{'agency_name': 'RBS',\n              'documents': [{'allow_late_comments': None,\n                             'comment_count': 1,\n                             'comment_end_date': '2024-04-02',\n                             'comment_start_date': '2024-01-02',\n                             'comment_url': 'https://www.regulations.gov/commenton/RBS-23-BUSINESS-0024-0001',\n                             'id': 'RBS-23-BUSINESS-0024-0001',\n                             'regulations_dot_gov_open_for_comment': True,\n                             'updated_at': '2024-01-22T00:04:26.978-05:00'}],\n              'id': 'RBS-23-BUSINESS-0024',\n              'supporting_documents': [],\n              'supporting_documents_count': 0,\n              'title': 'Notice of Funding Opportunity for the Rural Innovation '\n                       'Stronger Economy (RISE) Grant Program for Fiscal Year '\n                       '2024'}],\n 'document_number': '2023-26792',\n 'independent_reg_agency': False,\n 'parent_name': 'Agriculture Department',\n 'president_id': 'joe-biden',\n 'publication_date': '2024-01-02',\n 'regulation_id_number_info': {},\n 'subagency_name': 'Rural Business-Cooperative Service',\n 'title': 'Notice of Solicitation of Applications for the Rural Innovation '\n          'Stronger Economy (RISE) Grant Program for Fiscal Year 2024',\n 'type': 'Notice'}\n```\n\n### fr_toolbelt.utils module\n\nThese functions handle date formatting under the hood and provide functionality for identifying and removing duplicate entries (not a current bug in the FR API if passing the order=oldest or order=newest parameter in a request).\n",
    "bugtrack_url": null,
    "license": "MIT License  Copyright (c) 2024 Mark Febrizio  Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:  The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.  THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ",
    "summary": "Toolbelt of classes and functions written in Python to use with the Federal Register (FR) API.",
    "version": "0.1.4",
    "project_urls": {
        "Issues": "https://github.com/mfebrizio/fr-toolbelt/issues",
        "Repository": "https://github.com/mfebrizio/fr-toolbelt.git"
    },
    "split_keywords": [
        "federal register",
        " government",
        " api",
        " regulation",
        " regulatory"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "6fc794cc9e975c516f490c7c20c425c6f0b23ce8d49c09248ff1b115437c9d56",
                "md5": "18afc283b7661367bd3db62cdd01d2e0",
                "sha256": "dc5add35088aa6c024aee9ac18ab0d73f31320e91053aba9a2196b74f8719ea1"
            },
            "downloads": -1,
            "filename": "fr_toolbelt-0.1.4-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "18afc283b7661367bd3db62cdd01d2e0",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.10",
            "size": 25716,
            "upload_time": "2024-11-24T18:51:46",
            "upload_time_iso_8601": "2024-11-24T18:51:46.949443Z",
            "url": "https://files.pythonhosted.org/packages/6f/c7/94cc9e975c516f490c7c20c425c6f0b23ce8d49c09248ff1b115437c9d56/fr_toolbelt-0.1.4-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "02d8174344a353e1943e6a08dda1af635360a2e59dd7f5d4369f17cce947c9ac",
                "md5": "577de87728c4aa2f77b35d3ef0799308",
                "sha256": "3d8c4d44c992bf1ab50fcc441ca957e82888b1b162bce04f5bd65a8a2a5a223d"
            },
            "downloads": -1,
            "filename": "fr_toolbelt-0.1.4.tar.gz",
            "has_sig": false,
            "md5_digest": "577de87728c4aa2f77b35d3ef0799308",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.10",
            "size": 28702,
            "upload_time": "2024-11-24T18:51:48",
            "upload_time_iso_8601": "2024-11-24T18:51:48.678742Z",
            "url": "https://files.pythonhosted.org/packages/02/d8/174344a353e1943e6a08dda1af635360a2e59dd7f5d4369f17cce947c9ac/fr_toolbelt-0.1.4.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-11-24 18:51:48",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "mfebrizio",
    "github_project": "fr-toolbelt",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [],
    "lcname": "fr-toolbelt"
}
        
Elapsed time: 0.63333s