معرفی شرکت ها


cdptools-2.0.6


Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر

توضیحات

Tools to interact with and deploy CouncilDataProject instances
ویژگی مقدار
سیستم عامل -
نام فایل cdptools-2.0.6
نام cdptools
نسخه کتابخانه 2.0.6
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Jackson Maxfield Brown, Nicholas Weber
ایمیل نویسنده jmaxfieldbrown@gmail.com, nmweber@uw.edu
آدرس صفحه اصلی https://github.com/CouncilDataProject/cdptools
آدرس اینترنتی https://pypi.org/project/cdptools/
مجوز BSD-3-Clause
# cdptools [![Build Status](https://github.com/CouncilDataProject/cdptools/workflows/Build%20Master/badge.svg)](https://github.com/CouncilDataProject/cdptools/actions) [![Documentation](https://github.com/CouncilDataProject/cdptools/workflows/Documentation/badge.svg)](https://CouncilDataProject.github.io/cdptools) [![Code Coverage](https://codecov.io/gh/CouncilDataProject/cdptools/branch/master/graph/badge.svg)](https://codecov.io/gh/CouncilDataProject/cdptools) Making City Council data more accessible and actions taken by city council members more discoverable and trackable. --- ## About We wondered why it was so hard to find out what was being discussed in Seattle City Council about a specific topic, so we set out to solve that. The first step to this is basic data processing: automated transcript creation for city council events, indexing those transcripts, and finally making them available on the web via our website and database. We also wanted the entire system to aim to be low cost, modular, and open access, so that it would be relatively easy for other CDP instances to be created and maintained. For us that means, databases and file stores are open access to read from, the websites that users can interact with the data can be run on free hosting services such as GitHub Pages, and computation choices should be flexible so that cost isn't a barrier issue. The first CDP instance to be deployed was for Seattle and an example of the data that is produced and available from these systems can be seen on our [Seattle instance website](https://councildataproject.github.io/seattle/). The repository and code for the instance website can be found [here](https://github.com/CouncilDataProject/seattle). This repository and Python package is a collection of tools, pipelines, and processing functions, that are used by servers to retrieve, package, store, and process data required by CouncilDataProject instances. While this package is primarily targeted towards developers of the CDP instances and backend services, a main mission of CDP was to make city council data easier to access in all forms, on the web and programmatically, so included in this package are objects to do just that; connect and request data from CDP instance databases and file stores (examples below). ## User Features * Plain text query for events or minutes items * [Database schema](https://councildataproject.github.io/cdptools/_images/database_diagram.png) allows for simple querying of: * events (meetings) * voting history of a city council or city council member * bodies (committees) * members * minutes items * event transcripts * File stores and databases can be used in combination to download audio or the entire transcript of a meeting ## Quickstart ***Search for events using plain text:*** ```python from cdptools import CDPInstance, configs seattle = CDPInstance(configs.SEATTLE) matching_events = seattle.database.search_events("bicycle infrastructure, pedestrian mobility") # Returns list of Match objects sorted most to least relevant # [Match, Match, ...] # Use the `Match.data` attribute to view the match's data matching_events[0].data # { # 'event_id': '05258417-9ad3-4d42-be1d-95eafcfa03c5', # 'legistar_event_id': 4053, # 'event_datetime': datetime.datetime(2019, 8, 5, 9, 30), # ... # } ``` ***Search for bills, appointments, 'minutes items' using plain text:*** ```python from cdptools import CDPInstance, configs seattle = CDPInstance(configs.SEATTLE) matching_minutes_items = seattle.database.search_minutes_items("bicycle infrastructure") # Returns list of Match objects sorted most to least relevant # [Match, Match, ...] ``` ***Get all data from a table:*** ```python from cdptools import CDPInstance, configs seattle = CDPInstance(configs.SEATTLE) all_events = seattle.database.select_rows_as_list("event") # Returns list of dictionaries with event information # [{"event_id": "0123", ...}, ...] ``` ***Download the highest confidence transcript for each event:*** ```python from cdptools import CDPInstance, configs seattle = CDPInstance(configs.SEATTLE) event_corpus_map = seattle.download_transcripts() # Returns a dictionary mapping event id to a local path of the transcript # {"0123abc...": "~/4567def..."} ``` Please view the [examples](/examples) directory which contains Jupyter notebooks with more examples on how to use CDP databases and file stores. ## Installation **Stable Release:** `pip install cdptools`<br> **Development Head:** `pip install git+https://github.com/CouncilDataProject/cdptools.git` #### All City Installation: `pip install cdptools[all]` #### Individual City Installation: * Seattle: `pip install cdptools[seattle]` ## Developer Features * Modular system for gathering city council events, transcribing, and indexing them to make searchable. * Data pipelines are highly customizable to fit your cities needs. * Deploy and run pipelines using Docker to ensure your system has everything it needs. For additional information on system design please refer to our [documentation](https://CouncilDataProject.github.io/cdptools). ## Documentation For full package documentation please visit [CouncilDataProject.github.io/cdptools](https://CouncilDataProject.github.io/cdptools). ## Development See [CONTRIBUTING.md](CONTRIBUTING.md) for information related to developing the code. **Free software: BSD-3-Clause license** This package was created with [Cookiecutter](https://github.com/audreyr/cookiecutter).


نیازمندی

مقدار نام
>=1.0.4 pandas
>=4.9.1 beautifulsoup4
>=0.2.0 ffmpeg-python
>=0.9.1 rapidfuzz
>=3.5 nltk
>=2.23.0 requests[security]
>=0.6.0 schedule
>=44.0.0 setuptools
>=1.14.0 six
>=1.24 tika
>=0.4.5 webvtt-py
>=0.0.9 truecase
>=4.9.1 beautifulsoup4
>=0.2.0 ffmpeg-python
>=0.9.1 rapidfuzz
>=3.5 nltk
>=1.0.4 pandas
>=2.23.0 requests[security]
>=0.6.0 schedule
>=44.0.0 setuptools
>=1.14.0 six
>=1.24 tika
>=0.4.5 webvtt-py
>=0.0.9 truecase
>=1.4.3 appdirs
>=2.9.2 cryptography
==4.3.0 firebase-admin
==1.22.1 google-api-core[grpc]
==1.10.0 google-api-python-client
==1.20.1 google-auth
==1.4.1 google-cloud-core
==1.8.1 google-cloud-firestore
==1.3.2 google-cloud-speech
==1.30.0 google-cloud-storage
==0.7.1 google-resumable-media
>=19.10b0 black
>=2.1.4 codecov
>=3.8.3 flake8
>=3.2.1 flake8-debugger
>=5.4.3 pytest
>=2.9.0 pytest-cov
>=0.11 pytest-raises
>=5.2 pytest-runner
>=0.6.0 bumpversion
>=5.1 coverage
>=3.0.4 gitchangelog
>=7.15.0 ipython
>=0.2.1 m2r
<3,>=2.0.0b1 Sphinx
>=0.4.3 sphinx-rtd-theme
>=3.15.2 tox
>=3.1.1 twine
>=0.34.2 wheel
>=5.2 pytest-runner
>=19.10b0 black
>=2.1.4 codecov
>=3.8.3 flake8
>=3.2.1 flake8-debugger
>=5.4.3 pytest
>=2.9.0 pytest-cov
>=0.11 pytest-raises
>=0.6.0 bumpversion
>=5.1 coverage
>=3.0.4 gitchangelog
>=7.15.0 ipython
>=0.2.1 m2r
<3,>=2.0.0b1 Sphinx
>=0.4.3 sphinx-rtd-theme
>=3.15.2 tox
>=3.1.1 twine
>=0.34.2 wheel
>=1.4.3 appdirs
>=2.9.2 cryptography
==4.3.0 firebase-admin
==1.22.1 google-api-core[grpc]
==1.10.0 google-api-python-client
==1.20.1 google-auth
==1.4.1 google-cloud-core
==1.8.1 google-cloud-firestore
==1.3.2 google-cloud-speech
==1.30.0 google-cloud-storage
==0.7.1 google-resumable-media
>=5.2 pytest-runner
>=19.10b0 black
>=2.1.4 codecov
>=3.8.3 flake8
>=3.2.1 flake8-debugger
>=5.4.3 pytest
>=2.9.0 pytest-cov
>=0.11 pytest-raises


نحوه نصب


نصب پکیج whl cdptools-2.0.6:

    pip install cdptools-2.0.6.whl


نصب پکیج tar.gz cdptools-2.0.6:

    pip install cdptools-2.0.6.tar.gz