package
stringlengths 1
122
| pacakge-description
stringlengths 0
1.3M
|
---|---|
alva-machinery
|
------------------------------------------------alva_machinery.distribution and .packingare for Visualizing Tcell clonal distributionThe related repository contains code for mathematical visualization of T-cell receptor sequencing data by Power-law, Yule-Simon, and Ewens statistical distributions initially described in the paper:----------------------------alva_machinery.markovis for Identifying neurite by RRS methodThe related repository contains code for implementing the RRS method initially described in the paper:https://doi.org/10.1038/s41598-019-39962-0https://www.nature.com/articles/s41598-019-39962-0Random-Reaction-Seed Method for Automated Identification of Neurite Elongation and Branching
by Alvason Li (2019)(is still working on this repository, a new AlvaHmm package will be ready soon...)Overviewtracing neurite in microfuidic devicePrerequisitesThis code is written and tested in Python 3.6.5.
The required Python libaries are:NumPySciPyMatplotlib
|
alvan-text-predictor
|
A5-Server-Text-Prediction-ModuleModule to predict which action a query best fitsTo Installpipinstallalvan-text-predictorTo Usefrompredictionimportpredictoraspdpredictor=pd.Predictor('intents.json')predictor.query('turn the lights off')Predictor(intents_filename: str, pickle_file: str="data.pickle", intents_cache_file: str="intents_cache") -> PredictorThe constructor for the Predictor class takes in 1 required and 2 optional parameters: intents_filename, pickle_file, and intents_cache_fileParameterTypeRequiredDefaultDescriptionintents_filenamestr☑""Filename for the intents file, used to train the model.pickle_filestr☐"data.pickle"Filename for the file that contains/will contain the serialized model-training outputintents_cache_filestr☐"intents_cache"Filename for the intents cache. This is used to detect if any changes have been made to the original intents file. If the contents of this file differ from the file passed into theintents_filename, the model will be retrained and the contents of this file and thepickle_filewill be overwritten with the contents of theintents_filenamefile, and the serialized output of the training.query(query)The query method takes in a query, compares it to the trained intents, and replies with an object indicating which intent it most closely matches.The output has the following shape:{intenttag,intentcontext_set,intentresponses,intentflags}Examplepredictor.query('Turn on the lights')->{'lights_on',None,4,{"followup":0}}based on example belowIntents FileThe intents file is a json file with the following shape:{"intents":[<ListofObjectsrepresentingintentswiththefollowingshape:{"tag":<String-human-readabledescriptor>,"patterns":[<ListofStrings-variouswaysausercouldphrasetheirquery],"responses":<Int-uniqueidoftheintent>,"context_set":<Object-currentlyunusedmetadata>,"flags":<Objectwithbooleanvaluesforflagsusedbytheconsumer>}>]}Example:{"intents":[{"tag":"lights_on","patterns":["turn on the lights","it is too dark in here","I want the lights on","I want it brighter in here"],"responses":4,"context_set":None,"flags":{"followup":0}},{"tag":"lights_off","patterns":["turn off the lights","it is too bright in here","I want the lights off","I want it darker in here"],"responses":5,"context_set":None,"flags":{"followup":0}},]}Corequisitesnltk must be installed alongside.pipinstallnltk
|
alvar
|
Allan variance calculation
|
alva-robot
|
Recieve and process messages and make response for robot of AlvaIM
|
alvenirclient
|
Alvenir Client for Speech Recognition (BETA)gRPC client for speech recognition using Alvenir as backend.The client and the gRPC integration is inbetaand ongoing development. Hence, there might be
a few stability issues. It currently supports only Danish and you need to receive an API key from Alvenir to use.Write an email to martin[at]alvenir.ai or rasmus[at]alvenir.ai if you want an API key!How to installInstalling the client is as easy as writing:pip install alvenirclientHow to useIt is very simple to use! The preferred format of audio is single channel 16kHz wav with pcm_s16le audio encoding.If you audio files is in different format, you can use a tool such as ffmpeg to do the transcoding. An example is:ffmpeg -i <existing_audio_file_path> -acodec pcm_s16le -ar 16000 -ac 1 <new_wav_audio_file_path>The server can also perform transcoding but this feature is still experimential.Basic usagefromalvenirclient.clientimportAlvenirClientclient=AlvenirClient(key="<YOUR KEY HERE>")response=client.transcribe_file("<Path to file>",server_transcoding=False)print(response.transcription)print(response.full_document)The response is of classAlvenirResponseand contains:transcription; The transcription as a stringfull_document; A json document with confidences and timestamps. An example of a full document is{"confidence":0.9141539366420111,"segments":[{"confidence":0.9141539366420111,"end_time":1.77,"start_time":0.93,"word_list":[{"confidence":0.995308015467965,"end_time":1.01,"start_time":0.93,"word":"Jeg"},{"confidence":0.9983347185448589,"end_time":1.1500000000000001,"start_time":1.03,"word":"bor"},{"confidence":0.9622011164767056,"end_time":1.29,"start_time":1.21,"word":"hos"},{"confidence":0.9999113092492331,"end_time":1.4500000000000002,"start_time":1.37,"word":"min"},{"confidence":0.6150145234712928,"end_time":1.77,"start_time":1.51,"word":"datter."}]}]}Server transcodingPerforming server_transcoding just requires setting server_transcoding=True. This way, the samplerate and
fileformat does not matter as long as it is a common audio format (wav, mp3 etc.).fromalvenirclient.clientimportAlvenirClientclient=AlvenirClient(key="<YOUR KEY HERE>")response=client.transcribe_file("<Path to file>",server_transcoding=True)print(response.transcription)print(response.full_document)Microphone transcriptionThe client allows you to use your own microphone for transcriptions. It does however require you
to additionally installpyaudio. It is a very experimential
feature and the transcriptions might not be very accurate depending on the microphone and how the audio is recorded.The most simple usage with microphone is:fromalvenirclient.clientimportAlvenirClientclient=AlvenirClient(key="<YOUR KEY HERE>")response=client.transcribe_microphone()print(response.transcription)print(response.full_document)The microphone will stop recording when you press the key "enter". This will not be real time, but the transcription is being made while you speak, so the response should be pretty instant.For real time transcription i.e. continously getting a response, use the following code.fromalvenirclient.clientimportAlvenirClientfromalvenirclient.audio_pb2importSTOPclient=AlvenirClient(key="<YOUR KEY HERE>")final_response=Noneresponses_iterable=client.transcribe_microphone_realtime()forresponseinresponses_iterable:ifresponse.status==STOP:final_response=responsebreakelse:print(response.transcription)print(final_response.transcription)print(final_response.full_document)Note, the intermediate responses do not have full_document but only text in the transcription.
|
alveolus
|
Alveolus Documentation PackageAlveolus is a small package that makes your C++ Documentation process easier. Using Breathe and Exhale you can combine
your C++ Code Documentation with your Custom API doxumentation written in simple .rst files .
This projects relies heavily on Doxygen+Sphinx+Breathe+Exhale but makes the process of combining them nad using them
easier. Run alveolus-build in any c++ project and an index html with the ReadTheDocs theme will be created instantlyUsing AlveolusThere are 4 commands added to your pathalveolus-buildalveolus-createalveolus-cleanalveolus-cliInstallation InstructionsDependenciesCreditLicense
|
alvi
|
Algorithm Visualization framework
|
alvin-api-client
|
Alvin API ClientAlvin API Client is a sdk package developed at Alvin. This is a dependency package for Alvin CLI and is installed during installation of the
CLI package.Find theAlvin CLIhereAlvindocsRequest Invitehere
|
alvin-cli
|
Alvin CLIThe Alvin CLI package is developed for the users to access all the UI features in their terminal. The Alvin CLI is easy
to use with descriptive commands and information on requirements for all the commands.Thealvin_clipackage depends on thealvin_api_clientpackage which is installed as a dependency during installation.Find the Alvin CLI documentationhere.Other resourcesAlvindocsRequest Invitehere
|
alvin-integration
|
No description available on PyPI.
|
alvin-integration-beta
|
No description available on PyPI.
|
alvin-lineage-airflow
|
Failed to fetch description. HTTP Status Code: 404
|
alvin-simple-cli
|
No description available on PyPI.
|
alvin_test_package
|
No description available on PyPI.
|
alvonCV
|
Computer Vision Helper PackagesFace DetectionFace MeshInstall the packagepipinstallalvonCVDemo Code for Face DetectionimportalvonCVimportcv2importtimecap=cv2.VideoCapture(0)pTime=0# here you use the alvonCV packagefaceDetectorObj=alvonCV.FaceDetector()whileTrue:success,img=cap.read()img,bboxs=faceDetectorObj.findFaces(img,draw=True)cTime=time.time()fps=1/(cTime-pTime)pTime=cTimecv2.putText(img,f'FPS:{int(fps)}',(20,70),cv2.FONT_HERSHEY_PLAIN,3,(0,255,0),2)cv2.imshow("Image",img)cv2.waitKey(1)Demo Code for Face MeshimportalvonCVimportcv2importtimecap=cv2.VideoCapture(0)pTime=0faceDetectorObj=alvonCV.FaceMeshDetector()whileTrue:success,img=cap.read()img=faceDetectorObj.findFaceMesh(img,draw=True)cTime=time.time()fps=1/(cTime-pTime)pTime=cTimecv2.putText(img,f'FPS:{int(fps)}',(20,70),cv2.FONT_HERSHEY_PLAIN,3,(0,255,0),2)cv2.imshow("Image",img)cv2.waitKey(1)Demo Code for Hand DetectorimportalvonCVimportcv2importtimecap=cv2.VideoCapture(0)detector=alvonCV.HandDetector(detectionCon=0.8,maxHands=1)whileTrue:# Get image framesuccess,img=cap.read()# Find the hand and its landmarksimg=detector.findHands(img)lmList,bbox=detector.findPosition(img)fingersUp=detector.fingersUp()print(fingersUp)# Displaycv2.imshow("Image",img)cv2.waitKey(1)
|
alvonOnvif
|
Onvif CustomFeaturesProvide rtsp linkProvide snapshot linkLoggersMediapipe FaceCentroid Tracking
|
alvpdf
|
This is the homepage of our project.
|
alwakeupword
|
alwakeupwordalwakeupword explicitly request the attention of a computer using a wake up word and also allows user to train model of their own wake up word.InstallationYou can install alwakeupword fromPyPI:pip install alwakeupword.The alwakeupword supports Python 3.6 and above.UsageStep 1:AlWakeUpWordDataPreparation.pyFollowing query on command line will help you to create a dataset for your own wake up word:For recording wake up wordalwakeupword -c makeData -r recordAudio -rad "./audio" -n 200Note: Here, -rad and -n are set to default values of ./audio in alwakeupword package path and 200 respectively.For recording background audioalwakeupword -c makeData -r recordBackgroundAudio -rbad "./backgroundAudio" -n 200Note: Here, -rbad and -n are set to default values of ./backgroundAudio in alwakeupword package path and 200 respectively.Step 2:AlWakeUpWordDataPreprocessing.pyFollowing query on command line will help you to preprocess the dataset you have created:alwakeupword -c processData -rad "./audio" -rbad "./backgroundAudio"Note: Here, -rad and -rbad are set to default values of ./audio and ./backgroundAudio in alwakeupword package path respectively.Step 3:AlWakeUpWordTrainer.pyFollowing query on command line will help you to train the preprocess data and to create a model:alwakeupword -c trainData -mp "./savedModel/model.h5"Note: Here, -mp is set to default value of ./savedModel/model.h5 in alwakeupword package path.Step 4:AlWakeUpWordPrediction.pyFollowing query on command line will help you to predict the accuracy of model and to detect if word is wake up word or not:alwakeupword -c predictWord -mp "./savedModel/model.h5"Note: Here, -mp is set to default value of ./savedModel/model.h5 in alwakeupword package path.Step 5:AlWakeUpWord.pyFollowing example.py will show you how to use wakeUpWord() function from AlWakeUpWord.py file to your scripts:"""
# example.py
from alwakeupword.AlWakeUpWord import wakeUpWord
modelPath = '{Path of your wake up word model}'
while True:
wakeUpWord(modelPath)
print('Wake up word detected')
"""
"""
Output: When you run the file it will wait for your response. When you utter the wake up word then only 'Wake up word detected' will be printed in the console.
"""Note: Here, if you saved your model in the default path while training data then you don't have to give modelPath parameter to wakeUpWord() function as it is already set to default path.License© 2022 Alankar SinghThis repository is licensed under the MIT license. See LICENSE for details.
|
always320
|
# always320
Download [amlost] always high quality mp3 from YouTube.Usage: get320.py [-f file_name][Song Name]Specify a song name or input file with song name in each line.
|
alwaysdata-api
|
alwaysdata_apiA dead simple Python interface to theAlwaysdataAPIInstallationpipinstallalwaysdata_api(Use flag--userif you can't install globally.)UsageIf you store your API key and account name in theALWAYSDATA_API_KEYandALWAYSDATA_ACCOUNTenvironment variables, the following example
works out of the box:fromalwaysdata_apiimportDomainDomain.list(name='paul')[0].name# 'paulkoppen.com'Alternatively, you can provide the authentication via code. The above
example then needs to be expanded to include the extra configuration:fromalwaysdata_apiimportAuth,Domainauth=Auth('account_name','api_key')Domain.list(name='paul',auth=auth)[0].name# 'paulkoppen.com'Seedemo.pyfor more examples.Every resources in theAPI docshas a class in this package (such
asDomain,Record,Mailbox, etc) and all resources share the same
set of methods. To give you a quick idea:Resource.get(id)retrieves the instance.Resource.list(**query_kwargs)finds and returns the list of resources.res.post()submits the resource instance to the server to be created.res.put()updates the instance on the server.Resource.delta(res1, res2).patch()sends the changes fromres1tores2to the server.res.delete()deletes it.DevelopmentAlthough it is a simple bit of code, surely it can be improved.
Contributions are very welcome. Just send a PR (please include tests). It
would be equally great to have some instructions in this repo Wiki (I
would have to find out how that works though :-))Code style follows PEP accurately and uses Google style docstrings.For testing:python-munittestLicenceMIT
|
alwaysdata-dyn-dns
|
No description available on PyPI.
|
always-list-field
|
marshmallow-always-list-fieldThis is a small package that will ensure that your marshmallow will alway contain list.Some times you want to ensure that your marshmallow schema will always return a list, even if the input is a single item. Just to make an API response consistent.Installationpipinstallmarshmallow-always-list-fieldUsagefrommarshmallow_always_list_fieldimportAlwaysListFieldclassMySchema(Schema):my_list=AlwaysListField(fields.String())If input is:{"my_list":"foo"}it will result with:{"my_list":["foo"]}This will work with nested fields as well.If nested field is:classNestedSchema(Schema):my_list=AlwaysListField(fields.String())classMySchema(Schema):nested=fields.Nested(NestedSchema)and input is:{"nested":{"my_list":"foo"}}result will be:{"nested":{"my_list":["foo"]}}Additionally you can do something like this:classNestedSchema(Schema):data=fields.String()classSampleSchema(Schema):nested=AlwaysListField(fields.Nested(NestedSchema))assertresult=={"nested":[{"data":"hello"}]}and input is:{"nested":{"data":"hello"}}result will be:{"nested":[{"data":"hello"}]}Developmentpipinstall-rrequirements.txtTestingpytestLicenseMITAuthorDominik Szymanski
|
always-updates
|
always_updatesalways_updates updates your system. always_updates will always update, even
if other packages on your system do not have updates available.installationpip install always-updatesusageaupd
|
alwinpdf
|
This is the HomePage of our Project
|
alx
|
# alxSwiss army knife for Shell, Cloud and DevOps in Python.## How ToCheck out[Cheatsheet](https://github.com/gomes-/alx/blob/master/CHEATSHEET.md)[Simple Example](https://github.com/gomes-/alx/blob/master/examples/simple.md)## InstallMake sure path to your environment variable is set to alx, alx-server directory##### Linux$ sudo pip3 install alx##### Windows$ pip install alx##### Developer$ git clone git://github.com/gomes-/alx.git## Run$ alx arg1 [arg2] [options]
$ alx-server [shell]## Dependencies(required) Python3##### For Windows(optional) Unix Tools for Windows# alx-server (optional)## Setup & RunDownload & Edithttps://github.com/gomes-/alx/blob/master/alxkey.pyRun$ alx keydir /path/to/key/dir
$ alx-server## Dependencies(required) Azure: storage account(required)https://github.com/gomes-/alx/blob/master/alxkey.py##### Linux(required) sudohttps://github.com/gomes-/alx/
|
alxcheck
|
alxcheckALX test Suite. Shell Utility that checks for ALX Project RequirementsDependenciesPython3bettypycodestylesemistandardFeaturesalxcheckchecks for the following:GeneralREADME.mdfile present.README.mdfile is not empty.All files in the current folder and sub-folders end with a new line.Crunsbettycheck.Note: You would have to make sure betty is installed. Check outHow To Install BettyPythonPython file is executable.shebangis present and at the top of the file (#!/usr/bin/python3or#!/usr/bin/env python3)Module documentation (docstrings)Function documentation (docstrings)Class documentation (docstrings)Parse and check for syntax error.JavaScriptJavascript file is executableNote: enabled with-jsor--nodejs-projectcommand line switch. SeeUsagebelowshebangis present and at the top of the file (#!/usr/bin/nodeor#!/usr/bin/env node)Note: enabled with-jsor--nodejs-projectcommand line switch. SeeUsagebelowsemistandardcheckNote: you would have to install semistandardnpm install semistandard -gvaris not used.Installationpipinstallalxcheckorpython3-mpipinstallalxcheckUsageAfter installation, to use this package, just run it as a shell command. This starts the checks with the current working directory as the root of the project.alxcheckIf the project is a JavaScript project with node.js scripts, a command line switch can be used to enable the first two checkslisted above.alxcheck-js#shorthand versionoralxcheck--nodejs-project#long versionContributingFeel free to contribute to the project by openingissuesor submittingpull requests. Your feedback is valuable!LicenseThis project is licensed under theMIT License.
|
alxhttp
|
alxhttpSome customization of aiohttpFeatures:JSON loggingmiddleware to add a unqiue request IDmiddleware to turn uncaught exceptions into JSON 500sa simple base server class pattern to follow
|
alxpytest
|
Failed to fetch description. HTTP Status Code: 404
|
alx-test
|
Failed to fetch description. HTTP Status Code: 404
|
alx-utils
|
ALX UtilsDescriptionALX Utils is a collection of utility tools for ALX. It includes ainit-task: automate daily tasks by creating directories and files with specified names, getting prototypes of functions. for scripts setting the shebang, and permissions to executabletest-suite: set up a test-driven development environment for your project by creating a test directory and downloading test scripts, and providing a cli for controlling testssoon: betty pre-commit, devcontainer...InstallationYou can install ALX Utils usingpipby running the commandpipinstallalx-utilsUsageinit-Task Tool:alx-utils-init[HTML_FILE]test-suite Tool:alx-utils-checkershellDependenciesALX Utils requires Python >3.6 and depends on the following packages:beautifulsoup4ContributingContributions to ALX Utils are welcome and appreciated! If you would like to contribute, please follow these steps:Fork the repository on GitHub.Clone your forked repository to your local machine.Create a new branch for your changes.Make your changes and commit them to your branch.Push your changes to your forked repository on GitHub.Open a pull request from your forked repository to the original repository.Please make sure to follow the code style and guidelines of the project. Thank you for considering contributing to ALX Utils!LicenseThis package is released under the MIT License. See theLICENSEfile for more information.
|
aly
|
No description available on PyPI.
|
alyahmor
|
Alyahmor اليحمورArabic flexionnal morphology generatorDescriptionThe Alyahmor produce a word form from (prefix, lemma, suffix).
It has many functionalities:Generate word forms from given word and affixesGenerate all word forms by adding verbal or nominal affixes according to word typeGenerate all affixes combination for verbs or nouns which can be used in morphology analysis.Developpers:Taha Zerrouki:http://tahadz.comtaha dot zerrouki at gmail dot comFeaturesvalueAuthorsAuthors.mdRelease0.2LicenseGPLTrackerlinuxscout/alyahmor/IssuesAccounts@TwitterCitationIf you would cite it in academic work, can you use this citationT. Zerrouki, Alyahmor, Arabic mophological generator Library for python., https://pypi.python.org/pypi/alyahmor/, 2019or in bibtex format@misc{zerrouki2019alyahmor,title={alyahmor, Arabic mophological generator Library for python.},author={Zerrouki, Taha},url={https://pypi.python.org/pypi/alyahmor},year={2019}}ApplicationsText StemmingMorphology analysisText Classification and categorizationSpellcheckingFeatures مزاياArabic word Light Stemming.Features:Generate word forms from given word and affixesGenerate all word forms by adding verbal or nominal affixes according to word typeGenerate all affixes combination for verbs or nouns which can be used in morphology analysis.Generate Stopwords formsInstallationpip install alyahmorRequirementspip install -r requirements.txtlibQutrub: Qutrub verb conjugation library:http://pypi.pyton/LibQutrubPyArabic: Arabic language tools library :http://pypi.pyton/pyarabicArramooz-pysqlite : Arabic dictionaryأصل التسميةاليَحْمُور،وهو الحسن بن المعالي الباقلاني أبو علي النحوي الحلي شيخ العربية في زمانه في بغداد من تلامذة أبي البقاء العكبري ت ٦٣٧هـوكتب بخطه كثيراً من الأدب واللغة وسائر الفنون، وكان له همةٌ عالية، وحرصٌ شديد؛ وتحصيل الفوائد مع علو سنه، وضعف بصره، وكثرة محفوظه، وصدقه، وثقته، وتواضعه، وكرم أخلاقه.وانتقل آخر عمره إلى مذهب الشافعي،وانتهت إليه رياسة النحو.مولده سنة ثمان وستين وخمسمائة، وتوفي سنة سبع وثلاثين وستمائة.المزيد عن اليحمورUsageExampleGenerate words formsIt joins word with affixes with suitable correction
for exampleبال+كتاب +ين => بالكتابين
ب+أبناء+ه => بأبنائهNounsTo generate all forms of the word كتاب as noun use>>>importalyahmor.genelex>>>generator=alyahmor.genelex.genelex()>>>word=u"كِتِاب">>>noun_forms=generator.generate_forms(word,word_type="noun")>>>noun_forms[u'آلْكِتَاب',u'آلْكِتَابا',u'آلْكِتَابات',u'آلْكِتَابان',u'آلْكِتَابة',u'آلْكِتَابتان',u'آلْكِتَابتين',u'آلْكِتَابون',u'آلْكِتَابي',u'آلْكِتَابيات'....]VerbsTo generate all forms of the word كتاب as verb, use>>>importalyahmor.genelex>>>generator=alyahmor.genelex.genelex()>>>word=u"استعمل">>>verb_forms=generator.generate_forms(word,word_type="verb")>>>verb_forms[u'أَأَسْتَعْمِلَ',u'أَأَسْتَعْمِلَكَ',u'أَأَسْتَعْمِلَكُمَا',u'أَأَسْتَعْمِلَكُمْ',u'أَأَسْتَعْمِلَكُنَّ',u'أَأَسْتَعْمِلَنَا',u'أَأَسْتَعْمِلَنِي',u'أَأَسْتَعْمِلَنَّ',u'أَأَسْتَعْمِلَنَّكَ',u'أَأَسْتَعْمِلَنَّكُمَا',....]Stop wordsTo generate all forms of the word إلى as stopword, use>>>importalyahmor.genelex>>>generator=alyahmor.genelex.genelex()>>>word="إلى">>>stop_forms=generator.generate_forms(word,word_type="stopword")>>>stop_forms['أَإِلَى','أَإِلَييّ','أَإِلَيْكَ','أَإِلَيْكُمَا','أَإِلَيْكُمْ','أَإِلَيْكُنَّ','أَإِلَيْكِ','أَإِلَيْنَا',....]Generate non vocalized formsTo generate all forms of the word كتاب as noun without vocalization use>>>importalyahmor.genelex>>>generator=alyahmor.genelex.genelex()>>>word=u"كِتِاب">>>noun_forms=generator.generate_forms(word,word_type="noun",vocalized=False)>>>noun_forms[u'آلكتاب',u'آلكتابا',u'آلكتابات',u'آلكتابان',u'آلكتابة',u'آلكتابتان',u'آلكتابتين',u'آلكتابون',u'آلكتابي',u'آلكتابيات',....]Generate a dictionary of vocalized forms indexed by unvocalized formTo generate all forms of the word كتاب as noun as a dict of grouped all vocalized forms by unvocalized form use>>>importalyahmor.genelex>>>generator=alyahmor.genelex.genelex()>>>word=u"كِتِاب">>>noun_forms=generator.generate_forms(word,word_type="noun",indexed=True)>>>noun_forms{u'أككتابة':[u'أكَكِتَِابَةِ',u'أكَكِتَِابَةٍ'],u'أوككتابة':[u'أَوَكَكِتَِابَةِ',u'أَوَكَكِتَِابَةٍ'],u'وكتابياتهم':[u'وَكِتَِابياتهِمْ',u'وَكِتَِابِيَاتُهُمْ',u'وَكِتَِابِيَاتِهِمْ',u'وَكِتَِابِيَاتُهِمْ',u'وَكِتَِابياتهُمْ'],u'وكتابياتهن':[u'وَكِتَِابياتهِنَّ',u'وَكِتَِابياتهُنَّ',u'وَكِتَِابِيَاتِهِنَّ',u'وَكِتَِابِيَاتُهِنَّ',u'وَكِتَِابِيَاتُهُنَّ'],u'وللكتابات':[u'وَلِلْكِتَِابَاتِ',u'وَلِلْكِتَِابات'],u'أبكتابتكن':[u'أَبِكِتَِابَتِكُنَّ'],u'أبكتابتكم':[u'أَبِكِتَِابَتِكُمْ'],u'أكتابياتهن':[u'أَكِتَِابياتهِنَّ',u'أَكِتَِابِيَاتِهِنَّ',u'أَكِتَِابياتهُنَّ',u'أَكِتَِابِيَاتُهُنَّ',u'أَكِتَِابِيَاتُهِنَّ'],u'فكتاباتهم':[u'فَكِتَِاباتهِمْ',u'فَكِتَِابَاتُهُمْ',u'فَكِتَِابَاتُهِمْ',u'فَكِتَِاباتهُمْ',u'فَكِتَِابَاتِهِمْ'],u'بكتابياتكن':[u'بِكِتَِابِيَاتِكُنَّ',u'بِكِتَِابياتكُنَّ'],....}Generate detailled formsThe detailled form containsvocalized word form, example: "ِكِتَابَاتُنَا"semi-vocalized: the word without case mark (دون علامة الإعراب), example: "ِكِتَابَاتنَا"segmented form: the affix parts and the word like : procletic-prefix-word-suffix-proclitic, for example : و--كتاب-ات-ناTags : عطف:جمع مؤنث سالم:ضمير متصل>>>importalyahmor.genelex>>>generator=alyahmor.genelex.genelex()>>>word=u"كِتِاب"noun_forms=generator.generate_forms(word,word_type="noun",indexed=True,details=True)>>>noun_forms[{'vocolized':'استعمل','semi-vocalized':'استعمل','segmented':'-استعمل--','tags':'::'},{'vocolized':'استعملي','semi-vocalized':'استعملي','segmented':'-استعمل--ي','tags':':مضاف:'},{'vocolized':'استعملِي','semi-vocalized':'استعملِي','segmented':'-استعمل--ي','tags':':مضاف:'},{'vocolized':'استعملكِ','semi-vocalized':'استعملكِ','segmented':'-استعمل--ك','tags':':مضاف:'},{'vocolized':'استعملكَ','semi-vocalized':'استعملكَ','segmented':'-استعمل--ك','tags':':مضاف:'},{'vocolized':'استعملكِ','semi-vocalized':'استعملكِ','segmented':'-استعمل--ك','tags':':مضاف:'},{'vocolized':'استعملكُمُ','semi-vocalized':'استعملكُمُ','segmented':'-استعمل--كم','tags':':مضاف:'},....]Generate affixes listsAlyahmor generate affixes listes for verbs and nouns>>>verb_affix=generator.generate_affix_list(word_type="verb",vocalized=True)>>>verb_affix[u'أَفَسَت-يننِي',u'أَ-ونَا',u'ي-ونكَ',u'فَلَ-تاكَ',u'وَلََن-هُنَّ',u'أَت-وننَا',u'وَ-اكُنَّ',u'ن-ننَا',u'وَت-وهَا',u'أَي-نهُمَا',....]>>>noun_affix=generator.generate_affix_list(word_type="noun",vocalized=True)>>>noun_affix[u'أكَ-ياتكَ',u'فَ-ِيَاتِكُمَا',u'أكَ-ياتكِ',u'أَوَكَ-ِينَا',u'أَلِ-ِيِّهِنَّ',u'أَفَ-َكُمَا',u'أَفَ-ِيَّتِهِمْ',u'أَفَكَ-ياتهُمْ',u'فَبِ-ِيِّكُمْ',u'وَلِ-ِيَّتِهَا',....]Generate Unvocalized affixes>>>noun_affix=generator.generate_affix_list(word_type="noun",vocalized=False)>>>noun_affix[u'-',u'-ا',u'-ات',u'-اتك',u'-اتكم',u'-اتكما',u'-اتكن',u'-اتنا',u'-اته',u'-اتها',...]Generate word forms by affixesAlyahmor generate word forms for given affixesthe affix parameter is a list which contains four elements asprocleticprefixsuffixenclitic>>>importalyahmor.genelex>>>generator=alyahmor.genelex.genelex()>>>word=u"كِتِاب">>>generator.generate_by_affixes(word,word_type="noun",affixes=[u"بال",u"",u"ين",u""])['بِالْكِتَِابين']>>>generator.generate_by_affixes(word,word_type="noun",affixes=[u"وك",u"",u"ِ",u""])['وَكَكِتَِابِ']>>>generator.generate_by_affixes(word,word_type="noun",affixes=[u"و",u"",u"",u""])['وَكِتَِاب']Filesfile/directory category descriptiontests/samples/dataset.csv A list of verified affixesFeatured Posts
|
alyeska
|
Alyeska is a data engineering toolkit to simplify the nuts & bolts of data engineering tasks.More concretely, alyeska bridges the gap between common Python modules and common data engineering technologies. i.e. pandas, psycopg2, AWS Redshift, AWS secretsmanager, and more. Alyeska offers simple functions and/or syntactic sugar to common tasks:Safely executing many SQL statements against a database (sqlagent)Loading a pandas dataframe into a database (redpandas)Assuming an AWS IAM user with multi-factor authorization (locksmith.authmfa)Creating psycopg2 connections to Redshift (locksmith)Generate shell scripts that respect workflow dependencies (compose.compose_sh)While Alyeska mimics some functionalities, it is not a replacement for Airflow, AWS Glue, or other purpose-built data engineering technologies. That is, metaphorically, Alyeska is your parents’ toolbox. While terrific for fixing a leaky faucet, but it is no replacement for a plumber.Sample UsageAssume an AWS IAM user with multi-factor authorizationAlyeska’sauthmfacommand line utility is useful for quickly assuming an AWS IAM user with MFA.$authmfaMyAwsUserexportAWS_ACCESS_KEY_ID=ABCDEFGHIJKLMNOPQRSTUVWXYZexportAWS_SECRET_ACCESS_KEY=abcdefg1234567!@#$%^&exportAWS_SESSION_TOKEN=notarealsessiontoken///////5AVHwuGc*hYLp%$vr51*XTEHJjRD2JxavaD8wlJqi!aCZVhvp7nzt!U5elvoPZ@GlG%a9sT^HBrgKzQ8xZrpAADp65RYQzqvawF$eval`authmfaMyAwsUser`# export to environmentLearn more about how to config this utility withauthmfa-h.Load a pandas dataframe into AWS RedshiftLarge tables can be frustrating to load into Redshift. Alyeska reduces the process to a short one-line statement:>>>aly.redpandas.insert_pandas_into(cnxn,target_table,payload_df)In practice, it may function as>>>importalyeskaasaly>>>importalyeska.locksmith.redshiftasrs>>>importpandasaspd>>>cnxn=rs.connect_with_environment("my-user")>>>target_table="db.natural_numbers">>>sql=f"CREATE TABLE{target_table}(n INT NOT NULL)">>>aly.sqlagent.execute_sql(cnxn,sql)# create table>>>natural_numbers_df=pd.DataFrame({"n":range(1,1_000_001)})>>>aly.redpandas.insert_pandas_into(cnxn,target_table,natural_numbers_df)ComponentsTools are broken out into modules with niche purposes:composeis a workflow dependency management toollocksmithhelps authorize AWS sessions and Redshift connectionsloggingis another thin module that standardizes logging practicesredpandassupports less verbose pandas/redshift functionalitysqlagentsupports SQL executation and runtime configurationLicenseThis project is licensed under the Apache v2.0 License - see theLICENSEfile for details.ContributeBegin by reading ourCode of Conduct.There are some devtools required to contribute to the repo. Create a development environment and install pre-commit to run hooks on your code.$python3-mvenv.venv$source.venv/bin/activate$pipinstall-rrequirements.txt$pipinstall-rrequirements.dev.txt$pre-commitinstall$pre-commitautoupdateNamesakeThe Alyeska Pipeline Service company maintains the Alaska pipeline; a 1200 km long pipeline connecting the oil-rich, subterranean earth in Alaska to port on the north pacific ocean.
|
alyn
|
UNKNOWN
|
alyn3
|
No description available on PyPI.
|
alysis
|
Alysis, an Ethereum testerchainUnder construction.
|
alyssum
|
Alyssumthis package contains my personal helpers if you want to use below the usage examplesTitlefromalyssum.seperatorsimportTitletitle=Title(label='Default Text',length=80,color='yellow',design_char='*')title.configure(label='Default Text',length=80,color='blue',design_char='*')title.write()# writes "Default Text"title.write("any title")# writes "any title"title.configure(color=blue).write("any title")# can be usablelabel length can not be greater than (length - 2)color can be 'grey', 'red', 'green', 'yellow', 'blue', 'magenta', 'cyan' or 'white'length must be greater than 1 and smaller than 81Cleanerfromalyssum.cleanersimportCleanerCleaner.clean("Hello World!")Decoratorsfromalyssum.decoratorsimportrun_once,run_only@run_oncedefhello():print("hello")@run_only(2)defhello():print("hello")@run_once_message("It's come to end")...@run_only(3,"It's come to end"):...@run_only()...
|
alyvix
|
Visual MonitoringAlyvix is anopen source APM software toolfor visual monitoring.Build end-user botsvisually interacting with any Windows application like ERPs or your favourite browser. Run and measure business-critical workflows like a human would, but continuously.Measure end-user experiences: Alyvix records the click-to-appearance responsiveness of each transaction. Report IT service quality to support technical and business actions.Get started with AlyvixWatch Alyvix Tutorials
|
alyx-connector
|
Open Neurophysiology Environment - HaissLab flavourThe Open Neurophysiology Environment is a scheme for accessing neurophysiology data from an alyx database server, in a standardized manner. For information on how to manage file names when registering data with ONE to an alyx server, pleaseclick here. This github page contains an API for searching and loading ONE-standardized data, stored either on a user’s local machine or on a remote server. PleaseClick herefor the main documentation page.NB: The API and backend database are still under active development, for the best experience please regularly update the package by running :pip install --force-reinstall --no-deps git+https://gitlab.pasteur.fr/haisslab/data-management/ONE.git.This will force the reinstallation of the package, without the need to do apip uninstall ONE-apifirst, and without reinstalling the dependancies like numpy etc (hence faster).RequirementsONE runs on Python 3.7 or later, and is tested on the latest Ubuntu and Windows (3.7 and 3.8 only).InstallingInstalling the package via pip typically takes a few seconds. To install, activate your developpement environment :conda activate <myenvironment>Then run the One-api install using :pip install git+https://gitlab.pasteur.fr/haisslab/data-management/ONE.gitSet upFor setting up ONE for a given database e.g. our local version of Alyx at HaissLab:fromoneimportONEone=ONE(base_url='http://157.99.138.172:8080')Once you've setup the server, subsequent calls will use the same parameters:fromoneimportONEone=ONE()#uses the same parameters entered the first time and stored by default in C:\Users\<myusername>\AppData\Roaming\.one\.157.99.138.172_8080:For using ONE with a local cache directory (not recommanded for now):fromoneimportOneone=One(cache_dir='/home/user/downlaods/ONE/behavior_paper')Using ONETo search for sessions:fromoneimportONEone=ONE()print(one.search_terms())# A list of search keyword arguments# Search session with wheel timestamps from January 2021 onwardeids=one.search(date_range=['2021-01-01',],dataset='wheel.timestamps')['d3372b15-f696-4279-9be5-98f15783b5bb']# this is a list of unique ids of sessions returned. Here only one has been found with given parameters# Search for project sessions with two probeseids=one.search(data=['probe00','probe01'],project='brainwide')Further examples and tutorials can be found in the main IBL documentationdocumentation.(Not currentely supported :)To load data:fromone.apiimportONEone=ONE()# Load an ALF objecteid='a7540211-2c60-40b7-88c6-b081b2213b21'wheel=one.load_object(eid,'wheel')# Load a specific dataseteid='a7540211-2c60-40b7-88c6-b081b2213b21'ts=one.load_dataset(eid,'wheel.timestamps',collection='alf')# Download, but not load, a datasetfilename=one.load_dataset(eid,'wheel.timestamps',download_only=True)
|
alza
|
No description available on PyPI.
|
am2
|
Stuff made on the machine learning course at my universitySimple neuronInstantiating a neuron with a sigmoid transfer function:from am2 import Neuron, SigmoidTransferFunction
neuron = Neuron(SigmoidTransferFunction, weights=[0, 1, 1])
print neuron.run([3, 2, 1])Or with a staircase transfer function:from am2 import Neuron, StaircaseTransferFunction
neuron = Neuron(StaircaseTransferFunction, function=lambda y: y > 2, weights=[0, 1, 1])
print neuron.run([1, 1, 1])functionis optional (default islambda y: y >= 1)PerceptronA simplePerceptronis implemented:from am2 import Perceptron
train_dataset = [
((1, 0, 0), 1),
((1, 0, 1), 1),
((1, 1, 0), 1),
((1, 1, 1), 0),
]
perceptron = Perceptron(function=lambda y: y >= 1)
perceptron.train(train_dataset) # executa o algoritmo de treinamento
print perceptron.run((1, 0, 0))
|
am2320-driver
|
am2320-driver-pyThis is pip package for using AM2320 Digital Temperature and Humidity Sensor.
|
am2r-yams
|
Yet Another Metroid2 Shuffler (YAMS)A patcher for providing a different randomization experience to AM2R different to what the game has built-in. It was primarily designed forRandovania, but it's also usable as a standalone patcher.Usage:./YAMS-CLI [path-to-original-data-file] [path-to-output-data-file] [path-to-json-file]The API/Schema for the input json file will soon be documented.CompilationThis project uses git submodules. So before compiling, please ensure you have cloned them (either by doinggit clone --recursive https://github.com/randovania/YAMS, or if you have already cloned the repo,git submodule update --init).After that, you can use the standard dotnet compilation step:dotnet build YAMS-CLI.LicenseAll code is licensed under the GNU Public License version 3. See theLICENSE-CODEfile for full details.Art assets are licensed underCC-BY-SA 4.0. For the full list of authors and more details, please read theAttribution.mdfile located inYAMS-LIB/sprites/.
|
am3
|
am3Application Manager
|
am43
|
No description available on PyPI.
|
am43-bleak
|
Failed to fetch description. HTTP Status Code: 404
|
am4894airflowutils
|
am4894airflowutilshttps://packaging.python.org/en/latest/tutorials/packaging-projects/# build distpy-mbuild# upload to testpypipy-mtwineupload--repositorytestpypidist/*# upload to pypipy-mtwineupload--repositorypypidist/*# install dev requirementspipinstall-r.\requirements-dev.txt# run pytestpytest
|
am4894bq
|
am4894bqA helper library for some BigQuery related stuff.Installpip install am4894bqQuickstartfromam4894bq.schemaimportget_schema# get a schema for a sample tableschema=get_schema('bigquery-public-data.samples.shakespeare')schema[SchemaField('word', 'STRING', 'REQUIRED', 'A single unique word (where whitespace is the delimiter) extracted from a corpus.', ()),
SchemaField('word_count', 'INTEGER', 'REQUIRED', 'The number of times this word appears in this corpus.', ()),
SchemaField('corpus', 'STRING', 'REQUIRED', 'The work from which this word was extracted.', ()),
SchemaField('corpus_date', 'INTEGER', 'REQUIRED', 'The year in which this corpus was published.', ())]ExamplesYou can see some example notebooks in theexamples folderof the repository.
|
am4894dev
|
am4894devMy dev package for playing around with.Free software: MIT licenseDocumentation:https://am4894dev.readthedocs.io(PDF here).FeaturesSeeGoogle Colab Starter Notebookto play around.See example notebooks innotebooksfolder also.Other Stuff :)CreditsThis package was created withCookiecutterand theaudreyr/cookiecutter-pypackageproject template.History0.2.0 (2019-11-04)First release on PyPI.
|
am4894dev2
|
am4894dev2Hello WorldFree software: MIT licenseDocumentation:https://am4894dev2.readthedocs.io.FeaturesTODOCreditsThis package was created withCookiecutterand theaudreyr/cookiecutter-pypackageproject template..History0.1.0 (2019-11-03)First release on PyPI.
|
am4894ga
|
am4894gaMy helper library for Google Analytics reporting API.foo.Installpip install am4894ga
|
am4894hubspot
|
am4894hubspotHelper library for working with hubspot api.This file will become your README and also the index of your documentation.Installpip install am4894hubspot
|
am4894pd
|
am4894pdMy Pandas utilities package.Free software: MIT licenseDocumentation:https://am4894pd.readthedocs.io.FeaturesTODO!!CreditsThis package was created withCookiecutterand theaudreyr/cookiecutter-pypackageproject template.History0.1.0 (2019-11-14)First release on PyPI.
|
am4894plots
|
am4894plotsMy plotting package! I got fed up spending half a day or more each time i wanted to do some new plots or charts in python.I never really settled on any single plotting package and refuse to learn matplotlib!So instead anytime i have a new type of plot i need to do that could be useful again to me in future, i’m going to pick whatever plotting lib does it best/easiest for me, try generalise it a bit and add it as functionality into this package.This was also a good excuse for me to learn a bit about developing python packages and pushing them to pypi.Use at you own peril! Feel free to open issues and all that good stuff.Free software: MIT licenseDocumentation:https://am4894plots.readthedocs.io.Github:https://github.com/andrewm4894/am4894plotspypi:https://pypi.org/project/am4894plots/Travis CI:https://travis-ci.org/andrewm4894/am4894plotsAbout me:https://andrewm4894.com/QuickstartGoogle Colab Starter Notebookwith typical examples.examplesfolder with some more notebooks.FeaturesMeh - seeexamplesor colab notebook.TODOKeep adding tests.Animation and time based playback of a timeseries.Other things as they come up.World domination.Mindfulness (i have multiple apps but keep procrastinating).CreditsThis package was created withCookiecutterand theaudreyr/cookiecutter-pypackageproject template. Cookiecutter is awesome and theTalkPython courseon it is great.History0.1.0 (2019-11-14)First release on PyPI.
|
am4problemFinder
|
am4problemfinderThis tool helps you find issues of your flights in Airline Manager 4, by listing our information you need to improve your fleet, for example, average profit per pax and average profit per hour.This tool is intended foradvancedAM4 users. To use this tool, you will have to run the scripts locally on your machine.Note: this program only works if you have registered onairline4.net, not through Facebook or any other means.InstallationWindows 7 or above:Download a copy ofPython 3if you don't have one.Choose the option forDownload Windows x86-64 executable installer, for the latest stable release.Execute the Python Setup, check theAdd Python 3.* to PATH, then clickInstall Now.On this page, click theClone or downloadbutton, then clickDownload ZIP.Extract the files, and move the entire folder to your desired location, perhaps 'Desktop'.Within the folder, clickShift + Right Click, and select either:Open command window here(highly recommended), orOpen Powershell window here.Within the window, type:pip install -r requirements.txtpython dX.pyIt should prompt you for further instructions. To run the program again, simply:repeatstep 6and typepython dX.py, or,cdinto the folder and executepython dX.pyMac OS X:Download a copy ofPython 3if you don't have one.Choose forLatest Python 3 Release - Python 3.*.*, then double-click on thepkgfile. Installation should begin.On this page, click theClone or downloadbutton, then clickDownload ZIP.Extract the files, and move the entire folder to your desired location, perhapsDesktop.Open theTerminalapplication, then type:cdinto the directory of that folder, for example,cd Desktop/am4problemFinder/pip3 install -r requirements.txtpython3 dX.pyIt should prompt you for further instructions. To run the program again, simply:cdinto the folder as illustrated in step 6,executepython dX.pyLinux:You should know what to do. ;)Android and IOS:Currently not supported.Additional informationThe program will prompt you to enter your credentials for your AM4 account. (username and password)This program will, and never, collect and personal information and all requests are to/fromairline4.net.If you use this program often, you can override your PHPSESSID by commenting out relevant lines indX.py.This program is very likely to fail in the new cargo update, or any menu changes, as it relies heavily on HTML parsing.The developers of this project is in no way responsible for any loss in any means, as detailed in the GNU AGPL-3.0 license.
|
am4utils
|
am4utilsTools and utilities for Airline Manager 4 bot.Supports Python 3.9 - 3.11 on the following platforms:manylinux2_28 x86_64 (ubuntu 18.04+, debian 10+, fedora 30+)windows amd64macos x86_64 / amd64Database testsdownload theDuckDB command line binaries
|
am91-gaia
|
GaiaProject generator softwareAuthorsAlejandro Alonso Mayo-mail
|
ama
|
This is ‘ama’ a Python module to ask questions and receive answers to questions.Currently questions are presented to the user either in the terminal or using Tkinter.
|
amaascore
|
No description available on PyPI.
|
amaasinfra
|
No description available on PyPI.
|
amaasutils
|
No description available on PyPI.
|
amaazetools
|
AMAAZE ToolsThe AMAAZETools Python package contains Python implementations of mesh processing tools developed byAMAAZE. The examples directory contains a series of test scripts showing how to use the package.InstallationThe package is now available on the python package index, and can be installed withpip install amaazetoolsTo install the most recent developers version of the package, rungit clone https://github.com/jwcalder/AMAAZETools
cd AMAAZETools
pip install -r requirements.txt
pip install .DocumentationDetailed documentation for all of the Python code within this repository can be found athttps://jwcalder.github.io/AMAAZETools/.Contact and [email protected] any questions or comments.ContributorsSeveral people have contributed to the development of this software:David FloederRiley O'NeillBrendan Cook
|
amaboko
|
# amaboko - Amazon Book Information APIjust wrapping [Amazon Simple Product API](https://github.com/yoavaviram/python-amazon-simple-product-api)### Dependencies* Python 2.7.x* Amazon Product Advertising account (for APIAccessKey, APISecretKey)* AWS account (for AmazonAssociateTag)```$ pip install -r requirements.txt```### DescriptionChoose 2 regions for endpoints, primary and secondary. If specified book information was not found in primary region, instead of that, this module will automatically get the information from secondary region. Of course, you can't necessarily get the information you want.### Preparation for testset environment variable **APIAccessKey, APISecretKey, AssocTag**.```$ AMAZON_ACCESS_KEY = "APIAccessKey"$ AMAZON_SECRET_KEY = "APISecretKey"$ AMAZON_ASSOC_TAG = "AssocTag"```or create `test_settings.py````$ vim test_settings.py``````AMAZON_ACCESS_KEY = "APIAccessKey"AMAZON_SECRET_KEY = "APISecretKey"AMAZON_ASSOC_TAG = "AssocTag"```If you didn't do above both of the above settings, you should pass those variables when you instantiate AmazonBook class. In the case of you imported this module, you have got to pass variables to AmazonBook constructor.### UsageYou can set primary and secondary regions from `["US", "FR", "CN", "UK", "IN", "CA", "DE", "JP", "IT", "ES"]` in instantiation. (default regions are "JP" and "US")```>>> from amabako import AmazonBook, is_isbn_validate>>> a = AmazonBook(access_key, secret_key, assoc_tag)>>> isbn = "9784048816592">>> print is_isbn_validate(isbn)False>>> isbn = "9781433551666">>> print is_isbn_validate(isbn)True>>> book = a.lookup(isbn, IdType="ISBN", SearchIndex="Books")>>> print book.titleHoly Bible: English Standard Version, Value Compact Bible, Trutone Turquoise, Emblem Design>>> print book.large_image_urlhttp://ecx.images-amazon.com/images/I/412mbT1AvIL.jpg>>> print book.get_attribute('Publisher')Crossway Books>>> print book.price_and_currency('1531', 'JPY')```
|
amac
|
Algebraic MACs and keyed-verification anonymous credentials.This repo provides an implementation of the workAlgebraic MACs and keyed-verification anonymous credentials.of Chaseet al.A link to the original paper is availablehere.We also extend this scheme by providing support for threshold issuance; an implementation is availablehere.Pre-requisitesThis implementation is built on top ofpetlib, make sure to followthese instructionsto install all the pre-requisites.InstallIf you havepipinstalled, you can installamacwith the following command:$ pip install amacotherwise, you can build it manually as below:$ git clone https://github.com/asonnino/amac
$ cd amac
$ pip install -e .TestTests can be run as follows:$ pytest -v --cov=amac tests/or simply using tox:$ toxLicenseThe GPLv3 license
|
amacle-package
|
A package made by Amacle studio
|
amadeus
|
Amadeus provides a rich set of APIs for the travel industry. For more details, check out theAmadeus for Developers Portalor theSDK class reference.InstallationThis SDK requires Python 3.8+. You can install it directly with pip:pipinstallamadeusOR, add it to yourrequirements.txtfile and install using:pipinstall-rrequirements.txtGetting StartedTo make your first API call, you will need toregisterfor an Amadeus Developer Account andset up your first
application.fromamadeusimportClient,ResponseErroramadeus=Client(client_id='REPLACE_BY_YOUR_API_KEY',client_secret='REPLACE_BY_YOUR_API_SECRET')try:response=amadeus.shopping.flight_offers_search.get(originLocationCode='MAD',destinationLocationCode='ATH',departureDate='2022-11-01',adults=1)print(response.data)exceptResponseErroraserror:print(error)ExamplesYou can find all the endpoints in self-containedcode examples.InitializationThe client can be initialized directly.# Initialize using parametersamadeus=Client(client_id='REPLACE_BY_YOUR_API_KEY',client_secret='REPLACE_BY_YOUR_API_SECRET')Alternatively, it can be initialized without any parameters if the environment variablesAMADEUS_CLIENT_IDandAMADEUS_CLIENT_SECRETare present.amadeus=Client()Your credentials can be found on theAmadeus dashboard.By default, the SDK environment is set totestenvironment. To switch to a production (pay-as-you-go) environment, please switch the hostname as follows:amadeus=Client(hostname='production')DocumentationAmadeus has a large set of APIs, and our documentation is here to get you started today. Head over to ourreference documentationfor in-depth information about every SDK method, as well as its arguments and return types.Initialize the SDKFind an AirportFind a FlightGet Flight InspirationMaking API callsThis library conveniently maps every API path to a similar path.For example,GET/v2/reference-data/urls/checkin-links?airlineCode=BAwould be:amadeus.reference_data.urls.checkin_links.get(airlineCode='BA')Similarly, to select a resource by ID, you can pass in the ID to the singular path.For example,GET/v2/shopping/hotel-offers/XZYwould be:amadeus.shopping.hotel_offer('XYZ').get()You can make any arbitrary API call directly with the.getmethod as well:amadeus.get('/v2/reference-data/urls/checkin-links',airlineCode='BA')Or, withPOSTmethod:amadeus.post('/v1/shopping/flight-offers/pricing',body)ResponseEvery API call returns aResponseobject. If the API call contained a JSON response it will parse the JSON into the.resultattribute. If this data also contains adatakey, it will make that available as the.dataattribute. The raw body of the response is always available as the.bodyattribute.fromamadeusimportLocationresponse=amadeus.reference_data.locations.get(keyword='LON',subType=Location.ANY)print(response.body)#=> The raw response, as a stringprint(response.result)#=> The body parsed as JSON, if the result was parsableprint(response.data)#=> The list of locations, extracted from the JSONPaginationIf an API endpoint supports pagination, the other pages are available under the.next,.previous,.lastand.firstmethods.fromamadeusimportLocationresponse=amadeus.reference_data.locations.get(keyword='LON',subType=Location.ANY)amadeus.next(response)#=> returns a new response for the next pageIf a page is not available, the method will returnNone.Logging & DebuggingThe SDK makes it easy to add your own logger.importlogginglogger=logging.getLogger('your_logger')logger.setLevel(logging.DEBUG)amadeus=Client(client_id='REPLACE_BY_YOUR_API_KEY',client_secret='REPLACE_BY_YOUR_API_SECRET',logger=logger)Additionally, to enable more verbose logging, you can set the appropriate level on your own logger. The easiest way would be to enable debugging via a parameter during initialization, or using theAMADEUS_LOG_LEVELenvironment variable.amadeus=Client(client_id='REPLACE_BY_YOUR_API_KEY',client_secret='REPLACE_BY_YOUR_API_SECRET',log_level='debug')List of supported endpoints# Flight Inspiration Searchamadeus.shopping.flight_destinations.get(origin='MAD')# Flight Cheapest Date Searchamadeus.shopping.flight_dates.get(origin='MAD',destination='MUC')# Flight Offers Search GETamadeus.shopping.flight_offers_search.get(originLocationCode='SYD',destinationLocationCode='BKK',departureDate='2022-11-01',adults=1)# Flight Offers Search POSTamadeus.shopping.flight_offers_search.post(body)# Flight Offers Priceflights=amadeus.shopping.flight_offers_search.get(originLocationCode='SYD',destinationLocationCode='BKK',departureDate='2022-11-01',adults=1).dataamadeus.shopping.flight_offers.pricing.post(flights[0])amadeus.shopping.flight_offers.pricing.post(flights[0:2],include='credit-card-fees,other-services')# Flight Create Ordersamadeus.booking.flight_orders.post(flights[0],traveler)# Flight Order Management# The flight ID comes from the Flight Create Orders (in test environment it's temporary)# Retrieve the order based on it's IDflight_booking=amadeus.booking.flight_orders.post(body).dataamadeus.booking.flight_order(flight_booking['id']).get()# Delete the order based on it's IDamadeus.booking.flight_order(flight_booking['id']).delete()# Flight SeatMap Display GETamadeus.shopping.seatmaps.get(**{"flight-orderId":"orderid"})# Flight SeatMap Display POSTamadeus.shopping.seatmaps.post(body)# Flight Availabilities POSTamadeus.shopping.availability.flight_availabilities.post(body)# Branded Fares Upsellamadeus.shopping.flight_offers.upselling.post(body)# Flight Choice Predictionbody=amadeus.shopping.flight_offers_search.get(originLocationCode='MAD',destinationLocationCode='NYC',departureDate='2022-11-01',adults=1).resultamadeus.shopping.flight_offers.prediction.post(body)# Flight Checkin Linksamadeus.reference_data.urls.checkin_links.get(airlineCode='BA')# Airline Code Lookupamadeus.reference_data.airlines.get(airlineCodes='U2')# Airport and City Search (autocomplete)# Find all the cities and airports starting by 'LON'amadeus.reference_data.locations.get(keyword='LON',subType=Location.ANY)# Get a specific city or airport based on its idamadeus.reference_data.location('ALHR').get()# City Searchamadeus.reference_data.locations.cities.get(keyword='PAR')# Airport Nearest Relevant Airport (for London)amadeus.reference_data.locations.airports.get(longitude=0.1278,latitude=51.5074)# Flight Most Booked Destinationsamadeus.travel.analytics.air_traffic.booked.get(originCityCode='MAD',period='2017-08')# Flight Most Traveled Destinationsamadeus.travel.analytics.air_traffic.traveled.get(originCityCode='MAD',period='2017-01')# Flight Busiest Travel Periodamadeus.travel.analytics.air_traffic.busiest_period.get(cityCode='MAD',period='2017',direction='ARRIVING')# Hotel Search v3# Get list of available offers by hotel idsamadeus.shopping.hotel_offers_search.get(hotelIds='RTPAR001',adults='2')# Check conditions of a specific offeramadeus.shopping.hotel_offer_search('XXX').get()# Hotel List# Get list of hotels by hotel idamadeus.reference_data.locations.hotels.by_hotels.get(hotelIds='ADPAR001')# Get list of hotels by city codeamadeus.reference_data.locations.hotels.by_city.get(cityCode='PAR')# Get list of hotels by a geocodeamadeus.reference_data.locations.hotels.by_geocode.get(longitude=2.160873,latitude=41.397158)# Hotel Name Autocompleteamadeus.reference_data.locations.hotel.get(keyword='PARI',subType=[Hotel.HOTEL_GDS,Hotel.HOTEL_LEISURE])# Hotel Booking# The offerId comes from the hotel_offer aboveamadeus.booking.hotel_bookings.post(offerId,guests,payments)# Hotel Ratings# What travelers think about this hotel?amadeus.e_reputation.hotel_sentiments.get(hotelIds='ADNYCCTB')# Points of Interest# What are the popular places in Barcelona (based a geo location and a radius)amadeus.reference_data.locations.points_of_interest.get(latitude=41.397158,longitude=2.160873)# What are the popular places in Barcelona? (based on a square)amadeus.reference_data.locations.points_of_interest.by_square.get(north=41.397158,west=2.160873,south=41.394582,east=2.177181)# Returns a single Point of Interest from a given idamadeus.reference_data.locations.point_of_interest('9CB40CB5D0').get()# Location Scoreamadeus.location.analytics.category_rated_areas.get(latitude=41.397158,longitude=2.160873)# Safe Place# How safe is Barcelona? (based a geo location and a radius)amadeus.safety.safety_rated_locations.get(latitude=41.397158,longitude=2.160873)# How safe is Barcelona? (based on a square)amadeus.safety.safety_rated_locations.by_square.get(north=41.397158,west=2.160873,south=41.394582,east=2.177181)# What is the safety information of a location based on it's Id?amadeus.safety.safety_rated_location('Q930400801').get()# Trip Purpose Predictionamadeus.travel.predictions.trip_purpose.get(originLocationCode='ATH',destinationLocationCode='MAD',departureDate='2022-11-01',returnDate='2022-11-08')# Flight Delay Predictionamadeus.travel.predictions.flight_delay.get(originLocationCode='NCE',destinationLocationCode='IST',departureDate='2022-08-01',\departureTime='18:20:00',arrivalDate='2022-08-01',arrivalTime='22:15:00',aircraftCode='321',carrierCode='TK',flightNumber='1816',duration='PT31H10M')# Airport On-Time Performanceamadeus.airport.predictions.on_time.get(airportCode='JFK',date='2022-11-01')# Airport Routesamadeus.airport.direct_destinations.get(departureAirportCode='BLR')# Trip Parser# Encode to Base64 your booking confirmation file (.html, .eml, .pdf supported)response=amadeus.travel.trip_parser.post(amadeus.travel.from_file(path_to_file))# Alternatively you can use a Base64 encoded content directlyresponse=amadeus.travel.trip_parser.post(amadeus.travel.from_base64(base64))# Or you can call the API with the JSON directlyresponse=amadeus.travel.trip_parser.post(body)# Travel Recommendationsamadeus.reference_data.recommended_locations.get(cityCodes='PAR',travelerCountryCode='FR')# Retrieve status of a given flightamadeus.schedule.flights.get(carrierCode='AZ',flightNumber='319',scheduledDepartureDate='2022-09-13')# Tours and Activities# What are the popular activities in Madrid (based a geo location and a radius)amadeus.shopping.activities.get(latitude=40.41436995,longitude=-3.69170868)# What are the popular activities in Barcelona? (based on a square)amadeus.shopping.activities.by_square.get(north=41.397158,west=2.160873,south=41.394582,east=2.177181)# Returns a single activity from a given idamadeus.shopping.activity('4615').get()# Returns itinerary price metricsamadeus.analytics.itinerary_price_metrics.get(originIataCode='MAD',destinationIataCode='CDG',departureDate='2021-03-21')# Airline Routesamadeus.airline.destinations.get(airlineCode='BA')# Transfer Searchamadeus.shopping.transfer_offers.post(body)# Transfer Bookingamadeus.ordering.transfer_orders.post(body,offerId='1000000000')# Transfer Managementamadeus.ordering.transfer_order('ABC').transfers.cancellation.post(body,confirmNbr=123)Development & ContributingWant to contribute? Read ourContributors
Guidefor guidance on installing and
running this code in a development environment.LicenseThis library is released under theMIT License.HelpYou can find us onStackOverflowor join our developer community onDiscord.
|
amadeusgpt
|
🪄We turn natural language descriptions of behaviors into machine-executable code.We use large language models (LLMs) to bridge natural language and behavior analysis.This work is accepted toNeuRIPS2023!Read the paper,AmadeusGPT: a natural language interface for interactive animal behavioral analysisLike this project? Please consider giving us a star ⭐️!Install & Run AmadeusGPT🎻AmadeusGPT is a Python package hosted onpypi. You can create a virtual env (conda, etc, see below*) or Docker and run:pipinstall'amadeusgpt[streamlit]'Please note that you need anopenAI API key, which you can easily createhere.If you want theStreamlit Demo on your computer, you will also need demo files that are supplied in our repo (see below**), so please git clone the repo and navigate into theAmadeusGPTdirectory. Then in your conda env/terminal runpip install '.[streamlit]'. Then, to launch the Demo App execute in the terminal:makeappCitationIf you use ideas or code from this project in your work, please cite us using the following BibTeX entry. 🙏@article{ye2023amadeusGPT,
title={AmadeusGPT: a natural language interface for interactive animal behavioral analysis},
author={Shaokai Ye and Jessy Lauer and Mu Zhou and Alexander Mathis and Mackenzie Weygandt Mathis},
journal={Thirty-seventh Conference on Neural Information Processing Systems},
year={2023},
url={https://openreview.net/forum?id=9AcG3Tsyoq},arXiv preprint versionAmadeusGPT: a natural language interface for interactive animal behavioral analysisbyShaokai Ye,Jessy Lauer,Mu Zhou,Alexander Mathis&Mackenzie W. Mathis.Install tips*Make a new conda env:conda create --name amadeusGPT python=3.9then runconda activate amadeusGPTor you can also use our supplied conda if you git cloned the repo (navigate into the conda directory):conda env create -f amadesuGPT.ymlthen pip install amadeusGPT once created/launched.**Git clone this repo: so please open a terminal, we recommend to download into Documents (so typecd Documents) and rungit clone https://github.com/AdaptiveMotorControlLab/AmadeusGPT.gitThen go into the dir (cd AmadeusGPT)If you want to use SAM, you need to download the weights. Otherwise you will see the following message in the app:Cannot find SAM checkpoints. Skipping SAM. Download them and add to "static" directory: wgethttps://dl.fbaipublicfiles.com/segment_anything/sam_vit_b_01ec64.pthInstall trouble shooting:If you hit an error during installing on an M1/M2 Macbook with installing HDF5, runconda install h5pyin your conda env.If you launch the app and get an ffmpeg error,RuntimeError: No ffmpeg exe could be found. Install ffmpeg on your system, or set the IMAGEIO_FFMPEG_EXE environment variable.try runningconda install ffmpeg.If you have an M1/M2 chip and use CEBRA within AmadeusGPT, and you get this error:RuntimeError: Device type MPS is not supported for torch.Generator() apirunpip install --upgrade torch.LicenseAmadeusGPT is license under the Apache-2.0 license.🚨 Please note several key dependencies have their own licensing. Please carefully check the license information forDeepLabCut(LGPL-3.0 license),SAM(Apache-2.0 license),CEBRA(Non-Commercial), etc...News🤩 Dec 2023, code released!🔥 Our work was accepted to NeuRIPS2023🧙♀️ Open-source code coming in the fall of 2023🔮 arXiv paper and demo released July 2023🪄Contact us
|
amadeuslib
|
No description available on PyPI.
|
amaindexsnippetworkflow
|
No description available on PyPI.
|
amal
|
No description available on PyPI.
|
amalgam
|
Amalgam is a thin wrapper over various ORM solutions, intended to simplify and
unify initialization and declaration of models for various stores.The only built-in backend right now is SQLAlchemy, which means that currently
Amalgam is just a wrapper over SQLAlchemy (a bit likeElixir), providing
interface which is cleaner than default.Seedocsfor more information.
|
amalgama
|
Amalgama-pqAmalgama lyrics scrapingRequirementsPython 3.5 and upInstallationfrom PyPI$ pip install amalgamafrom git repository$ pip install git+https://github.com/andriyor/amalgama-pq.git#egg=amalgama-pqfrom source$ git clone https://github.com/andriyor/amalgama-pq.git
$ cd amalgama-pq
$ python setup.py installUsageimportrequestsimportamalgamaartist,song='Pink Floyd','Time'url=amalgama.get_url(artist,song)try:response=requests.get(url)response.raise_for_status()text=amalgama.get_first_translate_text(response.text)print(f'{text}{url}')exceptrequests.exceptions.HTTPError:print(f'{artist}-{song}not found in amalgama{url}')Expected outputTime (оригинал Pink Floyd)
Ticking away the moments that make up a dull day
You fritter and waste the hours in an off hand way
Kicking around on a piece of ground in your home town
Waiting for someone or something to show you the way
...
Время (перевод Дмитрий Попов из Новокузнецка)
Тикают секунды, наполняя скучный день,
Ты разбрасываешься по мелочам и понапрасну тратишь время,
Вертишься вокруг клочка земли родного города,
В ожидании, что кто-то или что-то укажет тебе путь.
...Development setupUsingPoetry$ poetry installrun tests$ poetry run pytestorPipenv$ pipenv install --dev -e .LicenseMIT
|
amalgamate
|
A package-based, source code amalgamater for collapsing Python packages into
a single module.The amalgamate utility enables the possibility of speeding up startup time for
Python packages at low-to-no run time cost. If this sounds too good to be true,
read on for the details!The big idea here is to glue most of the source files in a package or subpackage
together into a single module, called__amalgam__.py. Combined with some hooks
in the__init__.py, this should dramatically reduce the number of files that
are being searched for inside of the package. This is critical in larger
projects where import times are the major startup time cost.Theamalgamate.pyscript automatically creates the__amalgamate__.pyfile
for a package. This will create and solve a dependency graph of all modules in
the package. It then will go through each module and glue it into the__amalgamate__.py, removing duplicate imports as it goes.Additionally, theamalgamate.pyscript will automatically make most
non-package imports lazy. This lets developers write as many imports as they
want, without having to worry about startup times. Non-package modules
aren’t actually imported in__amalgam__.pyuntil they are used (ie an
attribute is accessed).This has some funny side effects such as,All of the modules that are amalgamated share the same globals (so be
careful about naming things),Debugging makes most things looks like code comes from__amalgam__,
unless an environment variable is set prior to import.Not all imports are able to be lazy.ImportsThe way the code amalgamater works is that other modules
that are in the same package (and amalgamated) should be imported from-imports,
without anas-clause. For example, suppose thatzis a module in the
packagepkg, that depends onxandyin the same package.zshould exclusively use imports like the following:from pkg.x import a, c, d
from pkg.y import e, f, gThese from-imports simulate all of thex,y, andzmodules having
the sameglobals().
This is because the amalgamater puts all such modules in the same globals(),
which is effectively what the from-imports do. For example,xonsh.astandxonsh.execerare both in the same package (xonsh). Thus they should use
the above from from-import syntax.Alternatively, for modules outside of the current package (or modules that are
not amalgamated) the import statement should be eitherimport pkg.xorimport pkg.x as name. This is because these are the only cases where the
amalgamater is able to automatically insert lazy imports in way that is guaranteed
to be safe. Say we are back inzand depend ondep,collections.abc,
and modules in a subpackage,pkg.sub. The following are all acceptable:import dep
import collections.abc as abc
import pkg.dep.mod0
import pkg.dep.mod1 as mod1The important thing here is to simply be consistent for such imports across all
modules in the packagepkg.WARNING:You should not use the formfrom pkg.i import jfor modules
outside of the amalgamated package. This is due to the ambiguity thatfrom pkg.x import namemay import a variable that cannot be lazily constructed
OR may import a module. The amalgamater is forced to leave such import statements
as they were written, which means that they cannot be automatically lazy or
eliminated. They are thus forced to be imported at when__amalgam__.pyis
imported/So the simple rules to follow are that:Import objects from modules in the same package directly in using from-import,Import objects from modules outside of the package via a direct import
or import-as statement.__init__.pyHooksTo make this all work, the__init__.pyfor the package needs a predefined
space foramalgamate.pyto write hooks into. In its simplest form, this
is defined by the lines:# amalgamate exclude
# amalgamate endTheamalgamate.pyscript will fill in between these two line and will over
write them as needed. The initial exclude line accepts a space-separated list
of module names in the package to exclude from amalgamation:# amalgamate exclude foo bar baz
# amalgamate endYou may also provide as many exclude lines as you want, though there should
only be one end line:# amalgamate exclude foo
# amalgamate exclude bar
# amalgamate exclude baz
# amalgamate endAlso note that all modules whose names start with a double underscore, like__init__.pyand__main__.pyare automatically excluded.Command Line InterfaceThe command line interface is a list of package names to amalgamate:$ amalgamate.py pkg pkg.sub0 pkg.sub1You may also provide the--debug=NAMEname to declare the environment
variable name for import debugging:$ amalgamate.py --debug=PKG_DEBUG pkg pkg.sub0 pkg.sub1By default, this environment variable is simply calledDEBUG. If this
environment variable exists and is set to a non-empty string, then all
amalgamated imports are skipped and the modules in the package are imported
normally. For example, suppose you have a script that imports your package
and you would like to see the module names, you could run the script with:$ env PKG_DEBUG=1 python script.pyto suppress the amalgamated imports.Setup HooksWe recommend runningamalgamate.pyevery time that setup.py is executed.
This keeps__amalgam__.pyand__init__.pyin sync with the rest of
the package. Feel free to use the following hook function in your project:def amalgamate_source():
"""Amalgamates source files."""
try:
import amalgamate
except ImportError:
print('Could not import amalgamate, skipping.', file=sys.stderr)
return
amalgamate.main(['amalgamate', '--debug=PKG_DEBUG', 'pkg'])Additionally, feel free to copy theamalgamate.pyscript to your project.
It is only a single file!Dark WizardryThis is implemented via a syntax tree transformation so developers could write
mostly normal Python without having to worry about import speed. That accounts for
the wizardry.The darkness comes from a project calledJsonCpp. JsonCpp has anamalgamate script,
that glues the whole project into a single header and single source file.
This is an amazing idea. The kicker is that JsonCpp’s amalgamate is written in
Python :)
|
amalgam-lang
|
Amalgam™Amalgam™ is a domain specific language (DSL) developed primarily forgenetic programmingandinstance based machine learning, but also for simulation, agent based modeling, data storage and retrieval, the mathematics of probability theory and information theory, and game content and AI. The language format is somewhat LISP-like in that it uses parenthesized list format with prefix notation and is geared toward functional programming, where there is a one-to-one mapping between the code and the corresponding parse tree. TheHowso Engineis an example of a program written in Amalgam.ResourcesAmalgamGeneral OverviewCoding inAmalgamcan be done natively as demonstrated in theAmalgam User Guideor through this Amalgam™ Python wrapper. The Python wrapper handles the binaries for the user so the user just needs to worry about the code.Supported PlatformsCompatible with Python versions: 3.8, 3.9, 3.10, and 3.11Operating SystemsOSx86_64arm64WindowsYesNoLinuxYesYesMacOSYesYesInstallTo install the current release:pipinstallamalgam-langUsageThis wrapper allows the user to write and execute Amalgam™ code in Python, just like any other Python program. Once the wrapper is imported, the code handles like native Python code as shown below:fromamalgam.apiimportAmalgamimportjsonamlg=Amalgam()# Load entity .amlg or .caml fileamlg.load_entity("handle_name","/path/to/file.amlg")# Execute a label in the loaded entity, passing parameters as JSONresponse=amlg.execute_entity_json("handle_name","label_name",json.dumps({"abc":123}))result=json.loads(response)The wrapper handles the Amalgam language binary (so/dll/dylib) automatically for the user, however the default binary can be overridden using thelibrary_pathparameter.amlg=Amalgam(library_path="/path/to/amalgam-mt.so")LicenseLicenseContributingContributing
|
amalgam-lisp
|
LISP-like interpreted language implemented in Python.Installation & Basic UsageThis package can be installed through PyPI:$pipinstallamalgam-lispThis makes theamalgamcommand-line script available.$amalgam# To invoke the REPL$amalgamhello.am# To load and run a file$amalgam--expr="(+ 42 42)"# To evaluate an expressionDevelopment SetupInstall the following dependencies:Python 3.7 & 3.8PoetryClone and then navigate to the repository:$gitclonehttps://github.com/PureFunctor/amalgam-lisp.git
$cdamalgam-lispInstall the dependencies for the project:$poetryinstall
$poetryrunpre-commitinstallRunning Tests / Coverage Reports / Building Documentationnoxis used for the automation of the execution of tests, which generates, combines, and reports coverage data for Python 3.7 and 3.8, as well as building documentation for the project.$poetryrunnoxAlternatively, tests, coverage reports, and the documentation can be generated manually.$poetryruncoveragerun-mpytest
$poetryruncoveragecombine
$poetryruncoveragereport-m
$poetryruncoveragehtml
$poetryrunsphinx-builddocsdocs/build
|
amaliatest
|
UNKNOWN
|
amalitech-subsys-june
|
No description available on PyPI.
|
am-am-am-distributions
|
No description available on PyPI.
|
amamiyass
|
No description available on PyPI.
|
amanda
|
amanda is a tool to strip your java source code to make it naked.
This tool is useful to hide solutions in programming exercises.A file with input:public int computeSum(int a, int b) {
// STUDENT return 0; // TODO
// BEGIN STRIP
return a + b; // the solution to hide
// END STRIP
}Gives as output:public int computeSum(int a, int b) {
return 0; // TODO
}
|
amanda-rerp-ols
|
amandas_rerp_olsAn extension ofmne.stats.linear_regression
|
amane
|
IntroductionAmane is an instant mailing list manager. Its basic idea has come from
QuickML (https://github.com/masui/QuickML) but it’s not the same.
QuickML is a common easy-to-use mailing list manager, but Amane has
been developed to manage requests by email. So Amane is a kind of
ticket management system like Redmine.Difference between QuickML and AmaneMail destination to create a new mailing listQuickML: the first mail account will be used for further posts.Amane: it has a specific mail account to create the new one.
When a mail received, a new mail account will be created and used.On Amane, you can define staff members to register new mailing
lists automatically. They can’t be removed via member-removing
mails.Amane supports multi-tenancy. Each tenant has a mail account to
create mailing lists, subject prefix, staff members, various message
templates.On Amane, each post will have a system message as an attachment. It
can contain basic mailing-list usage and a list of members.Difference between Redmine and AmaneRedmine is web-based, but Amane is mail-based.Redmine users can customize ticket status, but Amane users cannot.Redmine users can define importance of tickets, but Amane users
cannot.Redmine users can define ticket workflows, but Amane users cannot.How to use AmaneCreating a new ticketSend a mail to the specific mail address ([email protected]*1)
to create new one. Amane will create a new mailing list with its own
mail address ([email protected]) and forward the initial
mail to members including addresses at To:, Cc: and From: except *1.Making a new postSend a mail to the mailing list address ([email protected]).Register new membersSend a mail with new addresses as Cc: to the mailing list address.Unregister membersSend a mail with empty Subject: and addresses to be removed as Cc:
to the mailing list address.Closing the ticketSend a mail with “Subject: close” to the mailing list address.How to install AmaneRun commands below:# yum install mongodb-server
# pip install amaneHow to configure AmaneAmane has 2 confiugration files.Amane confiugration file (/etc/amane/amane.conf)A YAML file like below:db_name: amane
db_url: mongodb://localhost/
relay_host: localhost
relay_port: 25
listen_address: 192.168.0.1
listen_port: 25
log_file: /var/log/amane.log
domain: example.comdb_url, db_name … URI and DB name of MongoDBrelay_host, relay_port … IP address and port number of the
external SMTP server (relay host) for sending postslisten_address, listen_port …IP address and port number that
amane_smptd will listenlog_file … Path to a log file used by Amane commandsdomain … Domain name of the mail addresses amane_smtpd will
handleTenant confiugration fileA YAML file like below:admins:
- [email protected]
- [email protected]
charset: iso-2022-jp
ml_name_format: ml-%06d
new_ml_account: ask
days_to_close: 7
days_to_orphan: 7
readme_msg: |
Please send posts to {{ ml_address }}.
To register new members: send a post with their mail addresses as Cc:
To unregister members: send a post with their mail addresses as Cc: and empty Subject:
To close a mailing list: send a post with "Subject: close"
Current members (except staffs):
{{ members | join('\r\n') }}
welcome_msg: |
{{ mailfrom }} has created a new ticket. Please send further posts to {{ ml_address }}.
To register new members: send a post with their mail addresses as Cc:
To unregister members: send a post with their mail addresses as Cc: and empty Subject:
To close a mailing list: send a post with "Subject: close"
Current members (except staffs):
{{ members | join('\r\n') }}
add_msg: |
{{ mailfrom }} has registered members below:
{{ cc | join('\r\n') }}
To register new members: send a post with their mail addresses as Cc:
To unregister members: send a post with their mail addresses as Cc: and empty Subject:
To close a mailing list: send a post with "Subject: close"
Current members (except staffs):
{{ members | join('\r\n') }}
remove_msg: |
{{ mailfrom }} has unregistered members below:
{{ cc | join('\r\n') }}
Current members and staffs only can register them again.
To register new members: send a post with their mail addresses as Cc:
To unregister members: send a post with their mail addresses as Cc: and empty Subject:
To close a mailing list: send a post with "Subject: close"
Current members (except staffs):
{{ members | join('\r\n') }}
goodbye_msg: |
{{ mailfrom }} has closed this ticket. Please send a post {{ new_ml_address }} for a new ticket.
Current members (except staffs):
{{ members | join('\r\n') }}
reopen_msg: |
{{ mailfrom }} has reopened this ticket.
To register new members: send a post with their mail addresses as Cc:
To unregister members: send a post with their mail addresses as Cc: and empty Subject:
To close a mailing list: send a post with "Subject: close"
Current members (except staffs):
{{ members | join('\r\n') }}
report_subject: Daily status report
report_msg: |
Today's status:
New Tickets
===========
{% for m in new -%}
- ml_name: {{ m.ml_name }} subject: {{ m.subject }}
created: {{ m.created }} updated: {{ m.updated }} by: {{ m.by }}
{% endfor %}
Open Tickets
============
{% for m in open -%}
- ml_name: {{ m.ml_name }} subject: {{ m.subject }}
created: {{ m.created }} updated: {{ m.updated }} by: {{ m.by }}
{% endfor %}
Orphaned Tickets
================
{% for m in orphaned -%}
- ml_name: {{ m.ml_name }} subject: {{ m.subject }}
created: {{ m.created }} updated: {{ m.updated }} by: {{ m.by }}
{% endfor %}
Recently Closed Tickets
=======================
{% for m in closed -%}
- ml_name: {{ m.ml_name }} subject: {{ m.subject }}
created: {{ m.created }} updated: {{ m.updated }} by: {{ m.by }}
{% endfor %}
orphaned_subject: This ticket will be closed soon
orphaned_msg: |
This message was sent automatically.
This ticket will be closed 7 days later if no post is sent.
closed_subject: This ticket was closed
closed_msg: |
This message was sent automatically.
This ticket was closed because it was inactive in the past week.
Please send a post to {{ new_ml_address }} for a new ticket.admins … List of staff’s mail addressescharset … Default character set of the message body. For example:
us-asciiml_name_format … Format of newly created mailing list account. For
example, “ml-%06d” will cause a mail address like
“ml-000001@<domain>”.new_ml_account … A mail account for creating new mailing listsdays_to_orphan … Days from the last post that the system will
change the status of open ticket as “orphaned”days_to_close … Days that the system will close “orphaned” ticketswelcome_msg … Template of the attached text file for the new
ticketsreadme_msg … Template of the attached text file for the usual
postsremove_msg … Template of the attached text file for the posts
removing membersreopen_msg … Template of the attached text file for the reopened
ticketsgoodbye_msg … Template of the attached text file for the posts
closing ticketsreport_subject, report_msg … Subject and message template of daily
status reports for staffsorphaned_subject, orphaned_msg … Subject and message template of
notification mails on making tickets orphaned automaticallyclosed_subject, closed_msg … Subject and message template of
notification mails on making tickets closed automaticallyYou can register a new tenant to the DB like below:# amanectl tenant create <tenant_name> --yamlfile <tenant_configuration_file>To modify tenant configurationUsing a modified tenant configuration file:# amanectl tenant update <tenant_name> --yamlfile <tenant_configuration_file>Using command line options:# amanectl tenant update <tenant_name> <option> <new-value> [<option> <new-value> ...]How to start the serviceRun amane_smtpd like below:# amane_smtpd &
|
amang-poetry-demo
|
No description available on PyPI.
|
amani
|
# amani#AboutAmani is a way to patch configuration files.#Installpip install amani#Usageconstants.pyclass A:a = 1b = []c = [1, 3, 5]DATABASES = {'default': {'ENGINE': 'django.db.backends.mysql','NAME': 'maps','USER': 'root','PASSWORD': '','HOST': '','PORT': '3306',}}try:import amanig = globals()amani.patch(__file__, g)except:passpatch_constants.pyPATCHES = [["A", "a", 2],["A", "b", ["test"]],["A", "c", 1, 2**32],["DATABASES", "default", "USER", "username"],["DATABASES", "default", "PASSWORD", "pass-WORD"]]
|
amanibhavam
|
No description available on PyPI.
|
amanita
|
Create python customizable projects.UsageIngredientsInstallationpipinstallamanitaRequirementsCompatibilityLicenseMIT. See theLICENSEfile for more details.Authorsamanitawas written byconstrict0r.Enjoy!!
|
amankd777-mongo-connect
|
# mongodbconnect
|
amano
|
No description available on PyPI.
|
amanobot
|
AmanobotPython framework for Telegram Bot API forked from TelepotMigrating from Telepot »Introduction »Reference »Examples »Changelog »
|
amanogawa
|
To appear
|
amans
|
No description available on PyPI.
|
amansrivastav-test
|
Failed to fetch description. HTTP Status Code: 404
|
amans-test
|
Failed to fetch description. HTTP Status Code: 404
|
amantadine
|
AmantadineAmantadineis a framework for rendering HTML on the serverIt is not ready for production.IntroduceThe heavy HTML, CSS and JS files are rendered into independent HTML files, and asynchronous data collection through network requests is supported, and functions are defined as parameters. Only render CSS tags used in HTML to reduce volumeInstall$pipinstall-UamantadineUsageimportamantadinepages=amantadine.Pages(body=[amantadine.Record("h1",[amantadine.OnlyText("Amantadine")])],head=[amantadine.Record("meta",attrs={"charset":"UTF-8"}),amantadine.Record("title",[amantadine.OnlyText("Amantadine")]),],)print(amantadine.renderDoc(pages))After rendering:<!DOCTYPE html><htmllang="en"><head><metaclass=''charset=UTF-8></meta><titleclass=''>Amantadine</title></head><body><h1class=''>Amantadine</h1></body></html>BuildNot only that, you can also render large web projects. This reduces the redundancies of the top and bottom columns, which you can learn from the examples in the/examplefolder in the directory$pythonmain.py
🎍BuildProduction.AllChunk:
docs/index.html50722BLicenseMIT LICENSE
|
amanuense
|
# amanuense
Parser do Diário Oficial da União (D.O.U)#Tutorialfrom amanuense import Diariopdf = ‘/home/rafael/Área de Trabalho/cartesiano/tests/data/DOUS3.pdf’
diario = Diario(pdf)diario.page_count# Sumário do D.O.U conforme apresentado na primeira página do documento
diario.summary# Retorna o conteúdo publicado por um determinado órgão do Governo
diario.section_contents(‘Presidência da República’).splitlines()
|
amanwa3
|
No description available on PyPI.
|
amanwa31
|
LONG_DESCRIPTION
|
amanwa32
|
LONG_DESCRIPTION
|
amanzi.orca
|
# Introduction
[](https://dev.azure.com/org-ehs/orca/_build/latest?definitionId=18&branchName=master)Orca is a workflow management solution similar in nature to [Airflow]() and [Luigi](),
but specifically for microservices and is built with data streaming in mind. It attempts to provide
a sensible way to define a workflow in yaml.Read the full docs [here](https://koduisgreat.github.io/orca/)
# Contributing
Review the following for contributing to this repository.## Prerequisites
1. pipenv: ` pip install pipenv`## Quickstartclone the repo ‘git clonehttps://github.com/KoduIsGreat/orca.git’install python dependenciespipenv install## Development Setup`bash pipenv run flake8--install-hookgit `or if you have flake8 installed`bash flake8--install-hookgit `Set the linter to strict in git config`bash git config--boolflake8.strict true `Run tests`bash pipenv run pytest tests `build package`bash python setup.py install python setup.py sdist `install package locally`bash pip installdist/orca-<version>.tar.gz`
|
amap
|
amap-pythonAutomated mouse atlas propagationAboutamap is python software for registration of brain templates to sample whole-brain
microscopy datasets, and subsequent atlas-based segmentation byAdam Tyson,Charly Rousseau&Christian Niedworokfrom theMargrie Lab at the Sainsbury Wellcome Centre.This is a Python port ofaMAP(originally
written in Java), which has beenvalidated against human segmentation.The actual registration is carried out byNiftyReg.Documentation can be foundhere.DetailsThe aim of amap is to register the template brain
(e.g. from theAllen Reference Atlas)
to the sample image. Once this is complete, any other image in the template
space can be aligned with the sample (such as region annotations, for
segmentation of the sample image). The template to sample transformation
can also be inverted, allowing sample images to be aligned in a common
coordinate space.To do this, the template and sample images are filtered, and then registered in
a three step process (reorientation, affine registration, and freeform
registration.) The resulting transform from template to standard space is then
applied to the atlas.Full details of the process are in theoriginal paper.Overview of the registration processInstallationpipinstallamapUsageamap was designed with generality in mind, but is currently used for a single application. If anyone has different uses
(e.g. requires a different atlas, or the data is in a different format), please get in touch
byemailor byraising an issue.Basic usageamap/path/to/raw/data/path/to/output/directory-x2-y2-z5ArgumentsMandatoryPath to the directory of the images.
Can also be a text file pointing to the files.Output directory for all intermediate and final
resultsEither-xor--x-pixel-umPixel spacing of the data in the first dimension,
specified in um.-yor--y-pixel-umPixel spacing of the data in the second dimension,
specified in um.-zor--z-pixel-umPixel spacing of the data in the third dimension,
specified in um.Or--metadataMetadata file containing pixel sizes (any format supported
bymicrometacan be used).
If both pixel sizes and metadata are provided, the command line arguments
will take priority.Additional options-dor--downsamplePaths to N additional channels to downsample to the
same coordinate space.Full command-line arguments are available withamap -h, but pleaseget in touchif you have any questions.Citing amap.If you find amap useful, and use it in your research, please cite theoriginal Nature Communications paperalong with this repository:Adam L. Tyson, Charly V. Rousseau, Christian J. Niedworok and Troy W. Margrie (2019). amap: automatic atlas propagation.doi:10.5281/zenodo.3582162Visualisationamap can use thecellfinder visualisation function(built usingnapari).Usagecellfinder_view
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.