Saravanan666/pypi-org huggingface dataset:
Package: dev-sup
Dev_Sup is a Django app that supports developer in process of creation of Django application.Quick startAdd “dev_sup” to your INSTALLED_APPS setting like this:INSTALLED_APPS = [
    ...
    'dev_sup',
]Include the dev_sup URLconf in your project urls.py like this:path('', include('dev_sup.urls')),Pro tip: include it after youradminpaths, so it won’t mess them up.Configure your TEMPLATES settings like this:TEMPLATES = [
    {
        ...
        'DIRS': [os.path.join(BASE_DIR, "dev_sup/templates")],
        ...
        'OPTIONS': {
            'context_processors': [
                ...
                'dev_sup.context_processors.all',
            ],
        },
    },
]You will probably need to addimport oson top of yoursettings.pymodule.Runpython manage.py migrateto create the dev_sup models.Runpython manage.py generate_projectto generate simple project.Start the development server and visithttp://127.0.0.1:8000/to check out generated project.Visithttp://127.0.0.1:8000/adminto add more sites, links, drop down menus and page styles.You will find more instructions in generated project’s index page.
Package: dev-swiper
dev_swiperStronger swiping game for devsWorks for almost all dating apps :/PS : Works only with adbInstallationpipinstalldev-swiperSteps to useMake sure you have adb installed.Install the package.Connect your android device to your PC.Open the respective appUse as you likeswipeIt will swiperightfor 20 times.Arguments-c, --count: Number of swipes [ Default : 20 ]-d, --direction: Swipe Direction [ Default : right ]-m: Manual ModeManual ModeIn manual mode you canswipeusing yourkeyboardright ->: Swipe rightleft  <-: Swipe leftq: QuitAuthorDipansh Khandelwal
Package: devtools
python devtoolsPython's missing debug print command and other development tools.For more information, seedocumentation.InstallJustpipinstalldevtoolsIf you've got python 3.7+ andpipinstalled, you're good to go.Usagefromdevtoolsimportdebugwhatever=[1,2,3]debug(whatever)Outputs:test.py:4<module>:whatever:[1,2,3](list)That's only the tip of the iceberg, for example:importnumpyasnpdata={'foo':np.array(range(20)),'bar':{'apple','banana','carrot','grapefruit'},'spam':[{'a':i,'b':(iforiinrange(3))}foriinrange(3)],'sentence':'this is just a boring sentence.\n'*4}debug(data)outputs:Usage without Importdevtools can be used withoutfrom devtools import debugif you adddebuginto__builtins__insitecustomize.py.For instructions on addingdebugto__builtins__,
see theinstallation docs.
Package: devtools-ai
DevTools SmartDriver is a Selenium & Appium SDK that makes it easy to write robust cross-device app tests backed by computer vision and artificial intelligence.SmartDriver integrates seamelessly with your existing tests, and will act as backup if your selectors break/fail by attempting to visually (computer vision) identify elements.SmartDriver is able to accomplish this by automatically ingesting your appium elements (using both screenshots and element names) when you run your test cases with dev-tools.ai for the first time.The SDK is accompanied by aweb-based editorwhich makes building visual test cases easy; you can draw boxes around your elements instead of using fragile CSS or XPath selectors.InstallIn your terminal, runpipinstalldevtools-aiTutorialWe have a detailed step-by-step tutorial which will help you get set up with the SDK:https://docs.dev-tools.ai/ResourcesRegister/Login to your dev-tools.ai accountGet Started DocumentationSelenium TutorialAppium TutorialAPI Docs
Package: devtools-shorthand-sql
devtools_shorthand_sqlOverviewAid for writing boilerplate python code for SQL work, including creation of tables, insert functions, unit testing and SQL, dependent on relational database management system selected.Documentation:https://devtools-shorthand-sql.readthedocs.io.QuickstartInstall the latest version of this software from the Python package index (PyPI):pipinstall--upgradedevtools_shorthand_sqlCreate a shorthand sql file e.g. shorthand.txt.# photo
id,id
size,int
filename,text
date_taken,intRundevtools_shorthand_sqlshorthand.txtNotification that file created:Info:Outputsavedto:shorthand_sql_created_functions.txtCreated file contains:SQL statement for table creation:CREATETABLEIFNOTEXISTSphoto(idINTEGERPRIMARYKEY,sizeINT,filenameTEXT,date_takenINT);Python function for data insertion:definsert_photo(id:int,size:int,filename:str,date_taken:int)->int:params=(id,size,filename,date_taken)id=YOUR_CONNECTOR_EXECUTOR("""INSERT INTO photo (id, size, filename, date_taken) VALUES(?,?,?,?);""",params)returnidPython function for unit testing (pytest only):deftest_insert_photo(YOUR_CLEAN_DB_FIXTURE):expected=(1,160,'3RWL0C6QSU',374)new_id=YOUR_MODULE.insert_photo(size=160,filename="3RWL0C6QSU",date_taken=374)result=YOUR_CONNECTOR_QUERY('SELECT * FROM photo').fetchall()[0]assertresult==expectedassertnew_id==1RequirementsPython 3.6 or later is required to run devtools_shorthand_sql.No other third party packages are required.
Package: devToolsSPFC
A package to create long tasks applications such as making calculator,spammer,time etc,in just one line of code.                       Type "import devToolsFCOD".your_variable = devToolsFCOD.MLibrary.            Play around with the module ,it is small and easy to use module ,you can understand easily.                                                         These are the functions spam(),infSpam(),currentTime(),facts() and calculator()
Package: devtrans
Devanagari TransliteratorsConvert among common Devanagari transliteration systems. The following codecs are currently implemented.SystemCodeDecoderEncoderDevanagaridev✓✓Hardvard Kyotohk✓✓IASTiast✓✓ITRANSitrans✓✓SLP1slp✓✓(La)TeXtex✗✓Velthuisvel✓✓WXwx✓✓InstallationThe best method to install is viapip.pip3installdevtransClone theGitLabrepository to install from the source.UsageAs a scripttransliterate-ddev-eiast-iinput_file-ooutputfileThe options-dDecoder system code (defaults todev)-eEncoder system code (defaults toiast)-iInput file (defaults toSTDIN)-oOutput file (defaults toSTDOUT)See help for more detailstransliterate--helpAs a moduleImport the module.importdevtransCall any codec function with appropriate input texttarget=devtrans.wx2iast('xevanAgarI')Devanagari encoders can have an optional boolean argument. IfTrue, which is default, the encoder transliterates digits to Devanagari digits. IfFalse, it leaves digits as it is.target=devtrans.wx2dev('BagavaxgIwA 18.78',False)DisclaimerIt has primarily been developed for personal use as a tea-time activity. Some of my colleagues and I are using it since 2015 for general texts from classical literature. I have been tweaking and making modifications whenever we found an issue. However, the transliterators are not tested exhaustively or thoroughly with various kinds of texts.Majority of the transliteration schemes are case-sensitive. Currently, encoder/decoder for case-insensitve schemes works with lowercase characers only.Many schemes use punctuation characters to represent letters which are represented using alphabets in another scheme. This makes punctuated text to be poorly transliterated. No character-escape mechanism is used.ContributeFind the repo onGitLab. If found bugs, please fix and push them, raise anissueor mailme.
Package: devtreeutil
devtreeutil is a library that makes simple actions a lot easier and more effective!— Developed by DevTree Studios
— Programmed in Python 3.10
— 2022CHANGELOG0.0.1 (5/3/2022)First Release of devtreeutil0.0.2 (5/3/2022)Internal files fixed0.0.3 (5/4/2022)Bug fixes0.0.4 (5/4/2022)File organization fixedAdded more functionality
Package: dev-up
DEV UP API wrapperУстановкаpipinstalldev_upПолучение токенаdev-up.ruИспользованиеfromdev_upimportDevUpAPIapi=DevUpAPI("token")profile=awaitapi.profile.get()stickers=awaitapi.vk.get_stickers(1)custom=awaitapi.make_request("section.method",data=dict(param1="foo",param2="bar"))
Package: devvit-manager
Devvit Manager is a Python package that enables you to easily utilize devvit with
multiple Reddit user accounts.InstallationDevvit Manager is supported on Python 3.8+.pipinstalldevvit-managerTo install the latest development version of Devvit Manager run the following instead:pipinstall--upgradehttps://github.com/LilSpazJoekp/devvit-manager/archive/master.zipUsageFor a full list of commands and options run:devvit-mgr--helpTo login a new user run:devvit-mgrloginTo switch users run:devvit-mgrswitchTo logout a user run:devvit-mgrremoveAll commands exceptlogincan accept a single parameter for specifying a username
(case-sensitive). If one isn’t provided, you will be prompted for one. All the commands
above can be run with the--helpoption to get more information.
Package: devwatch
DevWatchSpeed up your coding by running your program, test suite, linter, etc on every saved changes.Installation$ pip install devwatchSystem requirementsLinux >= 2.6.13Python >= 3.2Basic usageExecutepython main.pywhenmain.pyis modified$ devwatch -f 'main.py' -c 'python main.py'Watch for changes on all.txtfiles insidedirand its subdirectories and executecaton the modified file$ devwatch -f 'dir/**/*.txt' -c 'cat @'Executemaintarget$ devwatch -t mainExecute the first defined target$ devwatchConfiguration fileCreate.devwatchrc.ymlon your project directory or home folderExample configuration filemain:
       files: main.py
       command: python main.py    
   tests:
       files: tests/
       command: pytest @
   flake:
       files: main.py
       command: flake8 test.pyDefine targets (main,testsandflakein this example)For every target define:files: File or directory to watchcommand: Command to execute when a file change is detectedWhen watching on directories like on targettests, you can use@to reference the
modified file. In this example, when filetests/foo.pyis amendedpytest tests/foo.pywill be executeWarning: if no files exists for the target, the program will exit.Tested onUbuntu 20.04, 22.04 x64Debian 11 x64Centos 7 x84TODOHot reload configuration fileFreeBSD/OpenBSD/NetBSD supportMacOS support
Package: dev-work-tracker
Dated: 10/02/2019OverviewWhen comes to SDLC, time is very efficient. This “Dev-work-tracker” is the efficient way to reduce time specially on testing phase.In many scenarios, same bug caught at different releases by the tester. Which means developers can make same mistakes gain and gain. The frequency of the developer tent to concentrate lesser on not interesting stuff.Example many developers excited about writing codes, but same excitement will be lacking when comes to writing unit test code. This leads to cause more bugs in the testing cycle.In this case, “Dev-work-tracker” will help to track assignee’s bug history and compare them (using natural language processing - NLP)  with his current task, then it will create a sub-task in this current task stating - “You have more than one bug history related to the current task, please make sure this won’t render in current task”.Example:Current Task - UI Development - positioning img.If Assignee’s Bug History - 10Out of 10, 4 is related to UI DevelopmentOut of 4, 2 is related to positioning.So this 2 positioning bugs will send it to Assignee’s eye, so that he can avoid this mistake again in his current work.DependenciesInstall the package by running:pip install dev-work-trackerORshell sudo python3 setup.py installInstall the dependencies:pip install jira
pip install spacy
python -m spacy download en_core_web_smPython standard dependencies:devtrackerThis package is to track developers work rateFree software: MIT licenseDocumentation: (COMING SOON!)https://dev-work-tracker.readthedocs.org.MaintainersJagadeesh Lakshminarasimhan -jagadeeshlaks@gmail.comUSAGEfrom devtracker.devtracker import Triggerjira_server = “https://example.atlassian.net/”jira_user = “example@gm.com”jira_password = “examplePassW@rd”Issue_ID = “EXAM-1234” #Jira Issue IDdescription = ‘This is sample description about the issue’session = Trigger().jira_login(jira_server, jira_user, jira_password)out = Trigger().windfall(Issue_ID, session, description)print(out)
Package: devwrangler
Dev WranglerBringing peace, freedom, justice, and security to your Python empireDocumentation:https://birdcar.github.io/devwranglerGitHub:https://github.com/birdcar/devwranglerPyPI:https://pypi.org/project/devwrangler/Free software: MITFeaturesSingle command configuration of:your Python project's virtual environmentyour project's VS Code settingsCreditsThis package was created withCookiecutterand thewaynerv/cookiecutter-pypackageproject template.
Package: devXliff
devXliff:It is a simple lightweight library to facilitate the programmatic creation of XLIFF filesXLIFF:It is xml based standard that is commonly used in Computer Assisted Translation tools for data exchange.Installation:pip install devXliffPython Demo:You may refer tohttps://github.com/vinayaksharmagh/devXliff/blob/master/demo.pyto look at basic usage of this library.Colab Notebook Demo Link:
Package: devyl
This library used for evaluate machine learning and deep learning algorithm, still on progress and will be improved as long as there are opportunity to do it.Binary classification algorithm target for current phase:
1. SVM
2. Logistic Regression
3. KNN
4. Decision Tree
5. Random Forest
6. Neural NetworkHow to initialise this library:
1. Type ‘from devyl import evaluate’ to call the library
2. create the function:
ML – variablename = evaluate.binary(algorithm, xtrain, xtest, ytrain, ytest)
DL – variablename = evaluate.neuralnet(algorithm, xtrain, xtest, ytrain, ytest)
– it need algorithm that already been fit with training dataset.
comparison score – variablename = evaluate.compare(listname)
– it need the list of the score summary of all algorithm
3. The binary and neuralnet function contains:
- plot_confusionmatrix() – for visualise confusion matrix
- print_score(string) – this function will calculate the accuracy score, log loss, precision, recall, f1, and roc_auc score
for training and testing dataset
- auc_plot() or auc_plot(history, epochs) for neural network
– this function will visualise learning curve from the model with training and testing phase comparison
- score_table – to call score summary from the model it will return array of metrics score
4. The compare function contains:
- plot_accuracycomparison() – visualise accuracy score comparison between training and testing
- plot_lossccomparison() – visualise loss score comparison between training and testing
- plot_precisioncomparison() – visualise precision score comparison between class 1 and 0
- plot_recallcomparison() – visualise recall score comparison between class 1 and 0
- plot_ROCcomparison() – visualise roc_auc score comparison between training and testingPlease send an email toimthedevyl@gmail.comfor any feedback to improve this library
Package: dewar
DewarDewar is a static site generator inspired by flask.AboutWhy the name "dewar"?Dewar (pronounced d-you-ah) is another name for a vacuum flask, or a thermos. Basically, it's a flask that keeps things frozen (or hot).Why would I use this?To the moment, there have been a few ways of making a static site:Roll your own custom solution, maybe using jinja, but maybe just formatting a html template solution.This might work for a small site, or for a repetitive report; but maintainability is lost, and a lot of custom configuration has to be done.Use a static site generator (a la jekyll or hyde).These are great for making blogs, but are opinionated about what content they should host. They don't allow for computation inline, and they are their own ecosystem to learn.Just use flask!There are two major limitations to flask that this project solves:Flask only serves one page at a time.Flask requires a server to be running.These limitaions are obvious, but they prevent a few use cases:hosting a site that doesn't need to be continuously renderedcreating sites that can be easily downloadedcreating a server that can be seen without a server runningcreating sites that rely entirely on client-side code, but want some convenient templating [in this case, it adds overhead of processing that's unnecessary]SetupInstalling Dewar is as simple as:pip install dewarAnd writing a program like# named 'site.py'importdewarsite=dewar.Site()@site.register('index.html')defindex():return"<h1>Hello, World</h1>"if__name__=="__main__":site.render()Then,$ python3 site.pyThat's it! Your static site is now indist/.
Package: dew-gwdata
dew_gwdataPython module for accessing groundwater data internally at DEWInstallThe source code is onBitbucket, while Python packages (source and binary) are published on
thePython Package Indexand
on a dedicated channel onAnaconda Cloud.From PyPI (most recent release)Run this in Command Prompt to install from PyPI:pip install dew_gwdataTo upgrade to the latest version:pip install -U dew_gwdataFrom AnacondaYou can also install using conda/mamba if you prefer:mamba install -c dew-waterscience dew_gwdataTo upgrade:mamba upgrade -c dew-waterscience dew_gwdataThe version may not be as up-to-date as the PyPI version.From BitbucketThis is how you can install the latest version of the source code directly from Bitbucket (the version control repository):python -m pip install git+https://kinveraritysagov@bitbucket.org/dewsurfacewater/dew_gwdata.gitYou will need to replacekinveraritysagovwith your Bitbucket username, and you will also need access to the source repository on the Bitbucket dewsurfacewater workspace.UsageCheck out complete documentation at:http://bunyip:8191/python-docs/dew_gwdata/latest_source/index.htmlLicenseAll rights reserved DEW 2023
Package: dewildcard
DewildcardA not-very-sophisticated script to replace Python wildcard import statements.BackgroundIn Python, wildcard import statements, such as:from foo import *
from bar import *can be very convenient, but are now usually considered bad practice.  If, later in your code, you encounter a symbol you don't recognise, how do you know whether it came fromfooorbar?  And if you install an updated version ofbar, it may define a new name that clashes with one infoothat you were using in your code.It's much better, therefore, to say:from foo import item1, item2
from bar import item3, item4, item5even though it's more verbose.Tools likepylintofpyflakescan also let you know if you can safely delete, say, 'item5', because it isn't used in your code.  If you have a good text editor, it may have a plugin which can highlight this fact.This little script reads some python code on stdin and, when it finds a wildcard import statement, does the import and replaces the line with a full multi-line import statement:from bar import (item3,
                 item4,
                 item5,
                 item6)You can then easily go through and delete any items that pylint tells you aren't needed.If you prefer a single (possibly long) import line, you can use the--single-lineoption.
One advantage is that some tools such as autoflake and autopep8 handle this format better.The parentheses are there to allow it to span multiple lines, but it shouldn't be too difficult to change the code to make it a single line or to use backslashes for line continuation if you prefer that.NOTE: This has many limitations, the main one being that dewildcard must actuallyperformthe imports in order to extract the symbol names, so you must run this in an environment where the appropriate modules exist, are on the Python path, and can be imported without unfortunate side-effects.Installationpip install dewildcardNote that dewildcard makes use of importlib, so Python 2.7 or later will be needed.Example usagedewildcard my_code.pyThis outputs the modified file to stdout.  If you wish to modify it in place, add a-woption:dewildcard -w my_code.pyAcknowledgementsDewildcard is based on an initial idea from Alexandre Fayolle - thanks, Alexandre!Other contributors include Jan Bieroń and Jakub Wilk - thanks!To DoLots of room for improvements here, including:Options to change the output formatLicenceSuch a simple script is barely worth a licence, but, for what it's worth, it's released under GNU General Public Licence v2.  Use at your own risk, etc.(c) 2015 Quentin Stafford-Fraser
Package: dewloosh.math
dewloosh.mathWarningThis package is under active development and in anbeta stage. Come back later, or star the repo to make sure you donâ€™t miss the first stable release!dewloosh.mathis a rapid prototyping platform focused on numerical calculations mainly corcerned with simulations of natural phenomena. It provides a set of common functionalities and interfaces with a number of state-of-the-art open source packages to combine their power seamlessly under a single development environment.The most important features:Numba-jitted classes and an extendible factory to define and manipulate vectors and tensors.Classes to define and solve linear and nonlinear optimization problems.A set of array routines for fast prorotyping, including random data  creation to assure well posedness, or other properties of test problems.DocumentationClickhereto read the documentation.InstallationThis is optional, but we suggest you to create a dedicated virtual enviroment at all times to avoid conflicts with your other projects. Create a folder, open a command shell in that folder and use the following command>>> python -m venv venv_nameOnce the enviroment is created, activate it via typing>>> .\venv_name\Scripts\activatedewloosh.mathcan be installed (either in a virtual enviroment or globally) from PyPI usingpipon Python >= 3.6:>>> pip install dewloosh.mathCrash CourseLinear AlgebraDefine a reference frame (B) relative to the ambient frame (A):>>>fromdewloosh.math.linalgimportReferenceFrame>>>A=ReferenceFrame(name='A',axes=np.eye(3))>>>B=A.orient_new('Body',[0,0,90*np.pi/180],'XYZ',name='B')Get the DCM matrix of the transformation between two frames:>>>B.dcm(target=A)Define a vector in frame A and view the components of it in frame B:>>>v=Vector([0.0,1.0,0.0],frame=A)>>>v.view(B)Define the same vector in frame B:>>>v=Vector(v.show(B),frame=B)>>>v.show(A)Linear ProgrammingSolve a following Linear Programming Problem (LPP) with one
unique solution:>>>fromdewloosh.math.optimizeimportLinearProgrammingProblemasLPP>>>importsympyassy>>>variables=['x1','x2','x3','x4']>>>x1,x2,x3,x4=syms=sy.symbols(variables,positive=True)>>>obj1=Function(3*x1+9*x3+x2+x4,variables=syms)>>>eq11=Equality(x1+2*x3+x4-4,variables=syms)>>>eq12=Equality(x2+x3-x4-2,variables=syms)>>>problem=LPP(cost=obj1,constraints=[eq11,eq12],variables=syms)>>>problem.solve()['x']array([0.,6.,0.,4.])NonLinear ProgrammingFind the minimizer of the Rosenbrock function:>>>fromdewloosh.math.optimizeimportBinaryGeneticAlgorithm>>>defRosenbrock(x,y):>>>a=1,b=100>>>return(a-x)**2+b*(y-x**2)**2>>>ranges=[[-10,10],[-10,10]]>>>BGA=BinaryGeneticAlgorithm(Rosenbrock,ranges,length=12,nPop=200)>>>BGA.solve()array([0.99389553,0.98901176])TestingTo run all tests, open up a console in the root directory of the project and type the following>>> python -m unittestDependenciesmust haveNumba,NumPy,SciPy,SymPy,awkwardoptionalnetworkxLicenseThis package is licensed under the MIT license.
Package: dewloosh.mpl
dewloosh.mpl- Domain specific data visualization with MatplotlibThis a lightweight library serving as a place to gather code snippets for
working with matplotlib. The uses cases are usually domain specific, likely to be related
to other dewloosh projects.DocumentationClickhereto read the documentation.InstallationThis is optional, but we suggest you to create a dedicated virtual enviroment at all times to avoid conflicts with your other projects. Create a folder, open a command shell in that folder and use the following command>>> python -m venv venv_nameOnce the enviroment is created, activate it via typing>>> .\venv_name\Scripts\activatelatexdocscan be installed (either in a virtual enviroment or globally) from PyPI usingpipon Python >= 3.7:>>> pip install dewloosh.mplLicenseCopyright 2022 Bence Balogh, underthe MIT license.