Saravanan666/pypi-org huggingface dataset:
Package: codacy-coverage
Credits to Ryan for creating this! Python coverage reporter for Codacyhttps://www.codacy.comSetupCodacy assumes that coverage is previously configured for your project.To generate the required coverage XML file, calculate coverage for your project as normal, by running:coverage xmlInstall codacy-coverageYou can install the coverage reporter by running:pip installcodacy-coverageUpdating CodacyTo update Codacy, you will need your project API token. You can create the token inProject -> Settings -> Integrations -> Add Integration -> Project APIThen set it in your terminal, replacing %Project_Token% with your own token:exportCODACY_PROJECT_TOKEN=%Project_Token%Enterprise only(Skip this step if you are usinghttps://www.codacy.com)To send coverage in the enterprise version you should:exportCODACY_API_BASE_URL=<Codacy_instance_URL>:16006Upload CoverageNext, simply run the Codacy reporter. It will find the current commit and send all details to your project dashboard:python-codacy-coverage-rcoverage.xmlNote: You should keep your API token wellprotected, as it grants owner permissions to your projects.TroubleshootIf you are using any CI that does not have .git information, you can specify the commit with -c and the clone directory with -d. For example if you are using AppVeyor you can:python-codacy-coverage-c$APPVEYOR_REPO_COMMIT-d$APPVEYOR_BUILD_FOLDER-rcoverage.xml
Package: coda_kids
coda_kidscoda_kids is a partial wrapper package around pygame. It’s purpose is to
make game development more accessible to a younger audiences
of students. It provides inline documentation, wrappers for linter
unfriendly features, and provides utility functionality/classes such
as game objects and constants for common data such as colors and input.It is currently being designed for and tested with a series of
game programming exercises for an educational textbook titled Coda Kids.The package is being designed and implemented with and for the
following toolset:Python 3.5.2 with latest Pygame and Pylint.
Latest Visual Studio Code (1.11+ as of writting) with the Python extension installed.Simple Exampleimport coda_kids as coda

WINDOW = coda.Vector2(800, 600)
SCREEN = coda.start(WINDOW, "Hello World!")
TEXT = coda.TextObject(coda.color.BLACK, 48, "Hello World!")
TEXT.location = WINDOW / 2 # center of window
TEXT.centered = True

while True:
    for event in coda.event.listing():
        if coda.event.quit_game(event):
            coda.stop()
    coda.start_draw(SCREEN, coda.color.WHITE)
    TEXT.draw(SCREEN)
    coda.end_draw()To DoAdd a 2D animation class supportable by objects.Runtime type checking for coda_kids class constructors and function arguments.Provide additional example code and documentation.Clean up object interface methods.Refactor finite state machine tools.Change Log0.2.4Added opinional 2d sprite animation class for use with objects.Added update loop for game objects that applies velocity and updates animations.0.2.3Added an output console utility for in window output text.
It can be found in coda_kids.utilities.Added support functions and documentation for starting and ending a frame.Cleaned up and added documentation to the .rst file.0.2.2Updated git repo and setup/url information.Added action system to coda for python class members. [Feature in Alpha]Updated object class to properly scale objects with it’s scale member.Moved standard library imports to coda_kids.utilities0.2.1Reformatted some of the library utilities.0.2.0Fixed some formatting issues with the setup.py file.
Package: coda-ledger-cli
Coda signature app for Ledger Blue & Ledger Nano S/XBig disclaimer : This is a work in progress. Don't use it on a Ledger device
that is handling or has ever handled private keys associated with any accounts
of value.Runmaketo check the build, andmake loadto build and load the application
onto the device. Errors try to be helpful and the most common reason for failure
is the device being locked, so if something isn't working, that could be the
reason.make deletedeletes the app.SeeLedger's documentationfor further information.Generally you won't have to run these commands yourself as the codaledgercli library
will be installed, but without installing the library, to get the app version, you run:python3 codaledgercli/__main__.py --request='version'To generate and return the public key generated withHDindex11:python3 codaledgercli/__main__.py --request=publickey --HDindex=11All of the information for a transaction is contained in two field elements. These
are produced by the Coda client. To sign a transaction, the command is then:python3 codaledgercli/__main__.py --request=transaction --HDindex=1234 --msgx=recipientpkx --msgm=allotherinfo
Package: codal-tsetmc
کدال و بورس در پایتوناین پکیچ برای ذخیره داده‌های سایت کدال و بازار سرمایه برای اهداف تحلیل بنیادی تهیه شده است.آموزش پکیج: <https//mohsenebrahimyir.github.io/codal-tsetmc/>هشداراگر این متن را میبینید یعنی این پکیج درحال توسعه است و قابلیت استفاده در پروژه‌های مهم را ندارد.# python3 -m pip install --upgrade build
python3 -m build

# python3 -m pip install --upgrade twine
python3 -m twine upload --repository pypi dist/*پایگاه دادهTSETMCtehran_stocks: ویرایش بعضی از کدهای بستهstock_capital: پایگاه داده افزایش سرمایهCODALcompanies: لیست تمام شرکت‌هاcompany_statuses: وضعیت شرکت‌هاcompany_types: نوع شرکت‌هاreport_types: گروه اطلاعیه‌هاletter_types: نوع گزارشauditors: حسابرس‌هاfinancial_years: سال مالی‌هاOTHERcommodities: افزون قیمت‌های کامودیتینصب پکیجبرای استفاده از این بسته پیشنهاد می‌شود از محیط مجازی استفاده کنید.$python-mvenv.venvفعال سازی محیط مجازی در لینوکس$source.venv/bin/activate>.\venv\Scripts\activateنصب ازpypi:(.venv)$pipinstall-Ucodal-tsetmcنصب از نسخه در حال توسعهgithub(.venv)$pipinstallgit+https://github.com/mohsenebrahimyir/codal-tsetmc.git
Package: codapy
pycodaQuickstartGenerate a CODA file from a factory:>>>frompycoda.factoriesimportCodaFileFactory>>>coda_file=CodaFileFactory()>>>printcoda_file.dumps()0000029050288805TWlscjlKSUAnthonyHicksGKCCBEBB0614112008621000000000000267859420112080002121170000000000070044847109101500000000015030900000080000000000000000000160417091348030000003366055560000007241234622Check the values of the first record:>>>coda_file.records[0].field_dict(){'account_holder_reference':61411200863,'addressee':u'Anthony Hicks','application_code':u'05','bank_identification_number':888,'bic':u'GKCCBEBB','creation_date':datetime.date(2002,5,29),'duplicate':False,'empty':None,'free':None,'identification':0,'reference':u'TWlscjlKSU','related_reference':None,'transaction_reference':None,'version_code':2,'zeroes':None}Update a named field of the first record:>>>coda_file.records[0].addressee=u'John Doe'>>>printcoda_file.records[0].dumps()0000029050288805TWlscjlKSUJohnDoeGKCCBEBB061411200862Make a new CODA file object and load the records / fields from the previous object string representation:>>>plain=coda_file.dumps()>>>frompycoda.codafileimportCodaFile>>>new_coda=CodaFile()>>>new_coda.loads(plain)>>>printnew_coda.dumps()0000029050288805TWlscjlKSUJohnDoeGKCCBEBB0614112008621000000000000267859420112080002121170000000000070044847109101500000000015030900000080000000000000000000160417091348030000003366055560000007241234622>>>new_coda.dumps()==coda_file.dumps()TrueModelThe following model hierarchy is employed:CODA file: can consist of multiple records of given typeRecord type: each of the record types hold different specified named fields of given typeField type: the fields hold the actual values. All the parsing / printing footwork is done at this levelFor each of those levels, the objects can:loads: set value from string representationdumps: generate string representation from value
Package: codar2netcdf
# codar2netcdf  [![Build Status](https://travis-ci.org/axiom-data-science/codar2netcdf.svg?branch=master)](https://travis-ci.org/axiom-data-science/codar2netcdf)Converting CODAR Total ASCII files (the final total current speed and directionof the combined radial data) into CF NetCDF files.## Installation```# pip$ pip install codar2netcdf# conda$ conda install -c ioos codar2netcdf```## Usage```pythonIn [1]: from codar2netcdf import CodarAsciiTotalsIn [2]: w = CodarAsciiTotals('totals.txt')# Pandas dataframe of the dataIn [3]: w.data.head()Out[3]:Longitude   Latitude  U comp  V comp  VectorFlag  U StdDev  V StdDev0 -83.004520  25.569613 -14.822  43.085           0     12.89     23.041 -82.905005  25.569578 -19.047  45.790           0     14.71     24.212 -82.805491  25.569473   1.059   9.831           0     12.31     18.063 -83.104110  25.659845  -7.531  38.266           0      9.61     22.194 -83.004520  25.659880 -17.075  44.413           0     11.82     23.51...# Export to netCDF fileIn [4]: w.export('out.nc', ascii_grid='grid.txt')In [5]: import netCDF4In [6]: netCDF4.Dataset('out.nc').variablesOut[6]:OrderedDict([('time', <class 'netCDF4._netCDF4.Variable'>int64 time(time)_FillValue: -999units: seconds since 1970-01-01 00:00:00standard_name: timecalendar: gregorianlong_name: timeunlimited dimensions:current shape = (1,)filling on),('lat', <class 'netCDF4._netCDF4.Variable'>float64 lat(x, y)_FillValue: -999.9units: degrees_northstandard_name: latitudeaxis: Ylong_name: latitudeunlimited dimensions:current shape = (130, 210)filling on),('lon', <class 'netCDF4._netCDF4.Variable'>float64 lon(x, y)_FillValue: -999.9units: degrees_eaststandard_name: longitudeaxis: Xlong_name: longitudeunlimited dimensions:current shape = (130, 210)filling on),('z', <class 'netCDF4._netCDF4.Variable'>int64 z(z)_FillValue: -999units: mstandard_name: depthpositive: downaxis: Zlong_name: depthunlimited dimensions:current shape = (1,)filling on),('u', <class 'netCDF4._netCDF4.Variable'>float64 u(time, x, y)_FillValue: -999.9standard_name: eastward_sea_water_velocitylong_name: Eastward Surface Current (cm/s)units: cm/scoordinates: time lon latunlimited dimensions:current shape = (1, 130, 210)filling on),('v', <class 'netCDF4._netCDF4.Variable'>float64 v(time, x, y)_FillValue: -999.9standard_name: northward_sea_water_velocitylong_name: Northward Surface Current (cm/s)units: cm/scoordinates: time lon latunlimited dimensions:current shape = (1, 130, 210)filling on),('crs', <class 'netCDF4._netCDF4.Variable'>int32 crs()long_name: http://www.opengis.net/def/crs/EPSG/0/4326grid_mapping_name: latitude_longitudeepsg_code: EPSG:4326inverse_flattening: 298.257223563semi_major_axis: 6378137.0unlimited dimensions:current shape = ()filling on, default _FillValue of -2147483647 used)])```
Package: codara
Codara Code Review and Diagnostics ToolThis script assists in AI code review and diagnosis by using tailored AI models to intelligently provide suggestions and improvements. Purchase a subscription atcodara.ioFeaturesReview the code differences between two branches in a Git repository.Review unstaged code diffs.Generate a formatted review file with a timestamp and the branch commit hash.Diagnose code issues directly in the terminal by providing the command to debug.PrerequisitesPython 3.6 or later.Git must be installed and configured on the system where the script is executed.InstallationpipinstallcodaraHelp and Documentationcodara--helpLoginan active subscription is required to use this tool:codara.ioregister or login with the below command using the same email used to purchase your subscriptioncodara--loginUsageTo use the AI review feature run the following command:codarareview--unstagedor the short version (shorthands available for all commands)codarareview-uor review between two branches like a pull requestcodarareview--target<target_branch>get helpcodarareview--helpTo use the AI diagnostic feature run the following command:codaradiagnose"<command-producing-error>"get helpcodaradiagnose--helpOutputThe AI reviewer will create a new file in thereviewsdirectory with the review output. The file will be named using the source and target branch names, their respective commit hashes, and a timestamp.The AI diagnostics will create a new file in thediagnosticsdirectory with the diagnostic output. The file will be named using the command provided and a timestamp.Example review filename:feature-branch_abc123_to_main_def456_2023-11-15_23-31-56.txtExample diagnostic filename:diagnose_command_2023-11-15_23-31-56.txt
Package: codara-model-trainer
codara-model-trainerOverviewThecodara-model-traineris a Python package designed to assist in creating datasets for fine-tuning machine learning
models, particularly language models. It simplifies the process of gathering and formatting training data in a JSON
Lines (JSONL) format.FeaturesEasy creation of training data sets in JSONL format.Methods to set system instructions, training prompts, and generative responses.Automatically handles file creation and appending data in the correct format.Installationpipinstallcodara-model-trainerUsageCreate the data set with agent instructions, training prompts, and generative responses as needed:fromcodara_model_trainerimportcreate_data_setgpt_response=openai_api_call("User prompt here")create_data_set("System instructions here","User prompt here",gpt_response,"optional-filepath/filename.jsonl")The data will be saved in themodel-training/fine-tune-data-set.jsonlfile if the filepath isn't set.Structure of DataThe data is structured in JSON Lines format, where each line is a valid JSON object. An example of the data structure:{"messages":[{"role":"system","content":"System instructions here"},{"role":"user","content":"User prompt here"},{"role":"assistant","content":"Model response here"}]}
Package: codarcane
CodarcaneYour go-to repository for code snippets.AboutCodarcane is a simple Python command-line tool that allows you to manage and organize your code snippets. You can add, display, search, delete, and copy your code snippets to the clipboard with ease. This tool is built with Click, a Python package for creating command line interfaces.If you prefer a visual walkthrough, I've created a YouTube tutorial where I explain the package and its features. You can watch it here:Building a CLI Code Snippet Manager with Python ClickQuick SetupInstall the package as follows:pipinstallcodarcaneUsageAdding a SnippetTo add a new code snippet, use theaddcommand:codarcaneaddYou will prompted to enter the snippet title, language, and the code itself.Displaying SnippetsTo display all your code snippets, use thedisplaycommand:codarcanedisplayThis command will list all your snippets with their titles, languages, and code.Searching for SnippetsYou can search for specific snippets using thesearchcommand. Provide a keyword as an argument to find matching snippets by title or language:codarcanesearchkeywordEditing a SnippetTo edit an existing code snippet, use theeditcommand:codarcaneeditYou will be presented with a list of snippets to choose from. Enter the number corresponding to the snippet you want to edit. You can then choose to edit the title, language, or code.Copying a Snippet to ClipboardIf you want to copy a snippet's code to your clipboard, use thecopycommand:codarcanecopyYou will be presented with a list of snippets to choose from. Enter the number corresponding to the snippet you
want to copy.Deleting a SnippetTo delete a snippet, use thedeletecommand:codarcanedeleteYou will be presented with a list of snippets to choose from. Enter the number correspoding to the snippet you want to delete.Exporting a SnippetYou can export your code snippets to different format for sharing or backup purposes using theexportcommand. Choose the export format (markdown or text) and specify the output file.Markdown:codarcaneexportoutput.mdOr, text:codarcaneexportoutput.txtData StorageYour code snippets are stored in a JSON file namedsnippets.jsonwithin thesnippetfolder. This folder is automatically created on your computer. Make sure not to delete or modify this file manually, as it may lead to data loss.ContributingIf you'd like to contribute to this project, please fork the repository, make your changes, and submit a pull request. I welcome any improvements or bug fixes. You can also submit issues onGitLabfor bug reports or feature requests.
Package: codario
Codario CLI ToolCodario is a cloud-based service that helps you to stay secure with your open source dependencies.WebsiteDocumentationFull documentation is available on docs.codario.ioInstallationInstall the Codario utility usingpip3 install codario.Usagecodario cmd --foo barInstead--keyargument for every called command you can use ENV variable "CODARIO_API_KEY".
Package: codat-banking
Banking﻿Use Codat's API to connect to your SMB customer's banks and pull up-to-date standardized account and transaction data from their bank accounts via our partner providers.SDK Installationpipinstallcodat-bankingExample Usageimportcodatbankingfromcodatbanking.modelsimportoperations,shareds=codatbanking.CodatBanking(security=shared.Security(auth_header="Basic BASE_64_ENCODED(API_KEY)",),)req=operations.ListAccountBalancesRequest(company_id='8a210b68-6988-11ed-a1eb-0242ac120002',connection_id='2e9d2c44-f675-40ba-8049-353bfcb5e171',order_by='-modifiedDate',page=1,page_size=100,)res=s.account_balances.list(req)ifres.account_balancesisnotNone:# handle responsepassAvailable Resources and Operationsaccount_balanceslist- List account balancesaccountsget- Get accountlist- List accountstransaction_categoriesget- Get transaction categorylist- List transaction categoriestransactionsget- Get bank transactionlist- List transactionslist_bank_transactions- List banking transactions :warning:DeprecatedUselistinstead.Library generated bySpeakeasy
Package: codat-commerce
Commerce﻿Codat's Commerce API enables you to pull up-date-date commerce data from several leading payments, point-of-sale, and eCommerce systems.
You can view your SMB customers' products, orders, payments, payouts, disputes, and more - all standardized to our Commerce data model.SDK Installationpipinstallcodat-commerceExample Usageimportcodatcommercefromcodatcommerce.modelsimportoperations,shareds=codatcommerce.CodatCommerce(auth_header="Basic BASE_64_ENCODED(API_KEY)",)req=operations.GetCompanyInfoRequest(company_id='8a210b68-6988-11ed-a1eb-0242ac120002',connection_id='2e9d2c44-f675-40ba-8049-353bfcb5e171',)res=s.company_info.get(req)ifres.company_infoisnotNone:# handle responsepassAvailable Resources and Operationscompany_infoget- Get company infocustomersget- Get customerlist- List customersdisputesget- Get disputelist- List disputeslocationsget- Get locationlist- List locationsordersget- Get orderlist- List orderspaymentsget- Get paymentget_method- Get payment methodlist- List paymentslist_methods- List payment methodsproductsget- Get productget_category- Get product categorylist- List productslist_categories- List product categoriestax_componentsget- Get tax componentlist- List tax componentstransactionsget- Get transactionlist- List transactionsLibrary generated bySpeakeasy
Package: codat-common
CommonManage the building blocks of Codat, including companies, connections, and more.SDK Installationpipinstallcodat-commonExample Usageimportcodatcommonfromcodatcommon.modelsimportshareds=codatcommon.CodatCommon(auth_header="",)req=shared.CompanyRequestBody(description='Requested early access to the new financing scheme.',name='Bank of Dave',)res=s.companies.create(req)ifres.companyisnotNone:# handle responsepassAvailable Resources and Operationscompaniescreate- Create companydelete- Delete a companyget- Get companylist- List companiesupdate- Update companyconnectionscreate- Create connectiondelete- Delete connectionget- Get connectionlist- List connectionsunlink- Unlink connectionupdate_authorization- Update authorizationintegrationsget- Get integrationget_branding- Get brandinglist- List integrationspush_dataget_model_options- Get push optionsget_operation- Get push operationlist_operations- List push operationsrefresh_dataall- Refresh all databy_data_type- Refresh data typeget- Get data statusget_pull_operation- Get pull operationlist_pull_operations- List pull operationssettingscreate_api_key- Create API keydelete_api_key- Delete API keyget_profile- Get profile :warning:Deprecatedget_sync_settings- Get sync settingslist_api_keys- List API keysupdate_profile- Update profileupdate_sync_settings- Update all sync settingssupplemental_dataconfigure- Configureget_configuration- Get configurationwebhookscreate- Create webhookget- Get webhooklist- List webhooksLibrary generated bySpeakeasy
Package: codat-expenses
codat-expensesSDK Installationpipinstallcodat-expensesSDK Example Usageimportcodatfromcodat.modelsimportoperations,shareds=codat.Codat(security=shared.Security(auth_header="YOUR_API_KEY_HERE",),)req=operations.GetCompanyConfigurationRequest(company_id="8a210b68-6988-11ed-a1eb-0242ac120002",)res=s.configuration.get_company_configuration(req)ifres.company_configurationisnotNone:# handle responseAvailable Resources and Operationsconfigurationget_company_configuration- Get company configurationsave_company_configuration- Set company configurationconnectionscreate_partner_expense_connection- Create Partner Expense connectionexpensescreate_expense_dataset- Create expense-transactionsupload_attachment- Upload attachmentmapping_optionsget_mapping_options- Mapping optionssyncintiate_sync- Initiate syncsync_statusget_last_successful_sync- Last successful syncget_latest_sync- Latest sync statusget_sync_by_id- Get Sync statuslist_syncs- List sync statusestransaction_statusget_sync_transaction- Get Sync Transactionlist_sync_transactions- Get Sync transactionsSDK Generated bySpeakeasy
Package: codat-synccommerce
codat-synccommerceSDK Installationpipinstallcodat-synccommerceSDK Example Usageimportcodatfromcodat.modelsimportoperations,shareds=codat.Codat(security=shared.Security(auth_header="YOUR_API_KEY_HERE",),)req=shared.CreateCompany(name="Bob's Burgers",)res=s.company_management.create_company(req)ifres.companyisnotNone:# handle responseAvailable Resources and Operationscompany_managementcreate_company- Create a sync for commerce companycreate_connection- Create a data connectionlist_companies- List companieslist_connections- List data connectionsupdate_connection- Update data connectionconfigurationget_configuration- Retrieve config preferences set for a company.get_sync_status- Get status for a company's syncsset_configuration- Create or update configuration.integrationsget_integration_branding- Get branding for an integrationlist_integrations- List information on Codat's supported integrationssyncrequest_sync- Run a Commerce sync from the last successful syncrequest_sync_for_date_range- Run a Commerce sync from a given date rangesync_flow_preferencesget_config_text_sync_flow- Retrieve preferences for text fields on Sync Flowget_sync_flow_url- Retrieve sync flow urlget_visible_accounts- List visible accountsupdate_config_text_sync_flow- Update preferences for text fields on sync flowupdate_visible_accounts_sync_flow- Update the visible accounts on Sync FlowSDK Generated bySpeakeasy