Saravanan666/pypi-org huggingface dataset:
Package: ckanext-vocabularies
ckanext-vocabulariesTODO: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.9not testedSuggested 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-vocabularies:Activate your CKAN virtual environment, for example:. /usr/lib/ckan/default/bin/activateClone the source and install it on the virtualenvgit clonehttps://github.com/s.karampatakis@gmail.com/ckanext-vocabularies.gitcd ckanext-vocabularies
pip install -e .
pip install -r requirements.txtAddvocabulariesto 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 settingsNone at presentTODO:Document any optional config settings here. For example:# The minimum number of hours to wait before re-checking a resource
# (optional, default: 24).
ckanext.vocabularies.some_setting = some_default_valueDeveloper installationTo install ckanext-vocabularies for development, activate your CKAN virtualenv and
do:git clone https://github.com/s.karampatakis@gmail.com/ckanext-vocabularies.git
cd ckanext-vocabularies
python setup.py develop
pip install -r dev-requirements.txtTestsTo run the tests, do:pytest --ckan-ini=test.iniReleasing a new version of ckanext-vocabulariesIf ckanext-vocabularies 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-vtkjs
ckanext-vtkjsThis is a CKAN extension that provides views for STL, VTP, VTI, and VTK PolyData files,
as well as ZIP archives containing OBJ files.RequirementsTested with CKAN 2.9.0a.InstallationTo install ckanext-vtkjs:Activate your CKAN virtual environment, for example:. /usr/lib/ckan/default/bin/activateInstall the ckanext-vtkjs Python package into your virtual environment:pip install ckanext-vtkjsAddvtkjsto theckan.pluginssetting in your CKAN
config file (by default the config file is located at/etc/ckan/default/production.ini). Donotaddvtkjsto the
list of default views - the plugin automatically adds itself as a view to
any resource it can display, and adding it to the list of default views
causes it to be added to some types of resources that it cannot display.Restart CKAN. For example if you’ve deployed CKAN with Apache on Ubuntu:sudo service apache2 reloadConfig settingsNone at present.Developer installationTo install ckanext-vtkjs for development, activate your CKAN virtualenv and
do:git clone https://github.com//ckanext-vtkjs.git
cd ckanext-vtkjs
python setup.py develop
pip install -r dev-requirements.txtTestsTo 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.vtkjs --cover-inclusive --cover-erase --cover-tests
Package: ckanext-webview
ckanext-webviewA CKAN extension that adds a view for displaying generic/arbitrary URLs.OverviewThis extension allows maintainers to add a simple static message to the top of every page by setting a single configuration option. For example, it can be used to notify users of planned downtime, unexpected issues with the site, or new features.InstallationPath variables used below:$INSTALL_FOLDER(i.e. where CKAN is installed), e.g./usr/lib/ckan/default$CONFIG_FILE, e.g./etc/ckan/default/development.iniInstalling from PyPIpipinstallckanext-webviewInstalling from sourceClone the repository into thesrcfolder:cd$INSTALL_FOLDER/src
gitclonehttps://github.com/NaturalHistoryMuseum/ckanext-webview.gitActivate the virtual env:.$INSTALL_FOLDER/bin/activateInstall via pip:pipinstall$INSTALL_FOLDER/src/ckanext-webviewInstalling in editable modeInstalling from apyproject.tomlin editable mode (i.e.pip install -e) requiressetuptools>=64; however, CKAN 2.9 requiressetuptools==44.1.0. Seeour CKAN forkfor a version of v2.9 that uses an updated setuptools if this functionality is something you need.Post-install setupAdd 'webview' to the list of plugins in your$CONFIG_FILE:ckan.plugins=... webviewInstalllesscglobally:npminstall-g"less@~4.1"ConfigurationThere are currently no options that can be specified in your .ini config file.UsageAfter enabling this extension in the list of plugins, the Web view should become available for resources. The URL can be overridden when creating the view.TestingThere is a Docker compose configuration available in this repository to make it easier to run tests. The ckan image uses the Dockerfile in thedocker/folder.To run the tests against ckan 2.9.x on Python3:Build the required images:docker-composebuildThen run the tests.
The root of the repository is mounted into the ckan container as a volume by the Docker compose
configuration, so you should only need to rebuild the ckan image if you change the extension's
dependencies.docker-composerunckan
Package: ckanext-wirecloud_view
CKAN WireCloud dashboardsCKAN view extension for the creation and display of resource data visualization dashboards through WireCloud embbeded dashboards.With this extension you can create a view for a resource using WireCloud. You can set the view to load an existing dashboard or
create a custom dashboard from the view form.RequirementsYou need theOauth2 extensionfor CKAN in order to make this extension work.InstallationTo install ckanext-wirecloud_view:Activate your CKAN virtual environment, for example:. /usr/lib/ckan/default/bin/activateInstall theckanext-wirecloud_viewPython package into your virtual environment:pip install ckanext-wirecloud_viewAddwirecloud_viewto theckan.pluginssetting in your CKAN
config file (e.g./etc/ckan/default/production.ini).Add proper values for theckan.wirecloud_view.urlandckan.wirecloud_view.editor_dashboardsettings in your CKAN config file:# URL of the WireCloud instance to use for creating the dashboardsckan.wirecloud_view.url=https://mashup.lab.fiware.org# ID of the dashboard/workspace to use for creating new visualization dashboardsckan.wirecloud_view.editor_dashboard=wirecloud/ckan-editorRestart CKAN. For example if you've deployed CKAN with Apache:sudo service apache2 gracefulDevelopment InstallationTo install ckanext-wirecloud_view for development, activate your CKAN virtualenv and
do:git clone https://github.com/conwetlab/ckanext-wirecloud_view.git
cd ckanext-wirecloud_view
python setup.py develop
Package: ckanext-workflow
ckanext-workflowInstallationTo install ckanext-workflow:Activate your CKAN virtual environment, for example:. /usr/lib/ckan/default/bin/activateInstall the ckanext-workflow Python package into your virtual environment:pip install ckanext-workflowAddworkflowto 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 reloadDevelopment InstallationTo install ckanext-workflow for development, activate your CKAN virtualenv and
do:git clone https://github.com/DataShades/ckanext-workflow.git
cd ckanext-workflow
python setup.py develop
pip install -r dev-requirements.txtRunning the TestsTo run the tests, do:pytest --ckan-ini test.ini
Package: ckanext-wysiwyg
ckanext-wysiwygTODO: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.9not testedSuggested 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-wysiwyg:Activate your CKAN virtual environment, for example:. /usr/lib/ckan/default/bin/activateClone the source and install it on the virtualenvgit clonehttps://github.com//ckanext-wysiwyg.gitcd ckanext-wysiwyg
pip install -e .
pip install -r requirements.txtAddwysiwygto 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 settingsNone at presentTODO:Document any optional config settings here. For example:# The minimum number of hours to wait before re-checking a resource
# (optional, default: 24).
ckanext.wysiwyg.some_setting = some_default_valueDeveloper installationTo install ckanext-wysiwyg for development, activate your CKAN virtualenv and
do:git clone https://github.com//ckanext-wysiwyg.git
cd ckanext-wysiwyg
python setup.py develop
pip install -r dev-requirements.txtTestsTo run the tests, do:pytest --ckan-ini=test.iniReleasing a new version of ckanext-wysiwygIf ckanext-wysiwyg 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 --tagsLicenseAGPL
Package: ckanmirror
ckanmirrorA simple command-line utility that enables incremental mirroring of a nominated package
from a CKAN instance. All CKAN resources associated with the package will be downloaded,
along with their associated metadata. Resources linked from previous versions of the package
are not changed, so this tool can be used to build up an archive of a CKAN package over time.Getting startedInstall the tool:pip install ckanmirrorIn a directory you wish the CKAN package to be mirrored to, write your config into a file namedckanmirror.json:{
    'apikey': '<your CKAN API key>',
    'remote': 'https://ckan.example.com',
    'package_id': '<CKAN package ID>',

}... then, from that directory, simply runckanmirror.
Package: ckanserviceprovider
CKAN Service ProviderA library for making web services that make functions available as synchronous
or asynchronous jobs. Used byDataPusher.Getting StartedTo install ckanserviceprovider for development:gitclonehttps://github.com/ckan/ckan-service-provider.gitcdckan-service-provider
pipinstall-rrequirements-dev.txtTo get started making a web service with ckanserviceprovider have a look at/example. You can run the example server withpython example/main.py example/settings_local.py.For a real-world example have a look atDataPusher.Running the TestsTo run the ckanserviceprovider tests:pytestBuilding the DocumentationTo build the ckanserviceprovider docs:pythonsetup.pybuild_sphinxReleasing a New VersionTo release a new version of ckanserviceprovider:Increment the version number insetup.pyBuild a source distribution of the new version and publish it toPyPI:pythonsetup.pysdistbdist_wheel
pipinstall--upgradetwine
twineuploaddist/*You may want to test installing and running the new version from PyPI in a
clean virtualenv before continuing to the next step.Commit your setup.py changes to git, tag the release, and push the changes
and the tag to GitHub:gitcommitsetup.py-m"Bump version number"gittag0.0.1
gitpush
gitpushorigin0.0.1(Replace both instances of 0.0.1 with the number of the version you're
releasing.)AuthorsThe original authors of ckanserviceprovider were
David Raznickdavid.raznick@okfn.organd
Dominik Moritzdominik.moritz@okfn.org. For the current list of contributors
seegithub.com/ckan/ckan-service-provider/contributors
Package: ckantools
ckantoolsUtilities and common methods for CKAN extensions.OverviewA collection of methods, decorators, and anything else that might be useful.ckantools is still very much in development, and is prone to frequent changes that may or may not work.InstallationpipinstallckantoolsUsageSee the full usage docs onreadthedocs.io.ActionsUse the@actiondecorator to add actions:# logic/actions/module_name.pyfromckantools.decoratorsimportaction@action(schema,helptext,get=False,*other_decorators)defexample_action(parameter_1,parameter_2):# ...Or the@basic_actiondecorator if you want to load the action but don't want any of the other features (schema loading, auto auth, etc):fromckantools.decoratorsimportbasic_action@basic_actiondefexample_action(context,data_dict):# ...And then load the action(s) inplugin.py:# plugin.pyfrom.logic.actionsimportmodule_namefromckantools.loadersimportcreate_actionsfromckan.pluginsimportimplements,interfaces,SingletonPluginclassExamplePlugin(SingletonPlugin):implements(interfaces.IActions)# IActionsdefget_actions(self):returncreate_actions(module_name)AuthLoading auth functions is similar to actions, i.e. use the@authdecorator.# logic/auth/module_name.pyfromckantools.decoratorsimportauth@auth(anon=True)defexample_action(context,data_dict):return{'success':True}@auth('example_action')defother_action(context,data_dict):# checks access to example_action firstreturn{'success':True}The auth functions can then be loaded inplugin.py:# plugin.pyfrom.logic.authimportmodule_namefromckantools.loadersimportcreate_authfromckan.pluginsimportimplements,interfaces,SingletonPluginclassExamplePlugin(SingletonPlugin):implements(interfaces.IActions)# IAuthFunctionsdefget_auth_functions(self):returncreate_auth(module_name)
Package: ckanutils
# ckanutils## Introductionckanutils is a [Python library](#library) for interacting with remote and local [CKAN](http://ckan.org/) instances. It uses [ckanapi](https://github.com/ckan/ckanapi) under the hood, and is essentially a high level wrapper for it. A command line interface built on top of this library is available at [ckanny](https://github.com/reubano/ckanny).With ckanutils, you can- Download a CKAN resource- Upload CSV/XLS/XLSX files into a CKAN DataStore- and much more...## Requirementsckanutils has been tested on the following configuration:- MacOS X 10.9.5- Python 2.7.9ckanutils requires the following in order to run properly:- [Python >= 2.7](http://www.python.org/download) (MacOS X comes with python preinstalled)## Installation(You are using a [virtualenv](http://www.virtualenv.org/en/latest/index.html), right?)sudo pip install ckanutils## Usageckanutils is intended to be used directly from Python.### Examples*Fetch a remote resource*```pythonfrom ckanutils import CKANckan = CKAN(remote='http://demo.ckan.org')resource_id = '36f33846-cb43-438e-95fd-f518104a32ed'r, filepath = ckan.fetch_resource(resource_id, filepath='path/to/file.csv')print(r.encoding)```*Fetch a local resource*```pythonfrom ckanutils import CKANckan = CKAN(api_key='mykey', remote=None)resource_id = '36f33846-cb43-438e-95fd-f518104a32ed'r, filepath = ckan.fetch_resource(resource_id, filepath='path/to/file.csv')print r.encoding```*show data*```pythonfrom ckanutils import CKANckan = CKAN(api_key='mykey', remote=None)resource_id = '36f33846-cb43-438e-95fd-f518104a32ed'r = ckan.datastore_search(resource_id)print r.next()```## Configurationckanutils will use the following [Environment Variables](http://www.cyberciti.biz/faq/set-environment-variable-linux/) if set:Environment Variable|Description--------------------|-----------CKAN_API_KEY|Your CKAN API KeyCKAN_REMOTE_URL|Your CKAN instance remote urlCKAN_USER_AGENT|Your user agent## Hash TableIn order to support file hashing, ckanutils creates a hash table resource called `hash_table.csv` with the following schema:field|type------|----datastore_id|texthash|textBy default the hash table resource will be placed in the package `hash_table`. ckanutils will create this package if it doesn't exist. Optionally, you can set the hash table package in the command line with the `-H, --hash-table` option, or in a Python file as the `hash_table` keyword argument to `api.CKAN`.Example:```pythonfrom ckanutils import apickan = api.CKAN(hash_table='custom_hash_table')hash = ckan.get_hash('36f33846-cb43-438e-95fd-f518104a32ed')```## Scriptsckanutils comes with a built in task manager `manage.py` and a `Makefile`.### Setuppip install -r dev-requirements.txt### Examples*Run python linter and nose tests*```bashmanage lintmanage test```Or if `make` is more your speed...```bashmake lintmake test```## ContributingView [CONTRIBUTING.rst](https://github.com/reubano/ckanutils/blob/master/CONTRIBUTING.rst)## Licenseckanutils is distributed under the [MIT License](http://opensource.org/licenses/MIT), the same as [ckanapi](https://github.com/ckan/ckanapi).
Package: ckan-wit
CKAN-WIT: An API Wrapper for CKAN Open Data PortalsCKAN-WITis a tool that aims to bring the best of open data portals to the developers and IT users from a different domain who might be interested in providing open data features on their web application or content management systems.CKAN standard is our first-class citizen.The library leverages on the standard API characteristic of CKAN to allow for metadata aggregation, filtration, and presentation within a web application. It interacts with more than one single CKAN-instance and provides a simple interface for manipulating the metadata results.CKAN-WIT is primarily meant to provide users and developers of applications with an easy way to access open data resources. No need for unnecessary harvesters and crawlers. Metadata from various CKAN instances are aggregated, filtered, and made available via geographic-location interfaces - Europe, Africa, America and Asia.NoteCKAN-WIT is a python library, not a python application. This is commonly confused in the python community. Libraries provide reusable functionality to other libraries and applications (let’s use the umbrella term projects here). They are required to work alongside other libraries, all with their own set of subdependencies. They define abstract dependencies. Libraries are ultimately meant to be used in some application. Applications are different in that they usually are not depended on by other projects. They are meant to be deployed into some specific environment. See more information on this dichotomy here.Why CKAN-WITThe challenges that CKAN-WIT seeks to solve in the Open data Ecosystem are multi-faceted:Knowing which open-data portal has the dataset/metadata you need can be problematic, CKAN-WIT access more than one portal instance and allows u to search more than one portal from one interfaceDevelopers can focus on their business logic and workflows, whilst using the CKAN-WIT to provide add-on features on their web application.Other CMS can easily integrate the tool to provide open-data add-on features to the CMS.Abstract dependency needs from these portals, and just use CKAN-WIT.Strongly encourage the use of geographic location to show the source of the metadata.
Package: ck-apstra-api
ck-apstra-apiprepare venvpython3.11 -m venv venv
source venv/bin/activate
pip install ck-apstra-apivar/.env file exampleapstra_server_host=local-apstra.pslab.link
apstra_server_port=443
apstra_server_username=admin
apstra_server_password=zaq1@WSXcde3$RFV
excel_input_file=./tests/fixtures/ApstraProvisiongTemplate.xlsx
config_yaml_input_file=tests/fixtures/config.yaml
logging_level=DEBUG
main_blueprint=terra
cabling_maps_yaml_file=tests/fixtures/sample-cabling-maps.yamlLink the env filels -s var/.env .envrun the commandsHelp message(venv) ckim@ckim-mbp:ck-apstra-api % ck-api --help                                                                         
Usage: ck-api [OPTIONS] COMMAND [ARGS]...

Options:
  --logging-level TEXT
  --help                Show this message and exit.

Commands:
  add-bp-from-json
  add-generic-systems
  add-ip-endpoints
  assign-connectivity-templates
  get-bp-into-json
  get-lldp-data                  Get LLDP data between managed switches
  import-routing-zones
  import-virtual-networks
  pull-device-configurations     pull produced configurations from Apstra
  read-generic-systems
(venv) ckim@ckim-mbp:ck-apstra-api %
Package: ck-astro
CK AstroGeneral tools for astronomy I personally use regularly for data analysis.Status:BetaAuthor:Carsten KönigRepository:https://gitlab.com/ck2go/ck-astroPurposeProviding common tools, functions, workflows that I use for my everyday scientific work.Installationpipinstallck-astroHow to useImport modules and use the objects or functions.LicenseMIT LicenseAuthorCarsten KönigGitLabGitHubLinkedInWebsite
Package: ckastrotools
CK AstroToolsGeneral tools for astronomy I personally use regularly for data analysis.Status:AlphaAuthor:Carsten KönigRepository:https://gitlab.com/ck2go/ckastrotoolsPyPi:https://pypi.org/project/CKAstroTools/Documentation:https://ckastrotools.readthedocs.io/en/latest/PurposeProviding common tools, functions, workflows that I use for my everyday scientific work.InstallationpipinstallckastrotoolsHow to useImport modules and use the objects or functions.LicenseMIT LicenseAuthorCarsten KönigGitLabGitHubLinkedInWebsite
Package: ckb
CKB SDK PythonThis is my personal side project, which is not an official SDK. The project is
still in an early stage, the interfaces are unstable, and I may add breaking
changes without notifications.The library works only with Python 3.Quick StartInstall in a virtualenvpython3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txtExamplefrom ckb.rpc import rpc
rpc.get_tip_block_number()Design ChoicesThis project does not add model classes, instead it uses the JSON response
dict directly. You can check the dict schema inckb/types.py.I want to experiment another way to build a CKB SDK. This project will not
support any features that require knowing how a lock or type script works. I'm
going to create various generator library to building transaction, such asckb-sdk-python-secp256k1-generator.