Saravanan666/pypi-org huggingface dataset:
Package: vc2-pseudocode-parser
SMPTE ST 2042-1 VC-2 Pseudocode Language Parsing SoftwareThis repository contains software tools for parsing the pseudocode language
used in theSMPTE ST 2042-1 (VC-2) professional video
codecspecification documents.As well as a parser capable of generating Abstract Syntax Trees (ASTs) for
pseudocode listings, tools are also provided for translating the pseudocode
language into Python and also pretty-printed, syntax highlighted Word documents
for inclusions in specifications.InstallationTo install fromPyPIuse:$ pip install vc2_pseudocode_parserAlternatively, to install directly from a checkout of this repository:$ python setup.py install --userThis software requires Python 3.6 or later.To enable support for generating Word documents,python-docxmust also be
installed (e.g. usingpip install python-docx).Example usageAs an example, consider the following pseudocode listing:color_spec(state, video_parameters):
    # (11.4.10.1)
    custom_color_spec_flag = read_bool(state)
    if (custom_color_spec_flag):
        index = read_uint(state)
        preset_color_spec(video_parameters, index)
        # NB: index 0 is 'custom'
        if (index == 0):
            color_primaries(state, video_parameters)  # 11.3.9.1
            color_matrix(state, video_parameters)  # 11.3.9.2
            transfer_function(state, video_parameters)  # 11.3.9.3This may be converted into Python as follows:$ vc2-pseudocode-to-python listing.pc listing.py
$ cat listing.py
# This file was automatically translated from a pseudocode listing.

def color_spec(state, video_parameters):
    """
    (11.4.10.1)
    """
    custom_color_spec_flag = read_bool(state)
    if custom_color_spec_flag:
        index = read_uint(state)
        preset_color_spec(video_parameters, index)
        # NB: index 0 is 'custom'
        if index == 0:
            color_primaries(state, video_parameters)  # 11.3.9.1
            color_matrix(state, video_parameters)  # 11.3.9.2
            transfer_function(state, video_parameters)  # 11.3.9.3Or into a Word document with tabular listings as follows:$ vc2-pseudocode-to-docx listing.pc listing.docxFor a more thorough introduction, see thevc2_pseudocode_parsermanual(also available inPDF
format).DevelopmentTesting dependencies may be installed using:$ pip install -r requirements-test.txtTests are then run using:$ py.testThough typechecking (usingMyPy) is performed
as part of the test suite, it may be run manually using:$ ./run_mypy.shDocumentation build dependencies can be obtained using:$ pip install -r requirements-docs.txtAnd the documentation built using:$ make -C docs html latexpdfExperimental softwareThe tools in this repository are experimental in nature. They are part of an
informal thread of work to see how enhanced machine readability of pseudocode
specifications may prove valuable to implementers and specification authors
alike. ContactJonathan HeathcoteorJohn Fletcherfor more information.LicenseThis software is distributed under theGNU General Public License version
3, © BBC 2021.
Package: vc2-quantisation-matrices
SMPTE ST 2042-1 (VC-2) Quantisation Matrix Computation RoutinesThis Python package,vc2_quantisation_matrices, provides both a standalone
software tool and Python module for computing 'default' quantisation matrices
for the SMPTE ST 2042-1:2017VC-2 professional video
codec. Specifically, this software
implements the procedure from section (D.3.2) of the standard for computing
quantisation matrices which achieve noise-power normalisation.This software is provided both as an informal reference and also as a tool for
computing quantisation matrices for wavelet transform and depth combinations
for which no default matrix is provided.For further information, please conatactJonathan
HeathcoteorJohn
Fletcher.InstallationYou can install thevc2_quantisation_matricesPython
module fromPyPIusing:$ pip install vc2_quantisation_matricesAlternatively you can install it from a copy of this repository using:$ python setup.py installDocumentationYou can read thevc2_quantisation_matricesmanual online
here(also available inPDF
format).
This includes both instruction on the use of this software as well as a more
thorough overview of the process it implements.Running the TestsTo run the test suite, first install the test suite dependencies using:$ pip install -r requirements-test.txtThen run the tests:$ pytest tests/Building the DocumentationTo build the documentation, first install the build dependencies:$ pip install -r requirements-doc.txtThen build the documentation:$ cd docs
$ make html  # or make latexpdfThe built documentation can then be found indocs/build/.LicenseThis software is distributed under theGNU General Public License version
3, © BBC 2021.
Package: vcache
vcache阅读go-redis/cache的代码后，为了理解原代码，遂用Python 实现了一个版本。（py3.7 编写，其他版本未经测试）Feature支持缓存 Python的所有内置对象以及自定义类实例支持自定义 local_cacheInstallpip install vcacheUsagewithout redis>>>fromvcacheimportCache,Item>>>value="Hello, World, Hello 中国">>>key="key">>>item=Item(key,value)>>>cache=Cache()>>>cache.set(item)True>>>cache.get(key)'Hello, World, Hello 中国'>>>use redis>>>fromredisimportRedis>>>fromvcacheimportCache,Item,Option>>>r=Redis(host='localhost',port=6379,db=0)>>>opt=Option(redis=r,stats_enabled=True)>>>cache=Cache(opt=opt)>>>value="Hello, World, Hello 中国">>>key="key">>>item=Item(key,value)>>>cache.set(item)True>>>cache.get(key)'Hello, World, Hello 中国'>>>cache.get(key,skip_local_cache=True)'Hello, World, Hello 中国'Testpipinstall-rreq-test.txt
python-mpytesttest_vcache.py-vLinkhttps://github.com/vimiix/vcachehttps://github.com/go-redis/cache
Package: vcapi
vcapi is a python cli wrapper to veracode’s upload api.UsageSave your credentials in a two line file named .veracoderc in your home directory, or specify a credential file
with the –cred-file option. The file should have your username on the first line and your password on the second line.Usage: vcapi [OPTIONS] COMMAND [ARGS]...

  Veracode command line interface

Options:
  --cred-file TEXT  Two line file containing username and password.
  -v, --verbose     Enables logging
  --help            Show this message and exit.

Commands:
  begin-prescan        Begins the prescan.
  begin-scan           Begins a scan
  create-app           Creates a new app.
  create-build         Creates a build.
  delete-build         Deletes a build.
  get-app-info         Gets information for a particular app.
  get-app-list         Gets a list of apps and their ids.
  get-build-info       Gets info for an app build.
  get-build-list       Gets a list of builds for an app.
  get-file-list        Gets a list of files uploaded to a build.
  get-policy-list      Gets a list of policies you have defined.
  get-prescan-results  Gets the results of a prescan.
  get-vendor-list      Gets a list of vendors you have defined.
  remove-file          Removes a file from an app.
  update-app           Updates an app.
  update-build         Updates build infomation for a build.
  upload-file          Uploads a fileExamplesList all the apps you have access to:vcapi get-app-listGet help on a particular command:vcapi update-app --helpPerform a command with verbosity:vcapi -v get-app-list
Package: vcap-services
Parse and return service credentials from environment variables thatIBM Cloudprovides.Installation$pipinstallvcap_servicesUsagefromvcap_servicesimportload_from_vcap_servicescredentials=load_from_vcap_services('personality_insights')print(credentials);IfVCAP_SERVICESis:{"personality_insights":[{"credentials":{"password":"<password>","url":"<url>","username":"<username>"},"label":"personality_insights","name":"personality-insights-service","plan":"standard"}]}Output:{"password":"<password>","url":"<url>","username":"<username>"}Getting credentials for a specific planGet credentials that match a specific service plan (only forVCAP_SERVICES).fromvcap_servicesimportload_from_vcap_servicescredentials=load_from_vcap_services('personality_insights','standard')print(credentials);Getting credentials for a specific instanceGet credentials that match a specific service instance (replace “YOUR
NLC NAME” with the name of your service instance).fromvcap_servicesimportload_from_vcap_servicescredentials=load_from_vcap_services('natural_language_classifier',None,'YOUR NLC NAME')print(credentials);Getting credentials for a specific plan and instanceGet credentials that match a specific service plan and instance (replace
“YOUR NLC NAME” with the name of your service instance).fromvcap_servicesimportload_from_vcap_servicescredentials=load_from_vcap_services('natural_language_classifier','standard','YOUR NLC NAME')print(credentials);TestsRunning all the tests:$pipinstall-rrequirements.txt$cp.env.mock.env$pytest--cov=vcap_servicesLicenseMIT.ContributingSeeCONTRIBUTING.
Package: vcard
vCard moduleThis program can be used for strict validation and parsing of vCards. It currently supportsvCard 3.0 (RFC 2426).InstallationTo install or upgrade in a virtualenv:pipinstall--upgradevcardTo use without installing:nix-shellSee the nixpkgs index for instructions to install thecommand-line toolor thePython package.UsageSeevcard --help.Utilitiesformat-TEL.bash- Format phone numbers according to national standardssplit.bash- Split a multiple vCards file into individual filessort-lines.bash- Sort vCard property lines according to a custom keyjoin-lines.sh- Join previously split vCard linessplit-lines.sh- Split long vCard linesDevelopmentSetupgitclonegit@gitlab.com:engmark/vcard.gitReleaseBump the version invcard/version.txtCommit & push everythingCreate a new merge requestWait for the MR to be mergedUpdate to latestmasternix-shell --pure --run './clean.bash && ./distribute.bash && ./release.bash'Requirements:NixContributing codeYou can contribute either by submitting amerge requestsor byemail.Security fixes should only be submitted via email, encrypted with the PGP key
F1C5F63013E5DE2FB574D42ACE5EB38344D85DB6.Email is also appropriate in some other cases:If you don't want tocreate a GitLab account.If you want to beanonymous.Make sure to be explicit about this! Contributing anonymously
means the following:You transfer copyright to me. Otherwise your contribution would make it impossible for future
maintainers to ever change the license - they wouldn't know who to contact to ask for
permission.The commit message will make it clear that it was contributed anonymously, with an
"Authored-by: Anonymous <>" line.Email submissions must be in patch format, including a detailed commit message, so that it can be
added to the repository without any changes, and without breaking the pipeline.🚫 Other channels arenot supported.How open is this project?BackgroundGitLab features:All features enabled for this repository are publicly availableProject settings are private for security reasonsCommit history:All commits on all branches are publicly visibleIssues:Publicly visibleYou need to be logged into GitLab to submit an issue or commentQuestions from non-users interested in the project are welcomeExpect answers within a few daysPipelines:The configurationis publicly visibleRunsare publicly visibleLogs are publicly visible, andlogs should be kept indefinitely.Releases:Hosted publiclyOld releasesshould be available indefinitely, but
this is under PyPI's control, not mineWork (past, current, and planned) is documented publicly within theproject
Package: vcard-from-csv-morris
Source CodeGitHub RepositoryVCard GeneratorThis is a Python script that generates vCards based on a provided DataFrame and dictionary of column mappings. The script includes various functions to preprocess the data, validate the column mappings, clean and format the contact information, add a prefix to first names, and create and write the vCard entries to a file.RequirementsPython 3.0 or higherPandas libraryUsageImport the required libraries:!pipinstallvcard-from-csv-morrisimportpandasaspdfromvcard_bulk_create.mainimportvcf_card_generatedf=pd.read_csv("yourfile.csv")d={"first_name":"Name","phone":"Phone"}vcf_card_generate(df,d)Specify the column mappings as a dictionary. Each key in the dictionary should correspond to one of the valid keys, and the value should be the column name in the DataFrame that corresponds to that key. Ignore the key value pair if not available:column_mappings={"last_name":"Last Name Column","first_name":"First Name Column","org":"Organization Column","title":"Title Column","phone":"Phone Column","email":"Email Column","website":"Website Column","street":"Street Column","city":"City Column","p_code":"Postal Code Column","country":"Country Column"}Note: Make sure that the column names in the dictionary match the column names in your DataFrame.Call thevcf_card_generatefunction, passing in the DataFrame, column mappings, and any optional parameters:vcf_card_generate(df,column_mappings,prefix=None,path=None)prefix: A prefix to be added to the first names in the vCards. This is an optional parameter and can be set toNone.path: The path to save the vCard file. This is an optional parameter and can be set toNone.The vCard entries will be generated based on the provided DataFrame and column mappings. If a prefix is specified, it will be added to the first names. The vCard entries will be written to a file specified by thepathparameter. If nopathis provided, the default file name is "result.vcf".Example output:Generated vcard. 10 of them. At result.vcfNotesThe provided DataFrame should include columns corresponding to the valid keys defined in theVALID_KEYSset. If any of the required columns are missing, the script will raise an error.The script performs preprocessing and cleaning operations on the contact information to ensure the vCard entries are formatted correctly. It removes special characters, spaces, and punctuation, and formats names and phone numbers appropriately.The vCard file is written in the vCard 3.0 format, following the mappings defined by thevCard RDF Specification.The script uses the Pandas library for data manipulation. Make sure the library is installed before running the script.The script prints a success message when the vCard generation is complete. The message includes the total number of vCard entries generated and the file path where the vCard file is saved.
Package: vcardgen
GeneriertVCardsmit zufälligen, aber plausiblen Daten.Diese können z.B. genutzt werden, um Software zu testen, die VCards importiert oder verarbeitet.Das in Python geschriebene Kommandozeilen-Tool ist Open Source und steht unter derGPLv3.Installation# pip install vcardgenFür die Installation brauchst du Admin-Rechte. Wenn du nicht root bist benutze sudo oder wende dich an den Administrator.Kompatibel mit Python 2.7, Python 3.3+ sowiePyPy.Eine VCard erzeugen$ vcardgen -f Kontakt.vcfSie wird als Kontakt.vcf im aktuellen Verzeichnis gespeichert.1000 VCards erzeugen$ vcardgen -c 1000 -f Kontakte.vcfDie Anzahl wird mit dem Parameter -c angegeben.Hilfe$ vcardgen -hBeispielBEGIN:VCARD
VERSION:3.0
PRODID:-//davidak//Random VCard-Generator 0.8//DE
FN:Sara Hufnagel
N:Hufnagel;Sara;;;
BDAY:2003-11-02
BIRTHPLACE:Luckau
CATEGORIES:Freunde
TZ:+0100
EMAIL;TYPE=INTERNET;TYPE=HOME;TYPE=PREF:sarhuf@yahoo.com.au
URL;TYPE=HOME:http://sara.hufnagel.org/
NOTE:Lieblingsfarbe: Grau
END:VCARD
Package: vcarhilclient
pymrt_client Packagekunyi automatic test mrt client；Example:1.Create a connection:from pymrt_client.kunyi_mrt import *my_mrt = mrt_client("192.168.5.43", "8888", "8889", "8890")ec = my_mrt.connet()assert ec.value == 02.Create experimentec = my_mrt.create_test_env("envName")assert ec.value == 03.Send test packageec, file_id = my_mrt.download_file(pf_path)assert ec.value == 04.Send mapping fileec, mapping_id = my_mrt.download_file(mapping_path)assert ec.value == 05.Load device mappingec = my_mrt.load_device_mapping(map_id)
assert ec.value == 06.Loading test packagemy_mrt.load_test_resources_to_env("envName", file_id)7.Start the experimentec = my_mrt.start_test("envName")assert ec.value == 08.Enter the inputport send valuerc = my_mrt.set_input_port_value("envName", "expression_1", "x[0]", "Double", 1.1,item_count=1,struct_detail=None)assert rc == 89.Get outputport valuerc, value = my_mrt.get_output_port_value("envName", "expression_1", "y[0]", "Double",item_count=1,struct_detail=None)assert rc == 8assert value == 1.110.Create daqec, daq_handle = my_mrt.create_daq("envName", 2, 0)assert ec.value == 0, "resValue:{}".format(ec.value)11.daq set portec = my_mrt.daq_set_port("envName", daq_handle, 0, "expression_1", "x[0]",
mrt_port_type_t.MRT_INPUT_PORT, "Double")assert ec.value == 0, "resValue:{}".format(ec.value)12.start daqec = my_mrt.start_daq("envName", daq_handle)assert ec.value == 0, "resValue:{}".format(ec.value)13.Read daqres_code  = my_mrt.daq_read("envName", daq_handle,item_count=1,sub_struct_detail=None)14.Creation generatorec , gen_handle = my_mrt.create_gen("envName",2)assert ec.value ==015.Stop daqec = my_mrt.stop_daq("envName", daq_handle)assert ec.value == 016.Destroy daqec = my_mrt.destroy_daq("envName", daq_handle)assert ec.value == 017.Stop the experimentec = my_mrt.stop_test("envName")assert ec.value == 018.Delete the experimentec = my_mrt.delete_test_env("envName")assert ec.value == 0
Package: vcbblueprint
Visual Circuit Board (VCB) Python LibraryDescriptionThis Python library provides a way to read Visual Circuit Board (VCB) blueprint strings and convert them into a convenient data structure.Installationpip install vcbblueprintUsageHere is a simple usage example:importvcbblueprintblueprint_string="VCB+..."# a VCB blueprint string# read the blueprint string and get the version and layersversion,layers=vcbblueprint.read_blueprint(blueprint_string)# use the filter function to get a boolean matrix of pixels of a# specific component typeand_pixels=vcbblueprint.filter(layers[0],vcbblueprint.ComponentType.AND)ContributionsContributions are welcome. Feel free to open an issue or submit a pull request.
Package: vcdb
Vcdb scans a version control repository and builds an SQL database that can
be queried. This simplifies monitoring version control activity and obtaining
numbers from it.InstallationVcdb is available fromhttps://pypi.python.org/pypi/vcdband can be installed
running:$ pip install vcdbThe minimum supported Python version is 3.4.The Subversion command line clientsvnmust be installed and located in
the command search path ($PATHresp.%PATH%).UsageTo build a database for vcdb’s own repository run:$ vcdb https://github.com/roskakori/vcdb/trunk sqlite:////tmp/vcdb.dbCurrently vcdb only supports Subversion. Because Github provides a Subversion
interface for git repositories you can still analyze them using a call like
the one above.You can then query the database using e.g. the sqlite command line client, for
example:$ sqlite3 /tmp/vcdb.db "select count(1) from changes"The data model is a work in progress, so their is no documentation yet. To
see the SQL code used to create all available tables, columns and their
relations, run:$ sqlite3 /tmp/vcdb.db ".schema"To see all available command line options, run:$ vcdb --helpTo see the current version number, run:$ vcdb --versionLicenseCopyright (C) 2016 Thomas Aglassinger. Distributed under the GNU Lesser
General Public License v3 or later (LGPLv3+).Historyv0.1, 2016-07-01Initial public release.
Package: vcd-cli
vcd-clivcd-cliis the Command Line Interface for VMware vCloud Director.InstallationIn generalvcd-clican be installed with the following command:$pipinstall--uservcd-cliDepending on your operating system and distribution you may need
additional packages to install successfully.   Seeinstall.mdfor full details.Quick StartBelow is a samplevcd-cliinteraction with vCloud Director to create a virtual machine and start using it.Detailed command syntax and usage can be found in thevcd-cli site, along with theinstallationinstructions.$vcdloginmyserviceprovider.comorg1usr1--password********-w-iusr1loggedin,org:'org1',vdc:'vdc1'$vcdcatalogcreatecatalog1task:893bff31-4bf6-48a6-84b8-55cee97e8349,CreatedCatalogcatalog1(cc0a2b88-9e5a-4391-936f-df6e7902504b),result:success$vcdcataloguploadcatalog1photon-custom-hw11-2.0-304b817.ovaupload113,169,920of113,169,920bytes,100%propertyvalue--------------------------------------------filephoton-custom-hw11-2.0-304b817.ovasize113207424$vcdvappcreatevapp1--catalogcatalog1--templatephoton-custom-hw11-2.0-304b817.ova\--networknet1--accept-all-eulastask:0f98685a-d11c-41d0-8de4-d3d4efad183a,CreatedVirtualApplicationvapp1(8fd8e774-d8b3-42ab-800c-a4992cca1fc2),result:success$vcdvapplistisDeployedisEnabledmemoryAllocationMBnamenumberOfCpusnumberOfVMsownerNamestatusstorageKBvdcName---------------------------------------------------------------------------------------------------------------------truetrue2048vapp111usr1POWERED_ON16777216vdc1$vcdvappinfovapp1propertyvalue----------------------------------------------------------------namevapp1owner['usr1']statusPoweredonvapp-net-1net1vapp-net-1-modebridgedvm-1:1virtualCPU(s)1vm-1:2048MBofmemory2,048vm-1:Harddisk117,179,869,184bytevm-1:Networkadapter0DHCP:10.150.221.213vm-1:computer-namePhotonOS-001vm-1:password********$sshroot@10.150.221.213...The OVA used in the example can be downloaded with the command:$wgethttp://dl.bintray.com/vmware/photon/2.0/GA/ova/photon-custom-hw11-2.0-304b817.ovaDocumentationSee thevcd-cli sitefor detailed documentation and installation instructions.Please note that this project is under development, the commands, parameters and options might change over time.vcd-cliusespyvcloud, the Python SDK for VMware vCloud Director. It requires Python 3.6 or higher.Previous versions and deprecated code can be found in this repository undertag 19.2.3.DevelopmentIf you want to develop, follow these steps:Fork the repositoryClone the forked respoitoryInstall vcd-cli from the local sourcespip3 install --user -e vcd-cli/Add the path~/.local/binto the PATHIf you change the source, it is directly accessible with thevcdcommandContributingThevcd-cliproject team welcomes contributions from the community. Before you start working withvcd-cli, please read ourDeveloper Certificate of Origin. All contributions to this repository must be signed as described on that page. Your signature certifies that you wrote the patch or have the right to pass it on as an open-source patch. For more detailed information, refer toCONTRIBUTING.md.LicenseApache-2.0
Package: vcd-extension
vcd Extension BackendExtensibility for cloud management tools.Framework that extends VMWare's vCloud Director APIs.  Relies on and extendspyvcloudSDK.InstallationInstall vcd Extension packageTo install vcd Extension Backend package execute the following command:python-mpipinstallvcd-extensionInstallation in Development ModeTo install in Development Mode, follow these steps.Clone the repository.Use one of the following options: SSH key or HTTPs.Using GitSSH key:gitclonegit@gitlab.fing.edu.uy:proyecto-grado-vcloud/vcd-extension-backend.gitUsing HTTPS:gitclonehttps://gitlab.fing.edu.uy/proyecto-grado-vcloud/vcd-extension-backend.gitCreate and activate the Python Virtual Environment. This is an optional, but highly recommended step.cdvcd-extension-backend
python3-mvenv.venvsource.venv/bin/activateInstall the project in develop mode.pythonsetup.pydevelopStart working on it!!!Starting the ServerWhen installed in development mode an example script to start the server is available under directoryusecases.
So, after installing in development mode, follow these steps:Setusecasesas working directory.cdusecasesEditconfig.ymlfile to reflect the settings of your environment, like server IP, port, credentials, etc.See documentation for parameter's reference.Run the shell script to start the server.chmodu+xstart_server.sh
./start_server.shTestingUnit TestingTO-DO!!!Backend Endpoints Use Cases TestingSee directory testsNotesThis project makes part of a final degree course for Computer Engineering in FING - UDELAR.  The project's goal is to
extend vCloud Director by developing a higher-level intermediate API that interacts with the different APIs of
the product, providing a single programmatic entry point to the different capabilities of the software.LicenseApache 2.0