Saravanan666/pypi-org huggingface dataset:
Package: converter-package-Hugo-Azix
M1-2022-gitIntroductionThis repository is a fork from the previous repository.
The bugs in the converter have been fixed and now we want to publish our work as a publicly available python package.Getting startedYou should be working fromyour own repositorythat is a fork of M1-2022-git-workflow.
In order to run this project, you will have to follow these steps.Clone this projectmove into the project foldercdM1-2022-git-workflowSet up a virtual environmentCreate the virtual environmentpython-mvenvmyvenvActivate venv.venv/bin/activateInstall pytestpipinstall-UpytestExecute main scriptpythonmain.pyInstructionsMerge feature branch into devNow that the converter has no more bugs, we want to merge our branch feature into the dev branch.
We will do a pull request (on your own repo). On GitHub, go to the "Pull requests tab" and click "New pull request".
Selectbaseandcompare. Remember : we want to mergedecimal-binary-converterintodev.
Then,Create the pull request. Add some description of the work you have done and publish the Pull Request.Note: We could have just mergedecimal-binary-converterintodevfrom the command line. However, when working on a real project, you probably won't have the rights to do so. Remember : dev is a public branch. So all the work going down there should be carefully reviewed and tested.Publish your workWe now have an awesome binary/decimal two ways converter ! It's time to publish it so the rest of the world can enjoy it !
We will publish it on PyPI (Python Package Index) which is a public repository of softwares for Python.First, you have to create an account onPypi.orgThen, in your repository, you will find a.github directoryInside this directory, you will find .yml files that defines workflows (using GitHub actions)Open the yml files and take time to understand them. Do not hesitate to ask the teacher about themHands on !We want to create a workflow that will, on publish, test our code and if tests succeed, then publish our package on PyPIIn GitHub, click on theActionstab, then click onnew workflowChoose among the suggestions the template that best suits your use-case and clickConfigureYou may find some useful informations in thePython documentationWhen creating a release on GitHub, do not forget to create a tag corresponding to that releasePull requestOnce the workflow is setup and tested (you have published your package using it) you can open a pull request to theoriginal repository
Package: converter-package-Louise
M1-2022-gitIntroductionThis repository is a fork from the previous repository.
The bugs in the converter have been fixed and now we want to publish our work as a publicly available python package.Getting startedYou should be working fromyour own repositorythat is a fork of M1-2022-git-workflow.
In order to run this project, you will have to follow these steps.Clone this projectmove into the project foldercdM1-2022-git-workflowSet up a virtual environmentCreate the virtual environmentpython-mvenvmyvenvActivate venv.venv/bin/activateInstall pytestpipinstall-UpytestExecute main scriptpythonmain.pyInstructionsMerge feature branch into devNow that the converter has no more bugs, we want to merge our branch feature into the dev branch.
We will do a pull request (on your own repo). On GitHub, go to the "Pull requests tab" and click "New pull request".
Selectbaseandcompare. Remember : we want to mergedecimal-binary-converterintodev.
Then,Create the pull request. Add some description of the work you have done and publish the Pull Request.Note: We could have just mergedecimal-binary-converterintodevfrom the command line. However, when working on a real project, you probably won't have the rights to do so. Remember : dev is a public branch. So all the work going down there should be carefully reviewed and tested.Publish your workWe now have an awesome binary/decimal two ways converter ! It's time to publish it so the rest of the world can enjoy it !
We will publish it on PyPI (Python Package Index) which is a public repository of softwares for Python.First, you have to create an account onPypi.orgThen, in your repository, you will find a.github directoryInside this directory, you will find .yml files that defines workflows (using GitHub actions)Open the yml files and take time to understand them. Do not hesitate to ask the teacher about themHands on !We want to create a workflow that will, on publish, test our code and if tests succeed, then publish our package on PyPIIn GitHub, click on theActionstab, then click onnew workflowChoose among the suggestions the template that best suits your use-case and clickConfigureYou may find some useful informations in thePython documentationWhen creating a release on GitHub, do not forget to create a tag corresponding to that releasePull requestOnce the workflow is setup and tested (you have published your package using it) you can open a pull request to theoriginal repository
Package: converterpro
ConverterProA python library to convert units and currencies🔭 OverviewThis python library will allow developers to easily incorporate conversions into their programs without having to write all the logic for it. The library currently has the following functionalities:📝 FeaturesWeight conversion between Metric, Imperial and US Systems of MeasurementGramsMilligramsKilogramsMetric TonnesImperial TonsUS tonsPoundsOunces🛠️ Installationconverterprocan be found onPyPiand hence can be installed withpip:pipinstallconverterpro⛯ Basic Usage>>>fromconverterproimportweight_converter>>>my_gram=weight_converter.Gram(1.0)>>>my_gram.convert_to_kilograms()0.001📝 DetailsThis library project is a pure python project using modern tooling. It uses aMakefileas a command registry, with the following commands:make: list available commandsmake install: install and build this library and its dependencies usingpoetrymake lint: perform static analysis of this library withruffandblackmake format: autoformat this library usingblackandruffmake test: run automated tests withpytestmake coverage: run automated tests withpytestand collect coverage information👩🏾‍💻👨🏾‍💻 ContributingPlease seeCONTRIBUTINGfor more information.🪪 LicenseThis software is licensed under the Apache 2.0 license. Please seeLICENSEfor more information.🙎🏾‍ AuthorMain Maintainer: Lily Sam
Package: converterpy
converterpyconverterpy is designed as a customizable conversion tool to convert one thing to another.UsageUsage:convert<value><source>to<target>[-v|--verbose]convert<source>to<target><value>[-v|--verbose]convertlist[<source>][-v|--verbose]convert--version

Options:-h--helpShowusage.-v--verboseEnableverbosemodefordebugging.--versionShowversion.Examples$convert3600secondstominutes->'60'$convert3600sectomin->'60'$convert2500gtokg->'2.5'$convert1610744400tstodate->'2021-01-16 00:00:00'$convert100centimetertometer->'1'FeaturesThere are some built-in converters to use;SITimeConverter (converts the following units: seconds, minutes, hours)SILengthConverter (converts the following units: millimeter, centimeter, meter, kilometer)SIMassConverter (converts the following units: milligram, gram, kilogram)TimestampDateConverter (converts unix timestamp to date, date to timestamp format)Installationconverterpyrequires Python 3.5+ to run.Install with pip$pipinstallconverterpyCustom ConvertersPlease follow the instructions in custom converterdocumentation.LicenseMIT
Package: convertex
Convertex: Your Daily Text and Code Transformation ToolConvertex is a helpful tool that assists with small text or code-based tasks. It allows you to modify text based on prompts you define. This is particularly useful for repetitive tasks or when you need to make specific changes to different pieces of text or code.To install Convertex, run the command:pipinstallconvertexHere is a simple guide on how to use Convertex:Add a new prompt: Define the transformation rules using the command:convertexadd_prompt'current content''desired content''additional info''prompt name'Transform content based on a prompt: Apply a prompt to your content using the command:convertextransform_content'prompt name''current content'List all available prompts: View all your prompts with the command:convertexlist_promptsTo test Convertex, run the following command:maketestLicenseConvertex is licensed under the MIT License. For more details, see theLICENSEfile in the project root.
Package: convertflac
convertflac: Convert FLAC CLIOverviewconvertflac converts FLAC audio files into ALAC or MP3 files.RequirementsToolVersionFFmpeg^5.1.2InstallationpipinstallconvertflacUsageUsage: convertflac [OPTIONS] INPUT_DIRECTORY_PATH[OUTPUT_DIRECTORY_PATH]Convert FLAC audio files into Apple Lossless Audio Codec (ALAC) orMP3 320kbps CBR files.Options:-c, --codec TEXT  Set the output codec (alac or mp3. Default: alac).--version         Show the version and exit.-h, --help        Show this message and exit.If you don't input[OUTPUT_DIRECTORY_PATH], convertflac makesalacormp3directory in the current directory and sets thisalac/ormp3/as the output directory.Updatepipinstall-UconvertflacUninstallpipuninstallconvertflacDescriptionconvertflac converts FLAC audio files into Apple Lossless Audio Codec (ALAC) or MP3 320kbps CBR filesThe output preserves the input directory structureThe output ALAC/MP3 files preserve the input FLAC files' metadataIf an ALAC/MP3 file with the same name already exists at the output directory, convertflac doesn't overwrite itVersioning policySemantic Versioning 2.0.0LicenseMITContributingContributing GuidelineDocumentationDocumentation | convertflacAuthorharu
Package: convert-html-to-dash
convert-html-to-dashA conversion tool to turn html/bootstrap into Python code for use with Dash and PlotlyI find the interactive mode most useful, but exiting the program from interactive mode is unreliable.This conversion only does so much. There are plenty of things that aren't converted fully such as dropdowns. This just creates a base framework. There is no intention of pushing the conversion process further at this time.convert-html-to-dash on pypipip install convert-html-to-dash$ python -m convert-html-to-dash -h
usage: __main__.py [-h] [-f FIL] [-o OUTFILE] [-i] [-p PRIORITY_LIST]

Convert HTML into Python Code for Dash with bootstrap

optional arguments:
  -h, --help        show this help message and exit
  -f FIL            input file
  -o OUTFILE        output file
  -i                Interactive mode. (ctrl-c, ctrl-v, then add a terminating character. windows: ctrl-z, linux: ctrl-d.
  -p PRIORITY_LIST  priority list for replacing tags. :: Options: dcc = dash_core_components, dbc = dash_bootstrap_components, html = dash_html_components :: Exanple: -p dbc -p html -p dcc :: Default Order: dcc, dbc, htmlpython -m convert-html-to-dash -f infile.html -o outfile.pydbc.Container(
      className="container",
      children=[
          html.H1(children=["Some Test Information"]),
          dbc.Row(
              className="row",
              children=[
                dbc.Col(className="col", children=[]),
                ...python -m convert-html-to-dash -f infile.html -o outfile.py -p htmlhtml.Div(
    className="container",
    children=[
        html.H1(children=["Some Test Information"]),
        html.Div(
            className="row",
            children=[
                html.Div(className="col", children=[]),
                ...
Package: convertible
ConvertibleValue-to-value conversion in Python.UsageConvertibleFirst, let's create a model for conversion. The model can be any class.For convenience, let's takedataclass:fromdataclassesimportdataclassfromconvertibleimportConvertible@dataclassclassUser(Convertible):name:strage:intNowUserhas conversion methodstry_fromandtry_into. But we haven't
implemented any converter. Let's do this.FromConverterfromtypingimportTuplefromconvertibleimportFromclassUserFromTuple(From[tuple[str,int],User]):deftry_from(self,value:tuple[str,int])->User:returnUser(name=value[0],age=value[1])Now we can instantiateUserfromtuple:user=User.try_from(("John",23))assertuser.age==23IntoConverterWe can convert user into another type. Let's define the converter:# note that User is now the first parameter:classUserIntoDict(From[User,dict]):deftry_from(self,user:User)->dict:return{"username":user.name,"age":user.age}data=user.try_into(dict)assertdata["username"]==user.nameCross conversionImplementingFromfor twoConvertibleclasses automatically provides the
secondConvertiblewith an implementation fortry_into:@dataclassclassAdmin(Convertible):name:strclassAdminFromUser(From[User,Admin]):deftry_from(self,user:User)->Admin:returnAdmin(name=user.name)# these are equivalentassertuser.try_into(Admin)==Admin.try_from(user)Manual converter registrationYou may need to define converters for types that are notConvertible.
This can be done using theregister_converterfunction:classIntFromString:deftry_from(self,value:str)->int:returnint(value)From[int,str].register_converter(IntFromString)value=From[int,str].try_from("123")assertvalue==123
Package: convert-indian-numbers
convert_numbersArabic Persian English Hindi Numbers ConversionInstallationpipinstallconvert_numbersUsageimportconvert_numbers# From Hindi To Englisprint(convert_numbers.hindi_to_english('٨٧٦٥٤٣٢٣٤٥٦٧٨'))#8765432345678# From Englis To Hindiprint(convert_numbers.english_to_hindi('12309876523'))##١٢٣٠٩٨٧٦٥٢٣# From Hindi To Arabicprint(convert_numbers.hindi_to_arabic('٨٧٦٥٤٣٢٣٤٥٦٧٨'))#8765432345678# From Arabic To Hindiprint(convert_numbers.arabic_to_hindi('12309876523'))#١٢٣٠٩٨٧٦٥٢٣# From Arabic To Englishprint(convert_numbers.arabic_to_english('٢٣٤٥٦٧٨٠٩٨٧٦'))#234567809876# From English To Arabicprint(convert_numbers.english_to_arabic('09876523456'))#٠٩٨٧٦٥٢٣٤٥٦# From Persian To Englishprint(convert_numbers.persian_to_english('۵۱۲۳۹۶۰۴۴'))#512396044# From English To Persianprint(convert_numbers.english_to_persian('512396044'))#۵۱۲۳۹۶۰۴۴# From Persian To Hindiprint(convert_numbers.persian_to_hindi('۵۱۲۳۹۶۰۴۴'))#٥١٢٣٩٦٠٤٤# From Hindi To Persianprint(convert_numbers.hindi_to_persian('٢٣٤٥٦٧٨٠٩٨٧٦'))#۲۳۴۵۶۷۸۰۹۸۷۶ContributingPull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.Please make sure to update tests as appropriate.LicenseMIT
Package: convertio
convertioAn API wrapper for convertio.co. Before starting, make sureyou've got an API key. The full API reference can be found onconvertio.co/api/docs, but I'll make a documentation for this package soon.Get startedSign-up todevelopers.convertio.co.Get your free API key fromthe homepageInstall this module : runpython -m pip install convertio -Ufor Windows orpython3 -m pip install convertio -Ufor Linux and Macos. You can also download it from githubpip install git+https://github.com/PetitPotiron/python-convertio.gitQuick startimportconvertioimporttimeclient=convertio.Client(token="INSERT_YOUR_TOKEN_HERE")conversion_id=client.convert_by_filename('source.txt','pdf')whileclient.check_conversion(conversion_id).step!='finish':time.sleep(1)client.download(conversion_id,'result.pdf')client.delete(conversion_id)NotesVersion1.2.0This module is neither created nor managed by convertio.co. It represents services faithful to the API and documentation from their website. This API is not unofficial, and it can be payable if you exceed a certain usage. Notice that you must respect convertio.co'sterms of use.LinksGet an API keyAPI pricingAPI referenceOCR (options) pricingConversion typesGitHubPHP module by convertio.coCLI for convertio.co, by themselvesChangelogFixed error when trying to upload a file of a different format than .txt. It used to be impossible. Added usage exampleFix issue #1 (typing does not work on 3.8 and lower)
Package: convertio-python
Convertio APIs Client Library for PythonInspired by the originalPHP Packagebut Pythonic.This is a lightweight wrapper for theConvertioAPI.Feel free to use, improve or modify this wrapper! If you have questions contact us or open an issue on GitHub.RequirementsPython 3.8 or aboveDeveloper DocumentationYou can find full API reference here:https://convertio.co/api/docs/QuickstartInitializeconvertioclient:importosfromconvertioimportclientconvertio=client.ConvertIO(api_key=os.environ.get('CONVERTIO_API_KEY'))Following example will convert PNG file to PDF:fromconvertio.modelsimportparameters# Example of converting a filepayload=parameters.NewConversionParameters(file="https://files.jotform.com/jotformapps/proforma-invoice-template-18a679482c789d2acf0db2d6f9324d94_og.png",outputformat="PDF")response=convertio.new_conversion(payload=payload)OCR QuickstartFollowing example will convert pages 1-3,5,7 of PDF into editable DOCX, using OCR (Optical Character Recognition) for English and Arabic languages (Full list of available languages):fromconvertio.modelsimportparametersfromconvertio.languagesimportLanguages# OCR ExampleOCR_SETTINGS=parameters.OCRParameters.OCRSettings(langs=[Languages.ARABIC.value,Languages.ENGLISH.value])payload=parameters.NewConversionParameters(file="https://files.jotform.com/jotformapps/proforma-invoice-template-18a679482c789d2acf0db2d6f9324d94_og.png",outputformat="txt",options=parameters.OCRParameters(ocr_enabled=True,ocr_settings=OCR_SETTINGS))response=convertio.new_conversion(payload=payload)InstallationYou can usepoetryor simplypippippipinstallconvertio-pythonPoetrypoetryaddconvertio-pythonResourcesSource CodeAPI DocumentationConversion Types
Package: convert-jupyter
Convert jupyterThis project help convert jupyter flie.
It let:convert .ipynb to .py fileconvert .py to .ipynb fileclean output jupyterautorsBartłomiej Chwiłkowski (github: chwilko)Usage:python3 -m convert_jupyter [options]  <input_file>commands:jupyter2py                Convert jupyter file to python file.py2jupyter                Convert python file to jupyter file.clean                     Clean set jupyter file outputs.clean_all                 Clean all jupyter files outputs from the set folder and child foldersinput_file -- name of input file to convert or clean.General options:-o, --output              Set the output file name. By default, it is the input file name with a valid extension.-i, --input               Set input file directly.-c, --command             Set command directly.-f, --force               If file with output name exists overwrite them. By default raise error.-h, --help                Show help and exit.-V, --version             Show version and exit.Structureconvert_jupyter:
- file with functionstests:
- testsFunctionsjupyter2py(f_in_name: str, f_out_name: Union[str, None] = None, force: bool = False)Convert jupyter file f_in_name to python file f_out_name.py2jupyter(f_in_name: str, f_out_name: Union[str, None] = None, force: bool = False)Convert python file f_in_name to jupyter file f_out_name.clean(path: str)Function clean jupyter file output.clean_all(path: str)The function recursively finds all jupyter files and clears their output.LicenceMIT
Package: convert-labse-tf-pt
LaBSEProjectThis project is an implementation to convert Google'sLaBSEmodel from TensorFlow to PyTorch. It also offers extensions to convert thesmaller-LaBSE modelfrom TensorFlow to PyTorch, and theLEALLA familyof models.The models are uploaded to theHuggingFace Model Hubin the PyTorch HF-compatible (original andsafetensors), TensorFlow and Flax formats, alongwith a compatible tokenizer.LaBSEsmaller-LaBSELEALLA-baseLEALLA-smallLEALLA-largeExportTo convert and export the models:poetryinstall
poetryrunconvert_labse--output_path/path/to/modelsTo update the models on theHuggingFace Model Hub:# Clone the already uploaded models.cd/path/to/model
gitclonehttps://huggingface.co/setu4993/LaBSE.git# Export models anew and update.cd/path/to/repo
poetryinstall
poetryrunconvert_labse--output_path/path/to/models/LaBSE--huggingface_pathExport Commands by ModelLaBSE:poetry run convert_labse --output_path /path/to/models/setu4993/LaBSE --huggingface_pathsmaller-LaBSE:poetry run convert_labse --output_path /path/to/models/setu4993/smaller-LaBSE --smaller --huggingface_pathLEALLA-base:poetry run convert_lealla --size base --output_path /path/to/models/setu4993/LEALLA-base --huggingface_pathLEALLA-small:poetry run convert_lealla --size small --output_path /path/to/models/setu4993/LEALLA-small --huggingface_pathLEALLA-large:poetry run convert_lealla --size large --output_path /path/to/models/setu4993/LEALLA-large --huggingface_pathModel CardsSee themodel-cardsdirectoryfor a copy of the model cards.LicenseThis repository and the conversion code is licensed under the MIT license, but themodelis distributed with an Apache-2.0 license.
Package: convert-lqm-to-json
Convert LG QuickMemo+ files into single, text-only JSON fileInstallation$ pip install [--user] convert-lqm-to-jsonUsage$ convert-lqm-to-json [-h] [-o [<...>]] [-v] [<source1>] ... [<sourceN>]Arguments<source>                Paths or glob patterns for resolving .lqm files;
                        defaults to current directory.Options-o  (--output-dir)      Output directory; defaults to current directory.
-h  (--help)            Print help message.
-v  (--version)         Print application version.
Package: convertly
ConvertlyA command line tool to execute simple file conversions, image/video manipulations and folder changes. Use withconv <query>. Note that your outputs are being used to constantly being fine-tune a model to make it work better over time.InstallationpipinstallconvertlyConfigurationyou will be prompted to configure the tool using your own OpenAI key.UsageTo use Convertly, you can run the command followed by your query. For example:>convconvertfile.webptofile.png
*dwebpfile.webp-ofile.pngView the history of your queries with:conv--historyOr reset your history with:conv--clearExample Use Cases>convavideoin/path/to/video.mp4toagif
*ffmpeg-i/path/to/video.mp4/path/to/video.gif>convcopyallofDocuments/ScreenshotstoafoldercalledScreenshots2inthesamedirectory
*cp-aDocuments/ScreenshotsDocuments/test>convrotateimage.pngby90degrees
*brewinstallimagemagick
*convertimage.png-rotate90rotated_file.pngSupportConvertly wont be perfect; if you run into any issues, please send me a message or create an issue.
Package: convert_markmonitor_domain_list_to_mozilla
convert-markmonitor-domain-list-to-mozillaTool to convert a MarkMonitor domain export xls file into a JSON file for use with other Mozilla tools.Reads frommyDomains.xls, a file that MarkMonitor produces when exporting, and
createsmozilla-owned-dns-domains.jsonwhich is stored inhttps://github.com/mozilla/security-private/tree/master/infosec-internal-data/dns-domains