Saravanan666/pypi-org huggingface dataset:
Package: ckanext-googleanalyticsbasic
ckanext-googleanalyticsbasicPuts the Google Analytics asynchronous tracking code into your page headers for basic Google Analytics page tracking.InstallationInstall the extension as usual, e.g. (from an activated virtualenv)
::$ pip install -e  git+https://github.com/GSA/ckanext-googleanalyticsbasic#egg=ckanext-googleanalyticsbasicEdit your development.ini (or similar) to provide space separated list of google ids
::googleanalytics.ids = UA-1010101-1 UA-1010101-2Edit again your configuration ini file to activate the plugin with:
::ckan.plugins = googleanalyticsbasicCompatibilityThis extension is compatible with these versions of CKAN.CKAN versionCompatibility<=2.8no2.9yes2.10yesTestsAll the tests live in the/ckanext/geodatagov/testsfolder.Using the Docker Dev EnvironmentBuild EnvironmentTo start environment, run:docker-compose builddocker-compose upCKAN will start at localhost:5000To shut down environment, run:docker-compose downTo docker exec into the CKAN image, run:docker-compose exec app /bin/bashTestingThey follow the guidelines fortesting CKAN
extensions.To run the extension tests, start the containers withmake up, then:$ make testLint the code.$ make lintMatrix buildsThe development environment drops as many dependencies as possible. It is
not meant to have feature parity withGSA/catalog.data.gov. Tests should
mock external dependencies where possible.In order to support multiple versions of CKAN, or even upgrade to new versions
of CKAN, we support development and testing through theCKAN_VERSIONenvironment variable.$ make CKAN_VERSION=2.10 test
Package: ckanext-govdf_theme
Template CKAN para PDA do GDF - ckanext-govdf_themePara ter acesso á área de usuário é necessário digitar/user/logindepois do endereço url base.http://dadosabertos.df.gov.br/user/loginInstalaçãoPara instalar ckanext-govdf_theme:Ative seu ambiente virtual CKAN, por exemplo:. /usr/lib/ckan/default/bin/activateInstale o pacote Python ckanext-govdf_theme no seu ambiente virtual:pip install ckanext-govdf_themeAdicionegovdf_themena áreackan.pluginsno seu arquivo de configurações do CKAN (por padrão o arquivo de configurações está em/etc/ckan/default/production.ini).Reinicia o CKAN. Por exemplo se o CKAN foi implantado no Ubuntu com o Apache:sudo service apache2 reloadInstalação para DesenvolvimentoPara instalar ckanext-govdf_theme para desenvolvimento, ative o seu ambinete virtual do CKAN e digite:git clone https://lucas_jlma@bitbucket.org/lucas_jlma/gdf_ckan_theme.git
cd ckanext-govdf_theme
python setup.py develop
pip install -r dev-requirements.txtA ser implementadoAlgumas funcionalidades não estão funcionando como deveriam e melhorias diversas devem ser implementadas.Ordenação de conteúdo em todas as páginas;Inclusão de CSS pelo fanstatic (ISSUE);Implementar ferramentas de acessibilidade;Implementar a área de administração do sistema;Traduzir strings personalizadas do sistema;links por referência;Estilizar a paginação;Para que o template funcione perfeitamente é indicada a substituição do arquivomain.csspor outro equivalente com as formatações específicas do template e assim a estrutura HTML também.Running the Tests - Not AvailableTo run the tests, do:nosetests --nologcapture --with-pylons=test.iniTo run the tests and produce a coverage report, first make sure you have
coverage installed in your virtualenv (pip install coverage) then run:nosetests --nologcapture --with-pylons=test.ini --with-coverage --cover-package=ckanext.govdf_theme --cover-inclusive --cover-erase --cover-testsRegistering ckanext-govdf_theme on PyPIckanext-govdf_theme should be availabe on PyPI ashttps://pypi.python.org/pypi/ckanext-govdf_theme. If that link doesn’t work, then
you can register the project on PyPI for the first time by following these
steps:Create a source distribution of the project:python setup.py sdistRegister the project:python setup.py registerUpload the source distribution to PyPI:python setup.py sdist uploadTag the first release of the project on GitHub with the version number from
thesetup.pyfile. For example if the version number insetup.pyis
0.0.1 then do:git tag 0.0.1
git push --tagsReleasing a New Version of ckanext-govdf_themeckanext-govdf_theme is availabe on PyPI ashttps://pypi.python.org/pypi/ckanext-govdf_theme.
To publish a new version to PyPI follow these steps:Update the version number in thesetup.pyfile.
SeePEP 440for how to choose version numbers.Create a source distribution of the new version:python setup.py sdistUpload the source distribution to PyPI:python setup.py sdist uploadTag the new release of the project on GitHub with the version number from
thesetup.pyfile. For example if the version number insetup.pyis
0.0.2 then do:git tag 0.0.2
git push --tags
Package: ckanext-harvest-basket
Theharvest_basketextension comes with a few customharvestersfor different data portals.
The list of available harvesters, that must be enabled withckan.pluginsin your config:dkan_harvesterjunar_harvestersocrata_harvesterarcgis_harvesterThis extension also adds some features to extend the basic harvester:Source checkup preview. During the source creation stage the harvester will try to access the remote portal and harvest one dataset to check if it's accessible or not. (TODO: the source checkup interface will be documented soon).Restriction for anonymous users to visit harveser pagesInstallationTo install ckanext-harvest-basket:Activate your CKAN virtual environment, for example:. /usr/lib/ckan/default/bin/activateClone the source and install it on the virtualenvgit clonehttps://github.com/mutantsan/ckanext-harvest-basket.gitcd ckanext-harvest-basket
pip install -e .
pip install -r requirements.txtAddharvest_basketto theckan.pluginssetting in your CKAN
config file (by default the config file is located at/etc/ckan/default/ckan.ini).Restart CKAN. For example if you've deployed CKAN with Apache on Ubuntu:sudo service apache2 reloadConfig settingsAvailable config options:# You can disallow accessing harvester pages for anonymous users.
# (optional, default: 1).
ckanext.harvest_basket.allow_anonymous = 0Developer installationTo install ckanext-harvest-basket for development, activate your CKAN virtualenv and
do:git clone https://github.com/mutantsan/ckanext-harvest-basket.git
cd ckanext-harvest-basket
python setup.py develop
pip install -r requirements.txtTestsTo run the tests, do:pytest --ckan-ini=test.iniLicenseAGPL
Package: ckanext-hdfs
ckanext-hdfs - HDFS storing extensionckanext-hdfs is an extension for enabling the file storage in HDFS - Hadoop Distributed File System.This extension provides an ability to let users store a certain resource in HDFS, instead of the local file system.Notes:JAVA_HOME and HADOOP_HOME need to be set correctly.RequirementsThis extension was developed and tested under CKAN-2.7.3 and HADOOP-3.0.0InstallationTo install ckanext-hdfs:Activate your CKAN virtual environment, for example:. /usr/lib/ckan/default/bin/activateInstall the ckanext-hdfs Python package into your virtual environment:pip install ckanext-hdfsAddhdfssetting in your CKAN config file (by default the config file is located at/etc/ckan/default/production.ini) as follows:ckan.plugins = hdfs <other-plugins>
ckan.hdfs.storage_path = /ckan/dataRestart CKAN. For example if you’ve deployed CKAN with Apache on Ubuntu:sudo service apache2 reloadDevelopment InstallationTo install ckanext-hdfs for development, activate your CKAN virtualenv and
do:git clone https://github.com/etri-odp/ckanext-hdfs.git
cd ckanext-hdfs
python setup.py develop
pip install -r dev-requirements.txtRunning the TestsTo run the tests, do:nosetests --nologcapture --with-pylons=test.iniTo run the tests and produce a coverage report, first make sure you have
coverage installed in your virtualenv (pip install coverage) then run:nosetests --nologcapture --with-pylons=test.ini --with-coverage --cover-package=ckanext.hdfs --cover-inclusive --cover-erase --cover-testsRegistering ckanext-hdfs on PyPIckanext-hdfs should be available on PyPI ashttps://pypi.python.org/pypi/ckanext-hdfs. If that link doesn’t work, then
you can register the project on PyPI for the first time by following these
steps:Create a source distribution of the project:python setup.py sdistRegister the project:python setup.py registerUpload the source distribution to PyPI:python setup.py sdist uploadTag the first release of the project on GitHub with the version number from
thesetup.pyfile. For example if the version number insetup.pyis
0.0.1 then do:git tag 0.0.1
git push --tagsAcknowledgementsThis work was supported by Institute for Information & communications Technology Promotion (IITP) grant funded by the Korea government (MSIT) (No.2017-00253, Development of an Advanced Open Data Distribution Platform based on International Standards)
Package: ckanext-heroku
ckanext-herokuRequirementsFor example, you might want to mention here which versions of CKAN this
extension works with.InstallationTo install ckanext-heroku:Activate your CKAN virtual environment, for example:. /usr/lib/ckan/default/bin/activateInstall the ckanext-heroku Python package into your virtual environment:pip install ckanext-herokuAddherokuto theckan.pluginssetting in your CKAN
config file (by default the config file is located at/etc/ckan/default/production.ini).Restart CKAN. For example if you’ve deployed CKAN with Apache on Ubuntu:sudo service apache2 reloadConfig SettingsDocument any optional config settings here. For example:# The minimum number of hours to wait before re-checking a resource
# (optional, default: 24).
ckanext.heroku.some_setting = some_default_valueDevelopment InstallationTo install ckanext-heroku for development, activate your CKAN virtualenv and
do:git clone https://github.com/nerevu/ckanext-heroku.git
cd ckanext-heroku
python setup.py develop
pip install -r dev-requirements.txtRunning the TestsTo run the tests, do:nosetests --nologcapture --with-pylons=test.iniTo run the tests and produce a coverage report, first make sure you have
coverage installed in your virtualenv (pip install coverage) then run:nosetests --nologcapture --with-pylons=test.ini --with-coverage --cover-package=ckanext.heroku --cover-inclusive --cover-erase --cover-testsRegistering ckanext-heroku on PyPIckanext-heroku should be availabe on PyPI ashttps://pypi.python.org/pypi/ckanext-heroku. If that link doesn’t work, then
you can register the project on PyPI for the first time by following these
steps:Create a source distribution of the project:python setup.py sdistRegister the project:python setup.py registerUpload the source distribution to PyPI:python setup.py sdist uploadTag the first release of the project on GitHub with the version number from
thesetup.pyfile. For example if the version number insetup.pyis
0.0.1 then do:git tag 0.0.1
git push --tagsReleasing a New Version of ckanext-herokuckanext-heroku is available on PyPI ashttps://pypi.python.org/pypi/ckanext-heroku.
To publish a new version to PyPI follow these steps:Update the version number in thesetup.pyfile.
SeePEP 440for how to choose version numbers.Create a source distribution of the new version:python setup.py sdistUpload the source distribution to PyPI:python setup.py sdist uploadTag the new release of the project on GitHub with the version number from
thesetup.pyfile. For example if the version number insetup.pyis
0.0.2 then do:git tag 0.0.2
git push --tags
Package: ckanext-ids
ckanext-idsTODO:Put a description of your extension here:  What does it do? What features does it have? Consider including some screenshots or embedding a video!RequirementsTODO:For example, you might want to mention here which versions of CKAN this
extension works with.If your extension works across different versions you can add the following table:Compatibility with core CKAN versions:CKAN versionCompatible?2.6 and earliernot tested2.7not tested2.8not tested2.9testedSuggested values:"yes""not tested" - I can't think of a reason why it wouldn't work"not yet" - there is an intention to get it working"no"InstallationTODO:Add any additional install steps to the list below.
For example installing any non-Python dependencies or adding any required
config settings.To install ckanext-ids:Activate your CKAN virtual environment, for example:. /usr/lib/ckan/default/bin/activateClone the source and install it on the virtualenvgit clonehttps://github.com/semantic-web-company/ckanext-ids.gitcd ckanext-ids
pip install -e .
pip install -r requirements.txtAddidsandids_dummy to theckan.pluginssetting in your CKAN config file (by default the config file is located at/etc/ckan/default/ckan.ini`).Restart CKAN. For example if you've deployed CKAN with Apache on Ubuntu:sudo service apache2 reloadConfig settings# The URL of the local dataspace connector
ckanext.ids.trusts_local_dataspace_connector_url = http://localhost:8089
# The username of the local dataspace connector
ckanext.ids.trusts_local_dataspace_connector_username = admin
# The password of the local dataspace connector
ckanext.ids.trusts_local_dataspace_connector_password = passwordDeveloper installationTo install ckanext-ids for development, activate your CKAN virtualenv and
do:git clone https://github.com/semantic-web-company/ckanext-ids.git
cd ckanext-ids
python setup.py develop
pip install -r dev-requirements.txtTestsTo run the tests, do:pytest --ckan-ini=test.iniReleasing a new version of ckanext-idsIf ckanext-ids should be available on PyPI you can follow these steps to publish a new version:Update the version number in thesetup.pyfile. SeePEP 440for how to choose version numbers.Make sure you have the latest version of necessary packages:pip install --upgrade setuptools wheel twineCreate a source and binary distributions of the new version:python setup.py sdist bdist_wheel && twine check dist/*Fix any errors you get.Upload the source distribution to PyPI:twine upload dist/*Commit any outstanding changes:git commit -a
git pushTag the new release of the project on GitHub with the version number from
thesetup.pyfile. For example if the version number insetup.pyis
0.0.1 then do:git tag 0.0.1
git push --tagsLicenseAGPLFundingThis code was created as part of project TRUSTS: Trusted secure data sharing space.This project has received funding from the European Union's Horizon 2020 research and innovation programme under grant agreementNo 871481.
Package: ckanext-ingest
RequirementsFor example, you might want to mention here which versions of CKAN this
extension works with.InstallationTo install ckanext-ingest:Activate your CKAN virtual environment, for example:. /usr/lib/ckan/default/bin/activateInstall the ckanext-ingest Python package into your virtual environment:pip install ckanext-ingestAddingestto theckan.pluginssetting in your CKAN
config file (by default the config file is located at/etc/ckan/default/production.ini).Restart CKAN. For example if you’ve deployed CKAN with Apache on Ubuntu:sudo service apache2 reloadConfig SettingsDocument any optional config settings here. For example:# The minimum number of hours to wait before re-checking a resource
# (optional, default: 24).
ckanext.ingest.some_setting = some_default_valueDevelopment InstallationTo install ckanext-ingest for development, activate your CKAN virtualenv and
do:git clone https://github.com/DataShades/ckanext-ingest.git
cd ckanext-ingest
python setup.py develop
pip install -r dev-requirements.txtRunning the TestsTo run the tests, do:nosetests --nologcapture --with-pylons=test.iniTo run the tests and produce a coverage report, first make sure you have
coverage installed in your virtualenv (pip install coverage) then run:nosetests --nologcapture --with-pylons=test.ini --with-coverage --cover-package=ckanext.ingest --cover-inclusive --cover-erase --cover-tests
Package: ckanext-iso19115
ckanext-iso19115Export dataset into ISO 19115 XML.RequirementsCompatibility with core CKAN versions:CKAN versionCompatible?2.9yes2.10yesInstallationTo install ckanext-iso19115:Install it into virtualenv:pipinstallckanext-iso19115Addiso19115to theckan.plugins.Config settingsNone at present# Storage path for pre-compiled schema definition# (optional, default: somewhere inside system's tempdir).ckanext.iso19115.misc.cache_dir=/var/data/iso19115_cacheUsageCustomize the way of mapping dataset into ISO 19115 by implementingIIso18115interface.fromckanext.iso19115.interfacesimportIIso19115classIso19115(p.SingletonPlugin):p.implements(IIso19115,inherit=True)defiso19115_metadata_converter(self,data_dict:dict[str,Any]):returnConverter(data_dict)Convertermust be defined as a sub-class ofckanext.iso19115.converter.Converter. It already contains some basic logic
that can be used as a starting point for extension.APIiso19115_package_showExport dataset into ISO 19115 JsonML.Format can be changed usingformatparameter of the action. Possible alternatives:xmliso19115_package_checkCheck if the dataset can be rendered as a valid ISO 19115 documentTestsTo run the tests, do:pytestLicenseAGPL
Package: ckanext-issues
CKAN Issues ExtensionThis extension allows users to to report issues with datasets in a CKAN
instance.RequirementsThis extension works with CKAN 2.9+.InstallationTo install the plugin, enter your virtualenv and install from pip or source:pip install ckanext-isssues

pip install -e git+http://github.com/keitaroinc/ckanext-issuesCreate the necessary tables:ckan -c path-to/ckan.ini issuesdbThis will also register a plugin entry point, so you now should be
able to add the following to your CKAN .ini file::ckan.plugins = issuesAfter you clear your cache and restart the web server, the Issues extension
should be available.Upgrade from older versionsWhen upgrading ckanext-issues from older code versions, you should run the issues upgrade command, in case there are any model migrations (e.g. 11th Jan 2016):ckan -c path-to/ckan.ini issuesupdateWhat it doesOnce installed and enabled, the issues extension will make available a per-
dataset issue tracker.The issue tracker user interface can be found at:/dataset/{dataset-name-or-id}/issuesYou can add an issue at:/dataset/{dataset-name-or-id}/issues/newIssues APIThe issues extension also exposes its functionality as part of the standardCKAN Action API:Specifically:/api/3/action/issue_show
/api/3/action/issue_create
/api/3/action/issue_update
/api/3/action/issue_delete
/api/3/action/issue_search
/api/3/action/issue_count
/api/3/action/issue_comment_create
/api/3/action/issue_report
/api/3/action/issue_report_clear
/api/3/action/issue_comment_report
/api/3/action/issue_comment_report_clearConfigurationTo switch-on notifications, you should set the following option in your
configuration, and all users in the group will get the email.ckanext.issues.send_email_notifications = trueIf you set max_strikes then users can 'report' a comment as spam/abuse. If the number of users reporting a particular comment hits the max_strikes number then it is hidden, pending moderation.ckanext.issues.max_strikes = 2ActivationBy default, issues are enabled for all datasets. If you wish to restrict
issues to specific datasets or organizations, you can use these config options:ckanext.issues.enabled_for_datasets = mydataset1 mydataset2 ...
ckanext.issues.enabled_for_organizations = department-of-transport health-regulatorAlternatively, you can switch issues on/off for particular datasets by using an extra field:'issues_enabled': Trueand you can set the default for all the other datasets (without that extra field):ckanext.issues.enabled_without_extra = falseFor the extra field to work you must not setenabled_per_datasetorenabled_for_organizationsoptions.FeedbackPlease open an issue in the githubissue tracker.DevelopersNormal requirements for CKAN Extensions (including an installation of CKAN and
its dev requirements). Contributions welcome.Testing with PostgresTo run full production tests on postgres run. These are the tests that the travis build will runpytest --ckan-ini=test.ini ckanext/issues/tests
Package: ckanext-jena
ckanext-jena - Semantic data management extensionckanext-jena is an extension for enabling the semantic aspect of CKAN with Apache Jena.This extension provides an ability to let users store a certain semantic resource (e.g. rdf, ttl, owl) in Apache Jena and perform SPARQL semantic queries.Notes:Apache Jena and Fuseki server need to be running.jena_search_sparql api can be called withresource_idandqparameters for semantic queries.RequirementsThis extension was developed and tested under CKAN-2.7.3 and Apache Jena-3.9.0InstallationTo install ckanext-jena:Activate your CKAN virtual environment, for example:. /usr/lib/ckan/default/bin/activateInstall the ckanext-jena Python package into your virtual environment:pip install ckanext-jenaAddjenasetting in your CKAN config file (by default the config file is located at/etc/ckan/default/production.ini) as follows:ckan.plugins = jena <other-plugins>
ckan.jena.fuseki.url = http://127.0.0.1:3030/
ckan.jena.fuseki.username = admin
ckan.jena.fuseki.password = adminRestart CKAN. For example if you’ve deployed CKAN with Apache on Ubuntu:sudo service apache2 reloadDevelopment InstallationTo install ckanext-jena for development, activate your CKAN virtualenv and
do:git clone https://github.com/etri-odp/ckanext-jena.git
cd ckanext-jena
python setup.py develop
pip install -r dev-requirements.txtRunning the TestsTo run the tests, do:nosetests --nologcapture --with-pylons=test.iniTo run the tests and produce a coverage report, first make sure you have
coverage installed in your virtualenv (pip install coverage) then run:nosetests --nologcapture --with-pylons=test.ini --with-coverage --cover-package=ckanext.jena --cover-inclusive --cover-erase --cover-testsRegistering ckanext-jena on PyPIckanext-jena should be available on PyPI ashttps://pypi.python.org/pypi/ckanext-jena. If that link doesn’t work, then
you can register the project on PyPI for the first time by following these
steps:Create a source distribution of the project:python setup.py sdistRegister the project:python setup.py registerUpload the source distribution to PyPI:python setup.py sdist uploadTag the first release of the project on GitHub with the version number from
thesetup.pyfile. For example if the version number insetup.pyis
0.0.1 then do:git tag 0.0.1
git push --tagsAcknowledgementsThis work was supported by Institute for Information & communications Technology Promotion (IITP) grant funded by the Korea government (MSIT) (No.2017-00253, Development of an Advanced Open Data Distribution Platform based on International Standards)