Saravanan666/pypi-org huggingface dataset:
Package: alloyclient
DescriptionA Python client and command-line tool for the Alloy digital archive. Also
includes a rudimentary client for any CDMI enabled cloud storage.AfterInstallation, connect to an Alloy archive:alloy init --api=https://alloy.example.com/api/cdmi(or if authentication is required by the archive):alloy init --api=https://alloy.example.com/api/cdmi --username=USER --password=PASSShow current working container:alloy pwdList a container or object:alloy ls [name]Move to a new container:alloy cd subdir
...
alloy cd ..  # back up to parentCreate a new container:alloy mkdir newPut a local file:alloy put source.txt
...
alloy put source.txt destination.txt  # Put to a different name remotelyProvide the MIME type of the object (if not suppliedalloy putwill attempt
to guess):alloy put --mimetype "text-plain" source.txtFetch a data object from the archive to a local file:alloy get source.txt

alloy get source.txt destination.txt  # Get with a different name locally

alloy get --force source.txt  # Overwrite an existing local fileRemove an object:alloy rm file.txtRecursively remove a container (WARNING: Dangerous!):alloy rm -r containerRemove an already empty container (Safer!):alloy rmdir containerClose the current session to prevent unauthorized access:alloy exitAdvanced Use - MetadataSet (overwrite) a metadata value for a field:alloy meta file.txt "org.dublincore.creator=S M Body"
alloy meta . "org.dublincore.title=My Collection"Add another value to an existing metadata field:alloy meta file.txt "org.dublincore.creator+=A N Other"List metadata values for all fields:alloy meta file.txtList metadata value(s) for a specific field:alloy meta file.txt org.dublincore.creatorDelete a metadata field:alloy meta file.txt "org.dublincore.creator="InstallationCreate And Activate A Virtual Environment$ virtualenv ~/ve/alloyclient<version>
...
$ source ~/ve/alloyclient/bin/activateInstall Dependenciespip install -r requirements.txtInstall Alloy Clientpip install -e .Detailed OSX install  commandssudo easy_install virtualenv      # virtualenv installs pip
python -m virtualenv ~/ve/alloyclient<version>
source ~/ve/alloyclient<version>/bin/activate
pip install -r requirements.txt
pip install -e .LicenseCopyright 2014 Archive Analytics SolutionsLicensed under the Apache License, Version 2.0 (the “License”);
you may not use this file except in compliance with the License.
You may obtain a copy of the License athttp://www.apache.org/licenses/LICENSE-2.0Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an “AS IS” BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Package: alloylib
AlloyCopyright (C) 2020 Transportation, Bots, and Disability Lab - Carnegie Mellon UniversityLicensed under the MIT licenseLatest Version: 0.3.0 (2022-02-16)This is python library that provide commonly used functions in different areas of robotics. The current library consists of functions forbasic vector math operations on numpy,ROS math wrappers,Baxter related functions,Graph search implementations,Basic State Machines. The library is developed for internal use but we welcome others to use it if they find it useful.InstallationThe best way to install this package is to clone/download the package and install it withpip install -e /path/to/packageThe package will also live onpypiand can be installed throughpip install alloylibHowever, that version will not be the most up-to-date version.
Package: alloypress
alloypressA Python static site generator which I use formy personal website.Made using thePython Packaging User Guide.Getting StartedInstall viapip install alloypress.Run the following Python code in the root directory of your site:from alloypress import StaticSite

ssg = StaticSite()
ssg.generate()An example of this can be seen in./tests. It will take every.mdfile in./rawand generate the HTML in./.FeaturesThe high-level approach ofalloypressis serve static HTML and CSS files, rendering nothing client-side.It supports:Jon Gruber's originalMarkdown syntaxviamarkdownLaTeX vialatex2mathmlinside$and$$delimitersSyntax highlighting for Python viapygmentsSidenotes which are displayed inline on narrow devicesSortable and tag-filtered index page for each top-level folderOnly re-generates HTML if the Markdown has been modified, and deletes orphaned HTML filesTo Be ImplementedSupport for other languages viapygmentsSidebar-based navigationEmbedding-based search across all pagesPost summaries on the index page via yaml frontmatterMore coming soon...
Package: alloy-python
Alloy Python SDKThis SDK provides a Python interface for interacting with Alloy APIs. It's designed for flexibility and easy integration into Python projects and is distributed via PyPI.InstallationThe Alloy Python SDK can be easily installed using pip:pipinstallalloy-python-sdkUsageThe package needs to be configured with your account's API key, which is available in the Alloy Dashboard under settings. You must supply the API key with each instantiation of the module.Unified APITo use thie SDK with Alloy's Unified API, use the code snippet below:fromalloy_python.uapiimportUAPIuapi=UAPI('YOUR_API_KEY')Creating a UserTo make API calls to Unified API, you must firstcreate a user. To create a user, call theUser.create_user()method as seen below. You must pass a unique username.user_data={'username':'john@example.com'}user_data=user.create_user(user_data)Before you make your first API call, you will need to obtain aconnectionId. A connectionId represents the unique identifier of an app you plan to make API calls to. You can obtain a connectionId by using the frontend SDK. Read morehere.Making requests to Alloy Unified API's SDKOnce you have aconnectionId, you can start making calls to Alloy Unified API. See the example below for making a request to the Commerce Unified API:fromalloy_python.uapi.commerceimportCommercecommerce=Commerce('YOUR_API_KEY')list_customers_response=commerce.list_customers()Alloy EmbeddedTo set up Alloy's Embedded iPaaS, use the code snippet below:fromalloy_python.embeddedimportEmbedded# Initialize with your API keyembedded=Embedded('YOUR_API_KEY')# Example usage with the App classresponse=embedded.App.get_apps()print(response)TestingAPI Key for TestingTo test the SDK, you'll need to set theALLOY_API_KEYenvironment variable. This can be done in your terminal session:exportALLOY_API_KEY="your_api_key_here"Running Test ScriptsThe SDK includes a set of test scripts that you can use to verify its functionality. Before running these scripts, ensure that theALLOY_API_KEYenvironment variable is set as described above. You may need to replace user IDs, workflow IDs, integration IDs, etc., in the test scripts with those specific to your Alloy account.Run a test script using:python3test/path_to_test_script.pyFor example:python3test/apps/get_apps.pyContributingContributions to the SDK are welcome. Please ensure to follow the coding standards and write tests for new features.
Package: all-package-resolver
package-resolverThis package is for those who need to download a package, with ALL of its dependencies. Not install, download only.The idea is to be able to get all versions, of any package, on all platforms. This includes:Linux distros packages (deb, rpm, apk...)Programming languages packages (Python, Node...)OS DistributionsAt the moment only Ubuntu, Centos and alpine are implemented, all at their latest versions.
In the future you will be able to get packages based on the distro version.Programming languages packagesAt the moment only python and node are implemented, But in the future you will be able to download packages based on the language version, and os distro.RequirementsThe problem is that you can't download rpm files with yum if you are on ubuntu. Right? Wrong. This is possible thanks to docker containers.
You can build any environment imaginable with containers, and thats what this package does.
If you want to download vim for ubuntu, no matter what os you are running, the package will run a container of ubuntu, download the .deb files and zip it to one single file.To use this package you will need to run docker on your system:Install DockerInstallation$python-mpipinstallall-package-resolverUsage$download-package[OPTIONS]COMMAND[ARGS]...Options-v, --verbose                     Show logs
    -o, --output-dir <output-dir>     Output directory
    -c, --no-cleanup                  No cleanup
    -h, --help                        output usage informationCommandsos <distro> <package>  Download a package for a specific os distro
    lang <language> <lang-version> <package>  Download a package for a specific languageExamples$download-packageosubuntuvim$download-package-vlangpython3.10boto3$download-package--output-dir="/dst/folder"langpython3.6boto3# For multiple packages$download-packagelangpython3.6"boto3 requests"$download-package--help
Package: all-packages
all_packagesThe Python Package Index (PyPI) contains over 300,000 Python packages. Need a
Python library but don't want to search through all the options? Search no
further!all_packagesis a Python script that attempts to install every
package on PyPI - all 349,451 of them as of 11 Jan 2022.Installpip install all_packagesRunFrom the command line, execute the following.all_packages installFor each package on PyPI, this creates a virtual environment in theall_packagessubdirectory of your home directory and attempts to install the
package into that virtual environment.To customize where the virtual environments are created, use the-doption.all_packages install -d MYDIRECTORY
Package: all-pay
轻量级支付方式整合集成，实现支付与业务完全剥离，快速简单完成支付模块的开发特性屏蔽支付方式之间接入API和数据结构的差异，统一API和数据结构支持支付类型横向扩展统一异常处理支持支付方式及功能支付方式支付宝(pay_type=ali_pay)微信支付(pay_type=wx_pay)通用功能电脑网站支付手机网站支付APP支付异步通知校验交易查询交易取消退款退款查询平台特有功能微信JS支付微信企业付款到零钱使用说明核心说明配置(dict)ALIPAY_CONFIG={'pay_type':'ali_pay',# 必填 区分支付类型'app_id':'xxx',#必填 应用id'private_key_path':'xxx',#必填 私钥'public_key_path':'xxx',#必填公钥'notify_url':'xxx',#异步回调地址'sign_type':'RSA2',# 签名算法 RSA 或者 RSA2'debug':False,# 是否是沙箱模式}WECHAT_CONFIG={'pay_type':'wx_pay',# 必填 区分支付类型'app_id':'xxx',# 必填,应用id'mch_key':'xxx',# 必填,商户平台密钥'mch_id':'xxx',# 必填,微信支付分配的商户号'app_secret':'xxx',# 应用密钥'notify_url':'xxx'# 异步回调地址'api_cert_path':'xxx',# API证书'api_key_path':'xxx'# API证书 key}其中pay_type为本项目所需，用来区分支付类型，其余为对应支付方式所需配置参数，具体参考对应支付方式对应的官方文档。Pay支付网关，支付方式分配和转发入口PayOrder统一封装支付订单信息，主要用于支付下单生成统一订单例子order=PayOrder.Builder().subject('商品标题').out_trade_no('商品订单号').total_fee('商品费用').build()通过Builder模式+链式调用灵活组合通用参数和特殊参数
更多参数说明参见源码PayResponse是统一封装支付返回业务信息，主要用于支付查询生成统一回单例子response=PayResponse.Builder().trade_no('平台订单号').out_trade_no('商家订单号').build()通过Builder模式+链式调用灵活组合通用参数和特殊参数
更多参数说明参见源码demoALIPAY_CONFIG={'pay_type':'ali_pay',# 必填 区分支付类型'app_id':'xxx',#必填 应用id'private_key_path':'xxx',#必填 私钥'public_key_path':'xxx',#必填 公钥'notify_url':'xxx',# 异步回调地址'sign_type':'RSA2',# 签名算法 RSA 或者 RSA2'debug':False,# 是否是沙箱模式}# 额外参数，某些支付方式有些选填的参数在PayOrder并没有封装，可以自行传递extra_params={'xxx':'xxx''xxx':'xxx''xxx':'xxx'}order=PayOrder.Builder().subject('商品标题').out_trade_no('商品订单号').total_fee('商品费用').build()pay=Pay(ALIPAY_CONFIG)# 传入对应支付方式配置order_res=pay.trade_page_pay(order,extra_params)# 传入对应订单和额外参数（要是需要）功能说明电脑网站支付[trade_page_pay]pay=Pay(ALIPAY_CONFIG)# 传入对应支付方式配置order_res=pay.trade_page_pay(order)# 传入对应订单手机网站支付[trade_wap_pay]pay=Pay(ALIPAY_CONFIG)# 传入对应支付方式配置order_res=pay.trade_wap_pay(order)# 传入对应订单APP支付[trade_app_pay]pay=Pay(ALIPAY_CONFIG)# 传入对应支付方式配置order_res=pay.trade_app_pay(order)# 传入对应订单异步通知校验[parse_and_verify_result]# 传入对应支付方式配置pay=Pay(WECHAT_CONFIG)# 传入对应支付方式返回的原始数据，校验成功会返回解析成json数据data=pay.parse_and_verify_result(req_xml)微信JS支付[trade_js_pay]# 传入对应支付方式配置pay=Pay(WECHAT_CONFIG)# 传入对应订单data=pay.trade_js_pay(order)微信企业付款到零钱[enterprise_pay]# 传入对应支付方式配置pay=Pay(WECHAT_CONFIG)# 传入对应订单data=pay.enterprise_pay(order)交易查询[trade_query]# 传入对应支付方式配置pay=Pay(WECHAT_CONFIG)# 传入对应回单信息data=pay.trade_query(response)交易取消[trade_cancel]# 传入对应支付方式配置pay=Pay(WECHAT_CONFIG)# 传入对应回单信息data=pay.trade_cancel(response)退款[trade_refund]# 传入对应支付方式配置pay=Pay(WECHAT_CONFIG)# 传入对应回单信息data=pay.trade_refund(response)退款查询[trade_refund_query]# 传入对应支付方式配置pay=Pay(WECHAT_CONFIG)# 传入对应回单信息data=pay.trade_refund_query(response)贡献本项目目前支持的支付方式和API还不多，欢迎你给本项目提pull
request，扩展新的的支付接口，同时如果你有好的意见或建议，也欢迎给本项目提issue声明：本项目主要目标的是支付整合，统一支付API和数据结构，在具体支付模块的接入实现参考了一些开源项目支付宝模块基于python-alipay-sdk微信模块基于wx_pay_python
Package: allpowers-ble
Allpowers BLEInterface with smart batteries from AllpowersInstallationInstall this via pip (or your favourite package manager):pip install allpowers-bleContributors ✨Thanks goes to these wonderful people (emoji key):This project follows theall-contributorsspecification. Contributions of any kind welcome!CreditsThis package was created withCopierand thebrowniebroke/pypackage-templateproject template.
Package: allPrint
tired of the squiggly red lines from typing "console.log" because you were just working on a javascript front end five minutes ago? just want to print one goddamn line to the console but can't remember what to type because there's too many fucking print statements? well do i have news for you.HI BILLY MAYS HEREfor ALLPRINT. a pypi package that lets you use all print statements from any coding language**. simply typefrom allPrint import *at the top of any python file. it just works.** except C++. what the fuck bjarne??
Package: all-purpose-dict
All Purpose DictTable of ContentsWhat is it?Why create it?Simple usageSee AlsoApiTestWhat is it?A dict which doesn't require hashable keysWhy create it?I often have a need to store non-hashable keys in a dict.  For example storing
a dict as a key isn't possible with the builtin dict.# doesn't worksomeDict={"key":"value"}anotherDict={someDict:"anotherValue"}Simple usagefromall_purpose_dictimportApDictsomeDict={"key":"value"}anotherDict=ApDict([(someDict,"anotherValue")])print(someDictinanotherDict)# prints TrueSee AlsoAll Purpose SetApiNote: This api is young and subject to change quite a bit.  There also may be
functionality present in the builtin dict which ApDict doesn't cover.  I'm
willing to add it so please just raise a github issue or PR with details.class ApDict([a list of pairs])'pairs' may be either a list or tuple with a length of 2all methods returnselfunless specified otherwiseiterates in the order of insertionviews are not implemented because I don't have a need for them. Instead I
exposekeysIteratorandvaluesIterator.  If you need views then raise a
github issue.the internal methods implemented are__contains____delitem____getitem____iter____len____setitem__clear()delete(key)a function alternative todel aDict[key]get(key, default=None) => valueget the value for key if key is in the dictionary, else default.note: this never raises a KeyError.has(key) => boola function alternative tokey in aDictgetKeysIterator() => ApDictKeysIteratorset(key, value)a function alternative toaDict[key] = valgetValuesIterator() => ApDictValuesIteratorTest## you must have poetry installed#$poetryshell
$poetryinstall
$pythonrunTests.py
Package: all-purpose-set
All Purpose SetTable of ContentsWhat is it?Why create it?Simple usageSee alsoApiTestWhat is it?A set which doesn't require hashable contentsWhy create it?I often have a need to store non-hashable contents in a set.  For example
storing a dict isn't possible with the builtin set.# doesn't worksomeDict={"key":"value"}someSet={someDict}Simple usagefromall_purpose_setimportApSetsomeDict={"key":"value"}someSet=ApSet([someDict])print(someDictinsomeSet)# prints TrueSee alsoAll Purpose DictApiNote: This api is young and subject to change quite a bit.  There also may be
functionality present in the builtin set which this set doesn't cover.  I'm
willing to add it so please just raise a github issue or PR with details.class ApSet([a list])all methods returnselfunless specified otherwiseiterates in the order of insertioncurrently the internal methods implemented are__contains____iter____len__add(something)clear()has(something) => boola function alternative tokey in aSetremove(something)raises aKeyErrorif the element doesn't existTest## you must have poetry installed#$poetryshell
$poetryinstall
$pythonrunTests.py
Package: all-relative
all-relativeA command line tool to convert a static site to use only relative urls.Run it from the the directory which contains your generated static site to have it convert all urls in html and css to be relative to that dir or specify it as a cli argument.Relative urls leaves you with a portable website that doesn't care what path it is mounted at./,/olizilla//ipfs/hash/,file://x/y/z/, the lot, it don't care. This allows you to load the same static site viaIPFSor github pages, or the localfile system, as well as from the root of your custom domain. Relative urls are wonderful.The command willedit the files in place, so it's best to run it on generated output that you can recreate if you need to. If you can't, be sure to take a back up of your site first.InstallInstall it with$pipinstallall-relativeor run just it wihtout installing it viapipxsee here if you haven't heard about it$pipxall-relativeUsageRun the command from the root directory of your static site.$all-relativeInspired byall-relative
Package: all-repos-depends
all-repos-dependsView the dependencies of your repositories.all-repos-dependsis an add-on project toall-repos.Installationpip install all-repos-dependsCLITo generate the database, runall-repos-depends-generate.To run the webapp, runall-repos-depends-server.  The server runs on a
configurable--port.configuration{"all_repos_config":"../all-repos/all-repos.json","get_packages":["all_repos_depends.packages.setup_py","all_repos_depends.packages.package_json"],"get_depends":["all_repos_depends.depends.setup_py","all_repos_depends.depends.requirements_tools"]}providersProviders are the pluggable bits ofall-repos-depends.  A few providers are
given for free.The types that the providers will produce are inall_repos_depends.types:Package=collections.namedtuple('Package',('type','key','name'))Depends=collections.namedtuple('Depends',('relationship','package_type','package_key','spec'),)If a provider encounters a detectable error state, it should raise an
exception of the typeall_repos_depends.errors.DependsError.packageprovidersApackageprovider will be called while thecwdis at the root of the
repository.  It must return aall_repos_depends.types.Packagethat the
repository provides (orNoneif it is not applicable).A few are provided out of the box (PRs welcome for more!)all_repos_depends.packages.setup_pyThispackageprovider reads the ast ofsetup.pyand searches for thenamekeyword argument.  For now this means it will only be able to readsetup.pyfiles which have python3-compatible syntax and set their name
literally.all_repos_depends.packages.package_jsonReads thenamefield out of an npmpackage.jsonfile.dependsprovidersAdependsprovider will be called while thecwdis at the root of the
repository.  It must return a sequence orall_repos_depends.types.Dependsthat the repository provides (or an empty sequence if it is not applicable).all_repos_depends.depends.setup_pyThisdependsprovider reads the ast ofsetup.pyand searches for theinstall_requireskeyword argument.all_repos_depends.depends.requirements_toolsThisdependsprovider reads the following requirements files according to
the conventions forrequirements-tools:requirements-minimal.txt(DEPENDS)requirements.txt(REQUIRES)requirements-dev-minimal.txt(DEPENDS_DEV)requirements-dev.txt(REQUIRES_DEVif-minimalis present otherwiseDEPENDS_DEV)
Package: all-repos-envvar
all-repos-envvarSource Code:https://github.com/browniebroke/all-repos-envvarAn all-repos extension to read values from environment variables.InstallationInstall this via pip (or your favourite package manager):pip install all-repos-envvarUsageThis library should be installed alongsideall-reposso that it's findable at import time. It provides a customsourceandpushto get the GitHub API key from an environment variableGITHUB_API_KEY(reading from and.envfile is also supported), allowing you to omit it from the config:{"output_dir":"output","source":"all_repos_envvar.source","source_settings":{"username":"browniebroke"},"push":"all_repos_envvar.push","push_settings":{"username":"browniebroke"}}I wanted this feature, but it looks like it won't be implemented in the main repo, hence this little extension. The source module extendsall_repos.source.githuband the push module extendsall_repos.push.github_pull_requestContributors ✨Thanks goes to these wonderful people (emoji key):Bruno Alla💻🤔📖This project follows theall-contributorsspecification. Contributions of any kind welcome!CreditsThis package was created withCookiecutterand thebrowniebroke/cookiecutter-pypackageproject template.
Package: allrucodes
allrudirectoryPython package with a collection of official all-russian code catalogsDocumentation:https://naydyonov.github.io/allrucodesGitHub:https://github.com/naydyonov/allrucodesPyPI:https://pypi.org/project/allrucodes/Free software: MITFeaturesFor now it contains few of all-russian classifiers:OKSM (ОКСМ) - All-russian classifier of world countries (Общероссийский классификатор стран мира)OKOPF (ОКОПФ) - All-russian classifier of organizational and legal forms (Общероссийский классификатор организационно-правовых форм)CreditsThis package was created withCookiecutterand thewaynerv/cookiecutter-pypackageproject template.
Package: allset
A small python utility for auto-completing__all__and binding
sub-modules in__init__.pyfiles.How to UseAdd these lines to the top of your__init__.py.import allset
allset.set_all_submodules(globals())
allset.bind_all_submodules(globals())
del allsetNow you can reference any sub-module withimport mysubmoduleorfrom mysubmodule import SubModClassDef. Additionally, thefrom mymodule import *will work as though you specified all
sub-modules in__all__manually.What’s it do?set_all_submodulessets up you__all__variable by
auto-detecting the files and sub-modules in the current directory.bind_all_submodulestakes the submodules found inset_all_submodulesand applies them to the current namespace.