Saravanan666/pypi-org huggingface dataset:
Package: divesoft-parser
Divesoft Log ParserPython parser for Divesoft Freedom (DLF) log files.Example usagefromdivesoft_parserimportDLFDecoderdive=DLFDecoder.from_file('00000001.DLF')print(dive.serial)Support NotesThe majority of testing has been done against open circuit dive logs from a 3.0 computer,
little support exists for CCR specific data e.g. setpoints, cell calibration etc.Implementation referenceshttps://github.com/subsurface/libdchttps://wetnotes.com/Wetnotes Desktop
Package: divewidgets
DIVE WidgetsJupyter Widgets for DIVE virtual learning environment. The project aims to integrate interactive learning tools into jupyter notebook. E.g.,JSXGraphfor interactive demonstration of Mathematics,mermaidandflowchartfor drawing diagrams with domain-specific languages, andOPTLitefor serverless visualization of python program execution.Example notebooks can be found under theexamplesfolder.InstallationYou can install usingpip:pipinstalldivewidgetsorconda:condainstall-cdivedivewidgetsormamba:mambainstall-cdivedivewidgetsIf you are using Jupyter Notebook 5.2 or earlier, you may also need to enable
the nbextension:jupyternbextensionenable--py[--sys-prefix|--user|--system]divewidgetsDevelopment InstallationCreate a dev environment:condacreate-ndivewidgets-dev-cconda-forgenodejspythonjupyterlab
condaactivatedivewidgets-devInstall the python. This will also build the TS package.pipinstall-e".[test, examples]"When developing the extensions, you need to manually enable your extensions with the
notebook / lab frontend. For lab, this is done by the command:jupyter labextension develop --overwrite .
jlpm run buildFor classic notebook, you need to run:jupyter nbextension install --sys-prefix --symlink --overwrite --py divewidgets
jupyter nbextension enable --sys-prefix --py divewidgetsNote that the--symlinkflag doesn't work on Windows, so you will here have to run
theinstallcommand every time that you rebuild your extension. For certain installations
you might also need another flag instead of--sys-prefix.How to see your changesTypescript:If you use JupyterLab to develop then you can watch the source directory and run JupyterLab at the same time in different
terminals to watch for changes in the extension's source and automatically rebuild the widget.# Watch the source directory in one terminal, automatically rebuilding when neededjlpmrunwatch# Run JupyterLab in another terminaljupyterlabAfter a change wait for the build to finish and then refresh your browser and the changes should take effect.Python:If you make a change to the python code then you will need to restart the notebook kernel to have it take effect.
Package: divfusion
divfusiondivfusiontakes multiple HTML elements and generates a stand-alone HTML-Report while managing styling and layout.
In practise, these elements ('divs') would originate from other Python modules, especially those that generate plots
and provide a html export (e.g.plotly).If used with plotly, this closes between a single-figure plotly export and a full-fledged plotly-dash server, which
needs to be hosted somewhere. Using this Library, all interactivity of plotly is preserved (hovering, zooming, buttons,
dropdowns, etc.). In addition to that, you can add html-exports of your pd.DataFrames, images or any other HTML content.divfusionbrings all of this together and manges the layout and style of the report for you (bring your own css is
possible in a future version).The resulting html file is completely self-contained and can be opened in any browser on any device.InstallationYou can installdivfusionvia pip:pipinstalldivfusionUsageTo usedivfusion.Report, you must first import the class:fromdivfusionimportReportNext, create a new instance ofReportby passing the following parameters:title- The title of the report (string)div_like- A list of div_like elements. Can bestringsplotly figurespandas dataframespandas seriesAll nested combinations of the above (first dimension is columns, second dimension is rows)css_files(optional) - The CSS files to include (list)js_files(optional) - The JS files to include (list)js_libs(optional) - A list of JS libraries to include (list)report=Report(title="My Report",div_like=[[px.scatter(x=[1,2,3],y=[1,2,3]),"<div>some text</div>"],["<div>Some Info Text</div>","<div>HTML Table</div>"],[pd.DataFrame([[1,2,3],[4,5,6]]),pd.Series([1,2,3])]])The Elements will be placed as the nested list of divs suggests: Columns horizontally, Rows vertically.
Optionally you can add custom css files, js files or js script tags.To generate the HTML report, call thewritemethod and pass the file path where you want to save the report:report.write("path/to/report.html")DependenciesCurrentlydivfusionrequires pandas>=1.4.0 and plotly>=5.0.0. Python >= 3.10 is required.Future WorkAdd support for custom cssProvide easy-to-use wrapper functions for adding plotly-figures, pandas-dataframes, etc.ContributionI welcome any and all contributions, no matter what size. Please feel free to open an issue or pull request against dev.LicenseApache License 2.0
Package: divia-api
« API » Divia — PythonCe module servant  d’« API » vous permet d’accéder aux horaires des prochains bus et tram du réseau dijonnaisDivia, en temps réel, grâce au serviceTOTEM, ainsi qu’aux disponilités en temps réels des vélos et emplacements sur les stationsDiviaVélodi, et ce directement depuis un script Python !La partie « bus et tram » de cette bibliothèque est très largement inspirée (aussi bien sur le principe que dans la logique et les techniques utilisées) dedivia-apipar@gauthier-th(en JavaScript).DémoUne démo de l’API est disponible en cliquant ici :Démo(est c’est aussiopen-source!)InstallationCette bibliothèque est disponible pour Python 3.6 et versions postérieures.DepuisPyPI, avecpip:$  pip install divia-apiManuellement, dans un dossier où vous avez décompresséla dernière versiondu module :$  python setup.py installExemple d’utilisation de l’API bus et tramfromdivia_apiimportDiviaAPIapi=DiviaAPI()line=api.find_line("T2",'R')# Récupération de la ligne 2 du tram, dans la direction « R » (« A » étant la valeur par défaut).line=api.get_line("185")# Récupération de la ligne par son identifiant unique (ici le 185, qui correspond à la ligne 2 du tram, dans la direction « R ».stop=line.find_stop("Darcy")# Récupération de l’arrêt « Darcy » pour cette ligne.stop=line.get_stop("1494")# Récupération de l’arrêt « Darcy » pour cette ligne, à partir de son identifiant unique.stop=api.find_stop("T2","Darcy",'R')# Les étapes précédentes (récupération de la ligne et de l’arrêt) peuvent également être combinées.totem_result=stop.totem()# Interrogation du service TOTEM et récupération des prochains horaires. C’est une liste d’objets « datetime.datetime » qui est retournée par la fonction.print(totem_result)# Affichage du résultat.Exemple de l’utilisation de l’API Vélodifromdivia_apiimportVelodiAPIvelodi_api=VelodiAPI()station=velodi_api.find_station("Lycée Carnot")# Récupération de la station DiviaVélodi « Lycée Carnot ».station=velodi_api.get_station("34")# Récupération d’une station par son identifiant. Ici, l’identifiant « 34 » correspond à la station « Lycée Carnot ».realtime=station.check()# Requête de données à jour sur la disponibilité des vélos et des emplacements dans cette station.print(realtime.bikes,"  ",realtime.docks)# Affichage du résultat (nombre de vélos disponibles et nombre de places disponibles sur la station).realtime_all_stations=velodi_api.check_multiple_stations(velodi_api.stations)# Requête de données à jour sur l’intégralité des stations du réseau.forstationinrealtime_all_stations:print(f"Station{station.station.code}:{station}")# Affichage, pour chaque station du réseau, du numéro de la station et du résultat.__________Diviaest une marque déposée deKeolis Dijon Multimodalité. Nous ne sommes en aucun cas affiliés àKeolisou à ses filiales et succursales.Cette bibliothèque est ditribuée sous laLicence publique générale GNU amoindrie, version 3.© 2023, Firmin Launay (hey@firminlaunay.me)
Package: divide
Divide ?Divide is a special browser that can display many pages at the same
time, splitting screen horizontally or vertically. It was created for
needs of Smartjog’s IT NOC.Features:Use webkit to display pagesCan split horizontally or verticallyAutomatic reload of pages (delay settable by page)Horizontal or vertical auto-scrolling (with time and move
configuration)Height and width of each screen-part can be configuredFullscreen modeCan display a title on screenJSON configurationReleased under WTFPL licenseHow to use:Install it witheasy_installor uncompress tarball and execute:python2.6 setup.py installYou will needpython2.6,pygtk, andpython-webkitto use it, install
them with your package manager.Create a configuration file in json format, you can inspire of this
example:{
        "title": "Title",
        "view": {
                "split": "horizontally",
                "sub": [
                                {
                                        "type": "page",
                                        "url": "http://google.fr",
                                        "auto_refresh": 5,
                                        "auto_scroll": {
                                                "y": {
                                                        "increment": 10,
                                                        "milli": 250,
                                                        "pause": 5,
                                                        "return": true
                                                }
                                        }
                                },
                                {
                                        "type": "view",
                                        "heigh": 200,
                                        "sub": {
                                                {
                                                        "type": "page",
                                                        "url": "http://google.fr",
                                                },
                                                {
                                                        "type": "page",
                                                        "url": "http://google.fr",
                                                }
                                        }
                                },
                ]
        }
}Run it with:divide config.jsonChangelog2:Added return option on auto_scroll section, used to scroll in backwards when
end of page is reached. Correct value is boolean (true or false).Added pause option on auto_scroll section, used to make a pause when end (or
start) of page is reached. Correct value is integer, corresponding to the
number of “milli” value to wait (eg: milli is set to 2, pause is set to 1000,
auto_scroll will wait 2*1000 millisecond).Changed application title (from old name).To note: Divide has been used for more than a one month at Smartjog without
any problem, consequently, it developpement status is now “Stable”.1:Initial release
Package: divide-char-type
概要文字列をひらがな、片仮名、漢字、数字、アルファベットごとに分割するツールです。
英日両文に適用可能ですが、ピリオドを含む一部の用語は適切に分割できない場合があります。
詳しくは、実行サンプルをご確認ください。セットアップpip install divide-char-typeアンインストールpip uninstall divide-char-type使い方from divide_char_type import divide_char_type

data = divide_char_type("今日の天気は晴れです。")

print(data[0])戻り値配列型第0要素：字種分割した全体のリスト第1要素：字種分割した全体の字種タイプリスト第2要素：字種分割したひらがなのリスト第3要素：字種分割したカタカナのリスト第4要素：字種分割した漢字のリスト第5要素：字種分割したアルファベットのリスト第6要素：字種分割した数字のリスト第7要素：字種分割したその他記号などのリスト字種タイプリスト０：平仮名１：カタカナ２：漢字３：アルファベット４：数字５：その他記号など実行サンプル['1.0', ' ', 'is', ' ', 'number', '.']
['1', ',', '000', ' ', 'is', ' ', 'number', '.']
['u.s.a.', ' ', 'is', ' ', 'state', '.']
['u.k', '.', ' ', 'is', ' ', 'state', '.']
['e.g.', ',', ' ', 'th', ',', ' ', 'ch', ',', ' ', 'sh', ',', ' ', 'ph', ',', ' ', 'gh', ',', ' ', 'ng', ',', ' ', 'qu']
['state', ' ', 'include', ' ', 'u.s.', ' ', 'u.s.', ' ', 'is', ' ', 'state', '.']
['state', ' ', 'include', ' ', 'u.k', '.', ' ', 'u.k', '.', ' ', 'is', ' ', 'state', '.']
['u.s.', 'は', '国', 'です', '。']
['u.s', '.', 'は', '国', 'です', '。']
['あいうえおーかきくけこ']
['アイウエオーカキクケコ']
['今日', 'の', '天気', 'は', '晴', 'れです', '。\n', '明日', 'の', '天気', 'は', '曇', 'りです', '。\n']
['&&&', '1.0', '&&&']実行速度論文赤木信也：字種分割ツールの開発と公開,情報処理学会第85回全国大会講演論文集 2023 (1), 29-30, 2023-02-16https://cir.nii.ac.jp/crid/1050579753470466176ライセンスdivide_char_typePython Software Foundation LicenseCopyright (C) 2023-2024 Shinya Akagi
Package: dividend
dividendThe Unofficial API for dividend.comInstallationThis package has been uploaded toPypi, to install the latest package:pip install dividendUsing the Screenerfrom dividend.screener import Screener

filters = { "f_7_min": 100. "f_7_max": 500 } #Share price between $100 and $500

equities = Screener(filters=filters)

equities.data
[{'ticker': 'YMZBY', 'company_name': 'Yamazaki Baking Co Ltd - ADR', 'payout_ratio': '0.00%', 'payout_frequency': 'N/A', 'consecutive_years_of_growth': '0'}...]

equities.total_records
136Screener TablesThere are 3 table views to choose from;'overview', 'attributes' & 'dividend-growth'You can change table view when initialzingScreener(table='overview')The default is set to'overview'Screener FiltersYou can pass in an arbitrary amount of valid filters.Each filter has a correspondng key name. To find the corresponding key, you will need to parse the screener web page url params.The filter params follows a alphanumeric convention. For instance, if you wish to filter by sector which are in Basic Materials, the filter params will look as follows:f_1=Basic%20MaterialsThe  filer object:filters = { "f_1": ["Basic Materials"] }Filters with checkboxes are passed as a collection of array strings. Filters with ranges are passed with a min and max values and can also accept boolean values.Current limit is 4000 records to minimze large requests. If you wish to receive more than the limit, create issue ticket.
Package: dividere
Dīvidere, latin for "to divide, to seperate" seemed an appropriate package name for a distributed system framework project.The primary goal of dīvidere is to combine three complementary technologies (Python, ZeroMQ, Protobuf) into a distributed system messaging framework.  ZeroMQ will provide a variety of transport mechanisms, Protobuf providing a language-independent, strongly-typed message encoding and Python the means to combine these components into a reusable framework.
Package: divide-seq
join_and_split.pyHelper for join and split fastq files.Required python 3.6 or above.Usage# Linux
## split
python3 join_and_split.py split -m fastq_file
## join
python3 join_and_split.py join -f forward.fastq -r reverse.fastq
# Windows
## split
python join_and_split.py split -m fastq_file
## join
python join_and_split.py join -f forward.fastq -r reverse.fastqUse -t to set linker text, by default the program use "JOINTEXT".When split, "fastq_file" could be multiple files, use "*.fastq" (include
quotation mark) to represent all ".fastq" files in current folder.divide.pyDivide NGS data by barcode and primer.PrerequisitePython 3.5 or aboveBiopythonregexvsearch(Optional)To install Biopython and regex, run as administrator:pip install biopython regexChangelogv4.6Support ambiguous base.v4.5Extend vsearch options.
Improve outputv4.2Integrate vsearch.v4.0Use regex instead of BLAST. Faster and easier.v3.3Parallel version, use BLAST.v2.1Single core version. Use BLAST.v1.0Deprecated.Sequence structureIt can handle merged pair-end sequence like this:barcode-adapter-primer-sequence-primer-adapter-barcodeOr just handle one direction:barcode-adapter-primer-sequenceSequences will be divided by barcode according to given barcode file.
If barcode is wrong even only one base, it will be dropped.adapterSome one adds sequence between barcode and primer, if you do not have it, just
set adapter length to zero by "--adapter 0". The default value is 14.Barcode modeUse "-m" to set barcode mode, like "8*1", means barcode with length 5 repeats
only 1 times. The default is "5*2", i.e., 5-base barcode repeats twice.Note that the forward and reverse barcode may be different sequence, but theySHOULD FOLLOW THE SAME MODE!Strict optionUse "-s" or "--strict" to use strict version. If set, the program will check
barcode in head and tail is equal or not and whether barcode in tail (3') is
correct. If not, it will only check barcode in head (5') of sequence.Barcode fileBarcode file looks like this:sample,barcode-f,barcode-rS0001,ATACG,ATACGS0002,ATATA,TATACS0003,ATACG...Thebarcode-fmeans barcode in 5' direction andbarcode-rmeans barcode in
3' direction. All sequences should beforward.If forward and reverse barcode are same, you can omit the reverse barcode in
the table.To avoid potential error,please do not use space in sample info.And notice that here it useEnglish commato seperate two  fields rather
thanChinese comma.Primer filePrimer file looks like this:gene,forward,reverserbcL,ATCGATCGATCGA,TACGTACGTACGmatK,AAAATTTTCCCC,GGGGTTACCAAAA...Or:gene,sequencerbcL-f,ATCGATCGATCGArbcL-r,TACGTACGTACGYou can use Microsoft Excel to prepare these two files and save as CSV format,
or use any text editor you prefer.Make sure you don't miss the first line.task.shIf you use PBS task submitting system, you can use this script to submit the
task, and you can finish the work from combine two direction sequence by flash and join_fastq.py to divide them.
Package: divine
DivineDivine is a configuration utility with unique features:Ability to chain configs together, composing the whole from piecesAbility to quickly grab a nested key using notation like
c.get('abc/xyz/foo/bar')Integrated f-strings for composable values and DRY patternsAuto-callable config entries to instantiate a class or call a function with args and kwargs automatically from the config (yes, this is a security risk; don't parse any config from unknown sources)Divine accepts YAML or JSON files. It can be manually configured or auto-configured with an environment variable pointing to a config file. This allows for many processes to use the config without having to explicitly initialize the config in each process.
Package: diviner
Diviner is an execution framework wrapper around popular open source time series forecasting libraries.
The aim of the project is to simplify the creation, training, orchestration, and MLOps logistics associated with
forecasting projects that involve the predictions of many discrete independent events.Is this right for my project?Diviner is meant to help with large-scale forecasting. Instead of describing each individual use case where it may be
applicable, here is a non-exhaustive list of projects that it would fit well as a solution for:Forecasting regional sales within each country that a company does business in per dayPredicting inventory demand at regional warehouses for thousands of productsForecasting traveler counts at each airport within a country dailyPredicting electrical demand per neighborhood (or household) in a multi-state regionEach of these examples has acommon theme:The data is temporally homogenous (all of the data is collected daily, hourly, weekly, etc.).There is a large number of individual models that need to be built due to the cardinality of the data.There is no guarantee of seasonal, trend, or residual homogeneity in each series.Varying levels of aggregation may be called for to solve different use cases.The primary problem that Diviner solves is managing the execution of many discrete time-series modeling tasks. Diviner
provides a high-level API and metadata management approach that relieves the operational burden of managing hundreds
or thousands of individual models.Grouped Modeling WrappersCurrently, Diviner supports the following open source libraries for forecasting at scale:prophetpmdarimaInstallingInstall Diviner from PyPI via:pip install divinerDocumentationDocumentation, Examples, and Tutorials for Diviner can be foundhere.Community & ContributingFor assistance with Diviner, see thedocs.Contributions to Diviner are welcome. To file a bug, request a new feature, or to contribute a feature request, please
open a GitHub issue. The team will work with you to ensure that your contributions are evaluated and appropriate
feedback is provided. See thecontributing guidelinesfor submission guidance.
Package: divio-docs-parser
Divio Docs ParserCollect and parse all yourdivio-style documentationwith just one line of code! This script will scan any files/directories/strings you pass. For example:If you have a how-to section in your README, that'll get extracted and put in the right spotOr, if you have an how-to.md file, it'll get added in its entirety!How-ToInstall from pippython3-mpipinstalldivio_docs_parserClone & run scripts locallygitclonehttps://github.com/Denperidge-Redpencil/divio-docs-parser.gitcddivio-docs-gen/
python3-msrc.divio_docs_parserRun testsgitclonehttps://github.com/Denperidge-Redpencil/divio-docs-parser.gitcddivio-docs-gen/
python3-munittestBuild & install package locallygitclonehttps://github.com/Denperidge-Redpencil/divio-docs-parser.gitcddivio-docs-gen/
python3-mpipinstall--upgradebuildsetuptools# If no setuptools dist can be found, try using a higher python versionpython3-mbuild&&python3-mpipinstall--force-reinstall./dist/*.whlNote: other Python versions can be used!ExplanationThe Divio structure is built upon splitting your documentation into 4 types of documentations.. In this repository they're referred to as sections.If you want to know more about the design principles of this project, feel free to check out my writeuphere!ReferenceSynonymsFor ease of use and freedom of implementation, every section has synonyms.SectionSynonymsTutorialsGetting startedHow-to GuidesHow-To, Guide, UsageExplanationDiscussion, background materialReferenceTechnical
Package: divisible
DivisibleGreat python package for all your hmm-is-this-number-divisible-by-this-number needs!Installation:pip install divisible
## --- OR ---
poetry add divisibleVoilà, done.Usagefrom divisible import is_divisible

is_divisible(200, 25) # --> TrueNow supports is_even and is_odd, wow.from divisible import is_odd

is_odd(200) # --> Falsefrom divisible import is_even

is_even(200) # --> True
Package: divisionbeads
divisonbeadsA small Python CLI app of the "divison beads" math education tool.By Al Sweigartal@inventwithpython.com"Division beads" are a concept I came up with to visualize divison. A string of beads is laid out in a rectangular area. The quotient and remainder can be found through simple counting. For example:$ python3 -m divisionbeads
Enter a division problem (example: 23 / 7) or QUIT.
> 23 / 7

23 / 7 = 3 r 2

 ├─────7─────┤

 O─O─O─O─O─O─O┐ ┬
┌O─O─O─O─O─O─O┘ 3
└O─O─O─O─O─O─O┐ ┴
           O─O┘

           ├2┤

Enter a division problem (example: 23 / 7) or QUIT.
> 40 / 10

40 / 10 = 4 r 0

 ├────────10───────┤

 O─O─O─O─O─O─O─O─O─O┐ ┬
┌O─O─O─O─O─O─O─O─O─O┘ 4
└O─O─O─O─O─O─O─O─O─O┐ │
 O─O─O─O─O─O─O─O─O─O┘ ┴


 0

Enter a division problem (example: 23 / 7) or QUIT.
> 42 / 10

42 / 10 = 4 r 2

 ├────────10───────┤

 O─O─O─O─O─O─O─O─O─O┐ ┬
┌O─O─O─O─O─O─O─O─O─O┘ 4
└O─O─O─O─O─O─O─O─O─O┐ │
┌O─O─O─O─O─O─O─O─O─O┘ ┴
└O─O

 ├2┤

Enter a division problem (example: 23 / 7) or QUIT.
> quit