Saravanan666/pypi-org huggingface dataset:
Package: aa-top
AA "Top"System Utilization and AA Statistics plugin forAlliance Auth.Inspired byhttps://zkillboard.com/ztop/by Squizz CaphinatorFeaturesResource Monitor
Celery Jobs in QueueDiff of last updatePlanned FeaturesInstallationStep 2 - Install apppipinstallaa-topStep 3 - Configure Auth settingsConfigure your Auth settings (local.py) as follows:Add'top'toINSTALLED_APPSAdd below lines to your settings file:## Settings for AA-Top# Update aatop.txtCELERYBEAT_SCHEDULE['top_update_aa_top_txt']={'task':'top.tasks.update_aa_top_txt','schedule':crontab(minute='*'),}Step 4 - Maintain Alliance AuthRun migrationspython manage.py migrateGather your staticfilespython manage.py collectstaticRestart your projectsupervisorctl restart myauth:Add file permissionssetfacl -m u:allianceserver:rw /var/www/myauth/static/top/aatop.txtPermissionsPermAdmin SitePermDescriptionbasic_accessnillCan access the web view for this appSettingsNameDescriptionDefaultContributingMake sure you have signed theLicense Agreementby logging in athttps://developers.eveonline.combefore submitting any pull requests. All bug fixes or features must not include extra superfluous formatting changes.
Package: aave-python
Aave V2 DeFi Client for Web3.pyNOTE: This is the beta version of the client. More docs to come...Overview:The Aave V2 DeFi Client is a Python wrapper for the core functionality on the Aave V2 DeFi lending protocol built using only two 3rd party packages, web3 and requests.Currently only theEthereum mainnetandKovan testnetare supported.SetupEnsure that you are using Python version 3.9+Install the package using pip:pipinstallaave-pythonRepare your HTTP providers for the Ethereum mainnet and/or Kovan testnet.Usage:You can find examples for the client's functionality in theusage_examplesdirectory.How to Get Kovan Testnet WETH:Enter your public wallet address atethdrop.devand get ETHUse theusage_examples/get_kovan_weth.pyscript to convert your testnet ETH to ERC-20 WETH that can be deposited to Aave.
Package: aav.upcoming-games
upcoming-gamesReddit bot to update sidebar for /r/IGN. Can be configured for a variety
of uses.UsageInstall Python 3.6 or greater if you have not already.Install the bot withpip installaav.upcoming-games. You may need
to usesudoorpip3or--userdepending on your
permissions, i.e. if you do not have sudo permissions and you also
have Python 2 installed, you may need to usepip3 install--useraav.upcoming-games.Obtain a Reddit client ID and client secret fromhttps://reddit.com/prefs/appson the account you want to use for the
bot.Set up your configuration file and template as mentioned in the
‘Configuration’ section.Run the bot from the command line with the full path to your config
file:upcoming-games"/home/aav/my.yaml"Developer UsageInstall Python 3.6 or greater if you have not already.Install the bot withpip installaav.upcoming-games. You may need
to usesudoorpip3or--userdepending on your
permissions, i.e. if you do not have sudo permissions and you also
have Python 2 installed, you may need to usepip3 install--useraav.upcoming-games.import upcoming_gamesYou can use any of the three functions:get_all_games,get_markdown,post_table, and the classUpcomingGameas
desired.ConfigurationHere is the default configuration file:general:silent:Falsetime_period:"7d"systems:[]game_limit:10table_format:"short"reddit:client_id:"..."client_secret:"..."subreddit:"..."scripthost:"..."password:"..."post_type:"sidebar"template:'path/to/template.txt'Here’s what each setting is for:generalsilent- True if you don’t want any script output.time_period- Valid time period for upcoming games (can be one
of7d, 1m, 3m, 6m, 12m, all).system- List of consoles you want to include releases for.
Empty means include all.game_limit- Number of games you want for the Markdown table.table_format-shortfor only the game name and first
release,longfor system details.redditclient_id- Your reddit bot’s client ID.client_secret- Your reddit bot’s client secret.subreddit- The subreddit (your must be a moderator) to post
to/update the sidebar.scripthost- The username for the bot account you registered
for the client ID on.password- The password for the bot account.post_type-sidebarto update the sidebar,stickyto
make a ‘bottom’ stickied post.template- the full path to the template you want to use.Note the template must contain somewhere in it the text %%%TABLE%%%, as
this is where the Markdown table will be put. If no path or an invalid
path is specified, the template used will be blank, i.e. it will only
contain the Markdown table, nothing else.
Package: aaxenforo2
AA-XenForo2XenForo v2.x Service Module forAlliance AuthContentsOverviewFeaturesInstallationStep 1 - Install the packageStep 2 - Configure Alliance AuthStep 3 - Finalize the installationStep 4 - Preload Eve Universe dataStep 5 - Set up permissionsStep 6 - (Optional) Import from built-in SRP modulePermissionsSettingsOverviewFeaturesIntegration with XenForo v2.x Forum Software as a user managerInstallationImportant: Please make sure you meet all preconditions before you proceed:AA XenForo2 is a plugin for Alliance Auth. If you don't have Alliance Auth running
already, please install it first before proceeding. (see the officialAA installation guidefor details)Step 1 - Install the packageMake sure you are in the virtual environment (venv) of your Alliance Auth
installation Then install the latest release directly from PyPi.pipinstallaaxenforo2Step 2 - Configure Alliance AuthThis is fairly simple, just add the following to theINSTALLED_APPSof yourlocal.pyConfigure your AA settings (local.py) as follows:Add"aaxenforo2",toINSTALLED_APPSStep 3 - Finalize the installationRun migrationspythonmanage.pymigrateRestart your supervisor services for AuthStep 4 - Set up permissionsNow it's time to set up access permissions for your new forum service. You can do so in
your admin backend in the AA XenForo2 section. Read thePermissionssection for more information about the available permissions.PermissionsIDDescriptionNotesaccess_xenforo2Can access the XenForo2  Service PageYour line members should have this permission.SettingsKeyDescriptionTypeDefaultExampleAAXENFORO2_ENDPOINTThe full web address to the xenforo2 install. Must include protocol (https://) and trailing slash/stringNonehttps://forums.mysite.com/AAXENFORO2_APIKEYXenForo2 Api Key, Must be a superuser keystringNonedefault_api_key_valueAAXENFORO2_API_USER_IDXenForo User ID of an admin to act with via the APIintNone1AAXENFORO2_DEFAULT_GROUPXenForo Group ID to add users to by defaultintNone5AAXENFORO2_EXTRA_GROUPXenForo Group ID to add users to in addition to their main groupstringNone"6"
Package: ab1-organizer
ab1_organizerGoalOrganize AB1 files by researches and primer-pairs.InstalationFor command line usage, simpleously use pip way:pipinstallab1_organizerUsageab1_organizerreceive two arguments on initialization: the results file from Macrogen sequencing (-f, --file argument) and the modified order table (-t, --table argument). The sequencing file consists of the raw zipfile (file-name.zip) containing all .ab1, .pdf, phd.1, and .txt files. The order file consists of a simple excel table containing Macrogen order specifications and containing standardized headers (see next section).Standardized headersYour table would contain almost four columns, named respectively:sampleName: The unique identifier of sample;primerName: The primer name. e.g. "CO3 F", or "ITS1 R";personInCharge: The name of a person or a project responsible for the sample processing;primerCombination: Underscore separated complementary primer names. As example, if some region are sequenced using the "ITS1-F" and "ITS1-R", the primerCombination would be "ITS1-F_ITS1-R".At the terminal, run the code:ab1_organizer.py-f./path/to/zip/file-t./path/to/order/table.xlsxA new folder with the same name of the zip file will be created and all files will be organized by author and genomic marker respectively.Feel free to add new features and contribute through pull requests. Be happy!!
Package: ab5
UwUthere is vertical and horizontal gratients you can usevertical example:fromab5importvgratientlogo='''__  __         __  __/ / / /      __/ / / // / / / | /| / / / / // /_/ /| |/ |/ / /_/ /\____/ |__/|__/\____/'''# color in decemal rgb [red,green,blue] (max 255 min 0)start_color=[0,223,50]end_color=[0,25,222]print(vgratient(logo,start_color,end_color))horizontal example:fromab5importhgratientlogo='''__  __         __  __/ / / /      __/ / / // / / / | /| / / / / // /_/ /| |/ |/ / /_/ /\____/ |__/|__/\____/'''# color in decemal rgb [red,green,blue] (max 255 min 0)start_color=[0,223,50]end_color=[0,25,222]print(hgratient(logo,start_color,end_color))
Package: aba
This is a tiny Python library for generating ABA/Cemtext/Direct Entry files
used by Australian banks for bulk payments.UsageSee example below.importdatetimefromaba.generatorimportAbaFilefromabaimportrecordsheader=records.DescriptiveRecord(user_bank='NAB',user_name='AJAX CRACKERS',user_number=12345,description='SALARIES',date=datetime.date(day=05,month=02,year=2000))entry=records.DetailRecord(bsb='123-456',account_number='123456',txn_code=53,amount=4242,payee_name='HACKER, J. RANDOM',lodgment_ref='RANDOM PAYMENT',sender_bsb='987-654',sender_account='445566777',remitter_name='AJAX CRACKERS',)aba_file=AbaFile(header)aba_file.add_record(entry)printaba_file.render_to_string()
Package: abacus-icalc
AbacusPowerful interactive calculatormade in Python using Python with Python supportInstallationTo install Abacus run the following command with pip installedpython-mpipinstallabacus-icalc[ipython]LatestAnother option is to install the latest version from master branchpython-mpipinstallabacus-icalc[ipython]@https://github.com/sandorex/abacus.gitFor other branches append@branchto the url like sopython-mpipinstallabacus-icalc[ipython]@git+https://github.com/sandorex/abacus.git@branchIPython or notIPython is currently recommended way of using Abacus as it has all the features, i am planning making many features available without it too but it requires a lot of effort and time so it will have to waitProject goalsThe project is meant to be an interactive algebra calculator with scripting supportThere are plenty of things i wanted to add (or may add in the future) like:Unit support / conversion, this is kinda supported using sympy units but is not very intuitive and easy to useGUI, this is planned but i am putting it off as its not a priorityPython supportPython is considered first class citizen and should always be supported in Abacus, if you encounter python code that doesn't run cause of syntax errors that is a bug and please report itAlternativesTODO
Package: abacus-py
abacusA minimal yet valid double-entry accounting system in Python.DocumentationSee project documentation athttps://epogrebnyak.github.io/abacus/.Installationpip install abacus-pyFor latest version install from github:pip install git+https://github.com/epogrebnyak/abacus.gitabacus-pyrequires Python 3.10 or higher.Quick exampleLet's do Sample Transaction #1 fromaccountingcoach.com[^1].[^1]: It is a great learning resource for accounting, highly recommended.On December 1, 2022 Joe starts his business Direct Delivery, Inc. The first transaction that Joe will record for his company is his personal investment of $20,000 in exchange for 5,000 shares of Direct Delivery's common stock.
Direct Delivery's accounting system will show an increase in its account Cash from zero to $20,000, and an increase in its stockholders' equity account Common Stock by $20,000.SolutionBoth Python code and command line script below will produce balance sheet after Sample Transaction #1 is completed.Python code:fromabacusimportChart,Reportchart=Chart(assets=["cash"],capital=["common_stock"])ledger=chart.ledger()ledger.post(debit="cash",credit="common_stock",amount=20000,title="Owner's investment")report=Report(chart,ledger)print(report.balance_sheet)Command line script:bxinit
bxpost--entryasset:cashcapital:common_stock20000--title"Initial investment"bxreport--balance-sheetResultBalance sheet
ASSETS  20000  CAPITAL              20000
  Cash  20000    Common stock       20000
                 Retained earnings      0
               LIABILITIES              0
TOTAL   20000  TOTAL                20000See further transactions for this example atdocumentation website.
Package: abacus-tpot
Analysis LibraryInstallationCreate a Python virtual environment then run:pipinstallabacus-tpotDevelopmentThis project has a.editorconfigfile to help contributors define
and maintain consistent coding styles between different editors and
IDEs.We are using CircleCI for continuous integration.Found a bug or want to propose something to the team? Create a new issue
if it is not listedhere. Even better, feel free to fork this repo,
make the changes and raise a PR. We’ll be more than happy to review it.TestingRun:pythonsetup.pytestDeploymentAutomatic Uploading totestpypiandpypihas been set in the CI
and only develop and master branches are deployed to the package
repositories respectively.Ready to deploy? Update the version insetup.pyand create a new git
tag withgit tag $VERSION. Push the tag to GitHub withgit push--tags, a new CircleCI build is triggered and will only
confirm that the package is ready for uploading. The upload will only
happen whenmasterordevelopare pushed and successfully build.DocsGoing throughthis jupyter notebookwill give you a sense of what the
abacus packs in.
Package: abacusutils
abacusutilsabacusutils is a package for reading and manipulating data products from the AbacusN-body project.
In particular, these utilities are intended for use with theAbacusSummitsuite of simulations.  The package focuses on the Python 3 API, but there is also a language-agnostic Unix pipe
interface to some of the functionality.These interfaces are documented here:https://abacusutils.readthedocs.ioPress the GitHub "Watch" button in the top right and select "Custom->Releases" to be notified about bug fixes
and new features!InstallationThe Python abacusutils package is hosted on PyPI and can be installed
by installing "abacusutils":pip install abacusutilsorpip install abacusutils[all]For more information, seehttps://abacusutils.readthedocs.io/en/latest/installation.html.Usageabacusutils has multiple interfaces, summarized here and athttps://abacusutils.readthedocs.io/en/latest/usage.html.Specific examples of how to use abacusutils to work with AbacusSummit data will soon
be given at the AbacusSummit website:https://abacussummit.readthedocs.ioPythonThe abacusutils PyPI package contains a Python package calledabacusnbody.
This is the name to import (notabacusutils, which is just the name of the PyPI package).
For example, to import thecompaso_halo_catalogmodule, useimportabacusnbody.data.compaso_halo_catalogUnix PipesThepipe_asdfPython script reads columns from ASDF files and pipes them tostdout.  For example:$pipe_asdfhalo_info_000.asdf-fN-fx_com|./client
Package: abakus-status-checks
Abakus Status Checks====================.. image:: https://ci.frigg.io/eirsyl/abakus-status-checks.svg:target: https://ci.frigg.io/eirsyl/abakus-status-checks/last/:alt: Build Status.. image:: https://ci.frigg.io/eirsyl/abakus-status-checks/coverage.svg:target: https://ci.frigg.io/eirsyl/abakus-status-checks/last/:alt: Coverage StatusThis package is used together with Sensu_. Checks is managed with Puppet and reported to our #devopschannel on Slack.Supported checks:- CPU percent- LoadCreate a new check------------------- Create a new file in the abakus_checks/checks directory- Import abakus_checks.utils.check.StatusCheck and use this as a base for your check.- Give the check a name, decription and options::name = 'load'description = 'Trigger errors based on load threshold. Load is divided by core count.'options = [click.option('--warning', default='2,1.5,1', type=str),click.option('--critical', default='3,2,1.5', type=str),]- Implement the run method. Call self.ok, self.warning, self.critical with a message based on theresult.- Register the check in abakus_checks/cli.py. Import the check in the check import block andregister the check.::from .checks import loadregister_check(load.LoadCheck)- You can use the tests.test_case.CLITestCase to test the check. This TestCase has a .invokemethod you can use to call the check.::class LoadCheckTestCase(CLITestCase):@mock.patch('os.getloadavg', return_value=(0, 0, 0))def test_load_ok(self, mock_loadavg):result = self.invoke(['load', '--warning /'3.2.1/''])self.assertEquals(result.exit_code, 0).. _Sensu: https://sensuapp.org/
Package: abalin-nameday
abalin_namedaySimple Python wrapper for the International NameDay API @https://api.abalin.netInstallationUse the package managerpipto installabalin_nameday.pipinstallabalin_namedayUsageimportabalin_namedaymyClient=abalin_nameday.namedayRequestor(country,timezone)print(json.dumps(json.loads(myClient.GetData()),indent=2,sort_keys=True))Explanationcountry: one of the countries from this list:['cz','sk','pl','fr','hu','hr','se','us','at','it','es','de','dk','fi','bg','lt','ee','lv','gr','ru']timezone: One of the time zones from this list:'America/Denver','America/Costa_Rica','America/Los_Angeles','America/St_Vincent','America/Toronto','Europe/Amsterdam','Europe/Monaco','Europe/Prague','Europe/Isle_of_Man','Africa/Cairo','Africa/Johannesburg','Africa/Nairobi','Asia/Yakutsk','Asia/Hong_Kong','Asia/Taipei','Pacific/Midway','Pacific/Honolulu','Etc/GMT-6','US/Samoa','Zulu','US/Hawaii','Israel','Etc/GMT-2',If the call is successful,abalin_namedayreturns a string that contains today's date and name day in the selected country. It also contains version information about itself.See thedocumentation of the actual APIfor up to date list of countries/time zones supported.Sample response fromowm2json:{"module":{"version":"0.0.1"},"namedays":{"data":{"dates":{"day":5,"month":4},"namedays":{"hu":"Vince"}}}}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.LicenseGNU General Public License v3.0
Package: abalyzer
abalyzerParses ABA (American Bankers Association) codesAbout The ProjectParsing out information from ABA numbers can be tricky without the use of online lookup tools. This project aims to create an offline and open-source alternative. When used, the package can be used to validate ABA numbers and if valid, return information about the number including:Bank NameBank AddressBank StateBank Phone NumberABA Number Validation:Check digitThe ninth, check digit provides a checksum test using a position-weighted sum of each of the digits. High-speed check-sorting equipment will typically verify the checksum and if it fails, route the item to a reject pocket for manual examination, repair, and re-sorting. Mis-routings to an incorrect bank are thus greatly reduced.The following condition must hold:(3(d1 + d4 + d7) + 7(d2 + d5 + d8) + (d3 + d6 + d9)) mod 10 = 0(back to top)LicenseDistributed under the MIT License. SeeLICENSE.txtfor more information.(back to top)
Package: abandontech-siren
McRconPython package for authenticating and communicating with a Minecraft server using the Minecraft RCON protocolSample UsageimportasynciofromsirenimportRconClientasyncdeftest_auth()->None:asyncwithRconClient("123.2.3.4",25575,"AVeryRealPassword")asclient:print(awaitclient.send("list"))if__name__=='__main__':loop=asyncio.new_event_loop()loop.run_until_complete(test_auth())
Package: abaparser
# ABA Parser/Reporter in Python #ABA (Australian Bankers Association or Cemtext file format) is the standard format all Australian online banks accept. This is an archaic fixed file format, and it’s hard to eye-ball for correctness.This script serves currently serves 2 purposesA python library to parse ABA files.A basic command line report of all the debit transactions in the ABA file (I use this to sanity check payments out of Xero)## Usage ##
`
$ python abaparser.py < path/to/FILE.ABA
`The output will be something like this` Contractors012-327293353749       John Doe        Contractor Payment      1220.00082-406598209320       Jane Doe        Contractor Payment      6600.00 `
Package: abaqus-mtx-parser
Parser for*.mtxfiles inAbaqusA python package to parse*.mtxfiles generated by the keyword*SUBSTRUCTURE MATRIX OUTPUTin Abaqus.InstallUse PyPI to installabaqus-mtx-parser:pipinstallabaqus-mtx-parserUsageRun the following script to parse the mtx fileinner.mtx.fromimportlib.resourcesimportfilesfromabaqus_mtx_parserimportparse_mtxmtx=files("abaqus_mtx_parser.mtx.unsymmetric").joinpath("inner.mtx")# Path to "inner.mtx"result=parse_mtx(mtx)print(result.nodes,# node numbers: [2, 3, 4, 5, 6, 7]result.dof,# node dofs: {2: [1, 2, 3, 4, 5, 6], 3: [1, 2, 3, 4, 5, 6], 4: [1, 2, 3, 4, 5, 6], 5: [1, 2, 3, 4, 5, 6], 6: [1, 2, 3, 4, 5, 6], 7: [1, 2, 3, 4, 5, 6]}result.stiffness,# stiffness matrix)
Package: abaqus-parse
abaqus-parseAbaqus input and output file readers and writers.Change Log[0.1.3] - 2021.08.10FixedFix dependencycalfem-python[0.1.2] - 2021.08.10AddedAdd various functions for generating input files for forming limit curve predictions via a grooved-sheet Marciniak-Kuczynski method.[0.1.1] - 2020.12.15Addedgenerate_compact_tension_specimen_parts,generate_compact_tension_specimen_stepscompact_tension_specimen_meshand additional helper mesh functionsChangedExtended capabilities ofwrite_inpand added docstring.[0.1.0] - 2020.11.16Initial release
Package: abathur
Simple Template manager to manage template and create project based on template.RequirementsPython 3.6+Works on Linux, Windows, Mac OSX, BSDInstallpip:pip install abathurUsagePresume you have a template like this:template/src
├── main
│   ├── java
│   │   └── com
│   │       └── abathur
│   │           └── {PROJECT_NAME}
│   │               └── {PROJECT_NAME_IN_CLASS}Application.java
│   │                   ├── domain
│   │                   │   ├── entity
│   │                   │   │   └── {PROJECT_NAME_IN_CLASS}.java
│   │                   │   ├── repository
│   │                   │   │   └── {PROJECT_NAME_IN_CLASS}Repository.java
│   │                   │   └── service
│   │                   │       └── {PROJECT_NAME_IN_CLASS}Service.java
│   │                   ├── facade
│   │                   │   ├── {PROJECT_NAME_IN_CLASS}DtoMapper.java
│   │                   │   └── {PROJECT_NAME_IN_CLASS}Facade.java
│   │                   ├── infrastructure
│   │                   │   └── persistence
│   │                   │       ├── {PROJECT_NAME_IN_CLASS}Po.java
│   │                   │       └── {PROJECT_NAME_IN_CLASS}Repository.java
│   │                   └── resource
│   │                      └── {PROJECT_NAME_IN_CLASS}Resource.java
│   └── resources
│       └── application.yml
└── test
    ├── java
    │   └── com
    │       └── abathur
    │           └── {PROJECT_NAME}
    │               └── resource
    │                   └── {PROJECT_NAME_IN_CLASS}ResourceTest.java
    └── resourcesYou can put all placeholders surrounding with {} like {PROJECT_NAME} and {PROJECT_NAME_IN_CLASS} in the file sources and directory, you can write a file named.abathurin the root path like:cat .abathur
PROJECT_NAME_IN_CLASS
TABLE_NAME.abathurinclude all keywords used in template and split with n, abathur will load it and surround the with {}(Abathur would auto addPROJECT_NAMEinto keyword list), thenCreate alias:abathur add alias ~/templateBuild project based on template:abathur build -a name project_nameWhen build project, abathur will let user fix replace the words notified in.abathurand replace the placeholders in template.You can use –output special the project path.You can use –config special a config file auto fill replaceholdersList aliases:abathur listRemove alias:abathur remove alias