Saravanan666/pypi-org huggingface dataset:
Package: darshellclock
darshell-clock:warning: Please usepip3orpython3instead of pip and pythondarshellclockis aMINIMALISTconsole application to display time and date with nice ASCII digits in your terminal. UsescursesHere is a demo but mostly you would use this in a small persistant terminal. (More on "why this project?" in the side notes at the end)FeaturesSuitable for quite small terminal sizes.
Useful for having a clock sitting around if you use a tiling window manager or tmux for example.Nice 'blocky' ASCII digits :purple_heart:Localised date format :airplane:2 sizes of digits, smaller digits for smaller termAutoresizing and centeringColor selection of the time or the datePossibility to hide the date and/or the secondsAutoclosing (if wanted, see arguments in 'Usage and keys')All the parameters are saved upon exit :+1:Usage and keysThe usual arguments are here + a 'stop' argument for the autoclosing functionnality-h --help        Show help
-v --version     Show version number
-i --info        Show info [ASCII ♥]
-s --stop STOP   Quit the application after <STOP> secondsWhile in the app, use these keys to change the configuration :KeyPurposehShow or hide helpqQuitzChange time colorxChange date colordShow or hide datesShow or hide secsInstalling and startingUse Python 3.x:warning: Please usepip3orpython3instead of pip and pythonInstall usingpip3:pip3installdarshellclock# installingdarshellclock# lauchingOr if you want to do it manually you can clone or downlad and extract the project:$gitclonehttps://github.com/darokin/darshell-clock.git
$cddarshell-clock$python3darshellclock# to launch/test ; or you can install it :$python3setup.pyinstall--user# to install$darshellclock# to launch installed versionSide notes:information_desk_person: This program was mainly made to try out a whole life cycle of a simple python app and to grasp new skills around github/CI/python package distribution/etc.
Thediscussion sectionis open if needed.If you encounter any problem or have any suggestions, pleaseopen an issueorsend a pull request.
Package: dart
Dart turns URL variables into database models with a decorator.That means you can do something like this:@app.route('/user/<user_id>/tracks',methods=['GET'])@dart.inject(User,'user',from_var='user_id')defuser_tracks(user=None):returnjsonify(user.tracks)If you’re smart, you might have a decorator that checks user authorization,
something like@login_required. You can compose Dart with other decorators
to simplify logic, while still keeping your code readable and concise:deflogin_required(view):@functools.wraps(view)@dart.inject(User,'user',from_var='user_id')@dart.inject(User,'current_user',from_val=lambda:session['user_id'])defdecorated_view(user=None,current_user=None,*args,**kwargs):ifcurrent_user!=user:abort(403)else:returnview(user=user,*args,**kwargs)returndecorated_view@login_requireddefview(user=None):return'{}did it!'.format(user.name)Of course, Dart isn’t just a Flask. It’s literally just a decorator that
takes a keyword arg or lambda expression and queries the model class using it as
the primary key. That means you can use the Dart decorator with any function.For more info, check out the source code – it’s 27 lines.
Package: dart-code-convention-fixer
Pypi publishing:https://realpython.com/pypi-publish-python-package/Regex:https://www.programiz.com/python-programming/regexRegex online:https://regex101.com/Rules index:https://dart-lang.github.io/linter/lints/index.htmlInstallationDownload command line utility:
pip install dart-code-convention-fixerTutorial of appTo verify use:
python3 -m dartCCF verify - p /..
python3 -m dartCCF verify - d /..
python3 -m dartCCF verify - f /..

-p - project
-d - directory 
-f - file 

/.. - path to project, directory or file 

To fix use:

python3 -m dartCCF fix - p /..
python3 -m dartCCF fix - d /..
python3 -m dartCCF fix - f /..

-p - project
-d - directory 
-f - file 

/.. - path to project, directory or fileImplemented:STYLElines_longer_than_80_charsalways_use_package_importscamel_case_typescamel_case_extensionslibrary_namesfile_nameslibrary_prefixesconstant_identifier_namescurly_braces_in_flow_control_structuresDOCUMENTATIONslash_for_doc_commentsUSAGEprefer_is_emptyprefer_is_not_emptyavoid_relative_lib_importsprefer_adjacent_string_concatenationprefer_interpolation_to_compose_stringsunnecessary_brace_in_string_interpsprefer_iterable_whereTypeprefer_collection_literalsavoid_init_to_nullavoid_catching_errorsavoid_function_literals_in_foreach_calls # avoidprefer_function_declarations_over_variablesunnecessary_newunnecessary_constavoid_catches_without_on_clauses
Package: darte7
This simple program returns the URL of downloadable resources on Arte+7 site.You simply have to go tohttp://www.arte.tv/guide/fr/plus7/, select the show
you want to download. darte7 can then be used with programs like wget or curl
to download the film.For instance:wget `darte7 http://www.arte.tv/guide/fr/plus7/?em=044964-000`.
Package: dart-fss
Dart-Fss대한민국 금융감독원에서 운영하는 다트(DART) 사이트 크롤링 및 재무제표 추출을 위한 라이브러리Source code:https://github.com/josw123/dart-fssFeaturesOpen DART의 오픈 API를 이용한 전자공시 조회DART의 전자공시 정보를 이용한 재무제표 추출InstallationOpen DART 지원 / 신규 Open DART API Key 필요Python 3.7 이상 지원Documentation:https://dart-fss.readthedocs.io/pipinstalldart-fssPluginsDart-Fss-Classifier: 재무제표 추출 성능 향상UsageDart API Key 설정OPEN DART API 신청환경 변수 DART_API_KEY 설정 또는 패키지 사용전 아래와 같이 설정Quick Startsimportdart_fssasdart# Open DART API KEY 설정api_key='xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'dart.set_api_key(api_key=api_key)# DART 에 공시된 회사 리스트 불러오기corp_list=dart.get_corp_list()# 삼성전자 검색samsung=corp_list.find_by_corp_name('삼성전자',exactly=True)[0]# 2012년부터 연간 연결재무제표 불러오기fs=samsung.extract_fs(bgn_de='20120101')# 재무제표 검색 결과를 엑셀파일로 저장 ( 기본저장위치: 실행폴더/fsdata )fs.save()주의사항Open DART 및 DART 홈페이지의 경우 분당 1000회 이상 요청시 서비스가 제한될 수 있음관련 공지사항: [FAQ]->[오픈API 이용한도는 어떻게 되나요?]LicenseThis project is licensed under the MIT License
Package: dart-fss-classifier
Dart-Fss-ClassifierDart-Fss의 재무제표 추출 성능 향상을 위한 플러그인.자연어 처리를 이용하여 재무제표 계정과목의 Concept ID 추정함으로써 재무제표 추출 성능 향상.DependenciesDart-Fss>= 0.3.0TensorFlowKoNLPyInstallationpipinstalldart-fss-classifierUsage# Dart-fss 라이브러리 불러오기importdart_fssasdart# dart_fss_classifier Plugin 불러오기importdart_fss_classifier# Attach pluginassertdart_fss_classifier.attached_plugin()==True# 회사리스트 불러오기corp_list=dart.get_corp_list()# 삼성전자 선택samsung=corp_list.find_by_corp_name(corp_name='삼성전자',exactly=True)[0]# 재무제표 추출fs=samsung.extract_fs(bgn_de='20100101')
Package: darth-d
Darth-DA simple to use image generator based onOpenAIs DALL-E 2/3.
It comes asnapariplugin and has a Python interface.
You need anOpenAI API KEYto use it.Using some of the functions on scientific images could be seen as scientific misconduct. Handle these functions with care.UsageFrom PythonYou can generate images from text prompts in Python like this (see this notebool).from darth_d import createimage = create("an image of a cat")

imageYou can also vary images (see this notebook):from darth_d import vary

output_image = vary(input_image)Replacing regions in images is also possible. Note: Using this function on scientific images could be seen as scientific misconduct. Handle this function with care.In NapariTo generate images in Napari, click theTools > Generate > Imagemenu. You can for example enter the prompt
"a professional comic with white background showing a cat having an idea. the idea is visualized using a light bulb.Installationpip install darth-dIf you want to use it from napari, please also install napari and thetools menu:mamba install napari pyqt napari-tools-menu -c conda-forgeSimilar tools and pluginshttps://github.com/kephale/napari-stable-diffusionhttps://github.com/seankmartin/napari-stable-diffusionFeedback welcome!Thedarth-dis developed in the open because we believe in the open source community. Feel free to drop feedback asgithub issueor viaimage.scContributingContributions are very welcome.LicenseDistributed under the terms of theBSD-3license,
"darth-d" is free and open source software
Package: dart-id
DART-IDWebsite:https://dart-id.slavovlab.netManuscript:https://www.biorxiv.org/content/10.1101/399121v3Getting startedDependenciesDART-ID requires Python >= 3.4 (64-bit -miniconda distribution recommended), and has been tested on Windows 8 / OSX Mojave 10.14 / Centos 7 / Ubuntu 14.04.InstallationDART-ID is available onPyPIand can be installed withpip.pipinstalldart-idUsageDART-ID requires a YAML-formatted configuration file to run. An example annotated config file can be found inexample/config_annotated.yaml. You can specify input files and the output folder on the command line, if that's what you prefer.View the command-line arguments anytime by running:dart_id -h.usage: dart_id [-h] [-i INPUT [INPUT ...]] [-o OUTPUT] [-v] [--version] -c
                 CONFIG_FILE

optional arguments:
  -h, --help            show this help message and exit
  -i INPUT [INPUT ...], --input INPUT [INPUT ...]
                        Input file(s) from search engine output (e.g.,
                        MaxQuant evidence.txt). Not required if input files
                        are specified in the config file
  -o OUTPUT, --output OUTPUT
                        Path to output folder
  -v, --verbose
  --version             Display the program's version
  -c CONFIG_FILE, --config-file CONFIG_FILE
                        Path to config file (required). See
                        example/config_example.yamlExample runsAn example configuration file can be downloaded from GitHub:https://github.com/SlavovLab/DART-ID/blob/master/config_files/example_sqc_67_95_varied.yaml.The first few lines of the above configuration file specify the path to the input file:## Input## ==========================input:-/path/to/SQC_67_95_Varied/evidence.txtYou can download theevidence.txtfile from MassIVE:ftp://massive.ucsd.edu/MSV000083149/other/MaxQuant/SQC_67_95_Varied/evidence.txt.Then edit the path to the file downloaded, and run the following command:dart_id-cconfig_files/example_sqc_67_95_varied.yaml-o~/DART_ID/SQC_67_95_varied_20181206The-oparameter points to the output folder for DART-ID. You can also specify this path in the config file.An example analysis of the data and configuration file specified above is available publicly atftp://massive.ucsd.edu/MSV000083149/other/Alignments/SQC_varied_20180711_4/.About the projectDART-ID is a project developed in theSlavov LaboratoryatNortheastern UniversityBioengineering, and was authored byAlbert Tian Chen,Alexander Franks(ofUCSB Statistics and Applied Probability), andNikolai Slavov.The manuscript for this tool is available on bioRxiv:https://www.biorxiv.org/content/10.1101/399121v3.Contact the authors by email:nslavov{at}northeastern.edu.LicenseDART-ID is distributed by anMIT license.ContributingPlease feel free to contribute to this project by opening an issue or pull request in theGitHub repository.DataAll data used for the manuscript is available onUCSD's MassIVE RepositoryFigures/AnalysisScripts for the figures in the DART-ID manuscript are available in a separate GitHub repository,https://github.com/SlavovLab/DART-ID_2018
Package: dartmist
dartmistA library for interacting with the Mist Systems APIRequirementsPython librarieswebsocketwebsocket-clientInstallationpip3 install dartmistWill install this library and all required librariesSetupEnvironmentYou must specify a Mist Org ID and a Mist API Token.  These can be passed in via the command line (see Usage)
or, preferably, set as envinronment variables:export MIST_ORGID="00000000-0000-0000-0000-000000000000"
export MIST_TOKEN="12345123451234512345123451234512345"To get an API Token, refer to the documentation provided by Misthttps://api.mist.com/api/v1/docs/Auth#api-tokenUsageIn your python script:from dartmist import mist, misthelpers
api = mist.Mist(TOKEN, ORGID)
helper = misthelpers.MistHelpers(api)To use the MistWebsocket class:import threading
ev = threading.Event()
mwsock = mistwebsocket.MistWebsocket(TOKEN, ev)
mswock.open()
if ws.is_open:
    print("Yes, the Websocket is open")
else:
    logging.error("Failed to open Websocket")
    exit(-1)
mwsock.subscribe()
while not ev.isSet() and len(ws.messages) == 0:
    logging.debug("Waiting...")
    msg_rcvd = ev.wait(10)
if msg_rcvd or ev.isSet() or len(ws.messages) > 0:
    # Process messages
    msg = json.loads(ws.get_next_message())
mwsock.unsubscribe()
mwsock.close()
Package: dartmouth_banner
# dartmouth_banner
Python API for interacting with Dartmouth Banner.This utilizes the requests library and some cookie setting to mimic a browser so that you can log in.
Currently, the class allow you to log in, logout, get your GPA and DBA levels, and add/drop courses given
the course ID.  New features will be coming soon.### Usagefrom dartmouth_banner import BannerConnectionconnection = BannerConnection()
connection.login(“<username>”, “<password>”)print connection.gpa()
print connection.dba()
connection.addCourse(95799)
connection.dropCourse(96111)connection.logout()### InstallationFor now, just download the dartmouth_banner.py file.  I’ll make it more easily accessible with a setup.py file in a bit.
Package: dartpy
Note: This is the README for themainbranch. For the README for the latest stable release, please seehere.DocumentationFor more information on DART, please visit the DART documentation:English|한국어(WIP)Project StatusItemStatusBuild (C++/Python)dartpy publishDoc, Coverage, LinterMaintenancePackagesCitationIf you use DART in an academic publication, please consider citing thisJOSS Paper[BibTeX]
Package: dartqc
## DartQC### Quality Control PipelineCommand line pipeline to facilitate quality control of SNP data from Diversity Array Technologies (DArT). This version is a re-write of the original scripts aiming to be somewhat more user-friendly and executable on JCU's HPC.#### Install`pip install dartqc`#### How to use DartQCThis section provides a brief guide of how to install and use the pipeline components. This assumes you are using a Bash shell on a local Unix system or the JCU's HPC (Zodiac).1. [Install DartQC](https://github.com/esteinig/dartQC/blob/master/readme/install.md)2. [Task: prepare](https://github.com/esteinig/dartQC/blob/master/readme/task.prepare.md)3. [Task: process](https://github.com/esteinig/dartQC/blob/master/readme/task.process.md)4. [Task: filter](https://github.com/esteinig/dartQC/blob/master/readme/task.filter.md)5. [DartQC on Zodiac]()#### TasksDartQC has a hierarchical parser structure that allows you to set global options and execute a task (prepare, process, filter) with its own specific arguments:```dartqc --helpdartqc prepare --helpdartqc process --helpdartqc filter -- help```Global arguments are specified before the command for a task, like this:**`dartqc`**`--project example --output_path ./example`**`prepare`**`--file example_data.csv`#### Quick StartExample workflow without pre-processing from Excel or CSV:```source activate dartqc# CSVdartqc prepare --file example.csv# Exceldartqc prepare --file example.xlsx --sheet double_row_snpsdartqc filter --call example.csv --call_scheme example_scheme.json --maf 0.02 --clusterssource deactivate```Example workflow with pre-processing:```source activate dartqcdartqc prepare --file calls.csvdartqc prepare --file raw.csvdartqc filter -c calls.csv --call_scheme calls_scheme.json -r raw.csv --raw_scheme raw_scheme.json --read_threshold 7dartqc filter --processed ./example --maf 0.02 --call_rate 0.7 --duplicates --clusterssource deactivate```---<p align="center"><img src="https://github.com/esteinig/dartQC/blob/master/workflow.png" height="768" width="768"></p>---### ContactIf you find any bugs, please submit an issue for this repository on GitHub.
Package: dartrig
Dart API/Web Data RiggerDart APIAPI Reference:https://opendart.fss.or.kr/guide/detail.do?apiGrpCd=DS001&apiId=2019001corp_cls codeY : 유가K : 코스닥N : 코넥스E : 기타rm code유 : 본 공시사항은 한국거래소 유가증권시장본부 소관임코 : 본 공시사항은 한국거래소 코스닥시장본부 소관임채 : 본 문서는 한국거래소 채권상장법인 공시사항임넥 : 본 문서는 한국거래소 코넥스시장 소관임공 : 본 공시사항은 공정거래위원회 소관임연 : 본 보고서는 연결부분을 포함한 것임정 : 본 보고서 제출 후 정정신고가 있으니 관련 보고서를 참조하시기 바람철 : 본 보고서는 철회(간주)되었으니 관련 철회신고서(철회간주안내)를 참고하시기 바람UsagefromdartrigimportDartAPIkeys=["{YOUR_API_KEY_01}","{YOUR_API_KEY_02}"]dart=DartAPI(keys=keys)# Get disclosure listdart.get_disclosure_list(end_de='20210331')
Package: dartsclone
darts-clone-pythonDarts-clonebinding for Python 3.x.This repository provides Cython-based pip-installable package.Installationpip install dartscloneUsagedarts-clone-python is almost compatible with darts-clone.importdartsclonedarts=dartsclone.DoubleArray()# build indexdata=[b'apple',b'banana',b'orange']values=[1,3,2]darts.build(data,values=values)# exact match searchresult=darts.exact_match_search('apple'.encode('utf-8'))print(result)# [1, 5]# common prefix searchresult=darts.common_prefix_search('apples'.encode('utf-8'),pair_type=False)print(result)# [1]# save indexdarts.save('sample.dic')# load indexdarts.clear()darts.open('sample.dic')# dump array dataarray=darts.array()# load array datadarts.clear()darts.set_array(array)
Package: dart-tools
Dart ToolsDartis Project Management powered by AI.dart-toolsis the Dart CLI and Python Library. It enables direct integration with Dart through a terminal CLI or through Python.SetupIn the terminal, install by runningpipinstalldart-toolsUsing the CLIStart off by setting up authentication withdartloginThen, you can create a new task with a command along the lines ofdartcreatetask"Update the landing page"-p0--tagmarketingwhich will make a new task called 'Update the landing page' with priority 'Critical' (i.e. P0) and with the 'marketing' tag.You can explore all of these options and many more withdart --helpor the more specific help for subcommands, in this casedart createtask --help.Another common workflow is to updating a preexisting task. To do this, run something likedartupdatetask[DUID]-sDoneThis command will mark the referenced task 'Done'. Here[DUID]is meant to be replaced (including the brackets) with the 'Dart ID' of an existing task. You can get a DUID from any existing task in a number of ways, such as by copying it from the end of a task's URL or by clicking the '...' button in a task page in Dart and then choosing 'Copy ID'.Using the Python LibraryFirst, set up authentication. Rundart loginin the terminal for an interactive process, or visityour Dart profileand then rundart.login(token)or save the token into theDART_TOKENenvironment variable.Then, you can run something likeimportosfromdartimportcreate_task,is_logged_in,update_task# Check that auth is set up and stop if not, can remove this once everything is set upis_logged_in(should_raise=True)# Create a new task called 'Update the landing page'# With priority 'Critical' (i.e. p0) and with the 'marketing' tagnew_task=create_task("Update the landing page",priority_int=0,tag_titles=["marketing"])# Update the task to be 'Done'update_task(new_task.duid,status_title="Done")Advanced UsageAlmost anything that can be done in Dart can be done with the Python library, but there are not convenient wrapper functions for everything.
For most advanced usage, the best thing to do is toget in touch with usand we can help.However, if you want to explore on your own, the client is well-typed, so you can simply explore the code to see what is possible.
All updates will go through the thedart.transactfunction.As an example, you could run something akin toupdate_taskwithfromdartimport(Dart,Operation,OperationKind,OperationModelKind,TaskUpdate,TransactionKind,)# Initialize the inner clientdart=Dart()# Prepare the update operationtask_update=TaskUpdate(duid="[DUID]",size=5,)task_update_op=Operation(model=OperationModelKind.TASK,kind=OperationKind.UPDATE,data=task_update,)# Call the operation transactionally to preform the updateresponse=dart.transact([task_update_op],TransactionKind.TASK_UPDATE)Help and ResourcesHomepageWeb AppHelp CenterBugs and FeaturesLibrary SourceChat on DiscordEmail us atsupport@itsdart.com
Package: darwinexDownloader
Package to download historical data from Darwinex with different data format.The dowload of data from Darwinex is performed via FTP, in each file there is information of each operation performed in the ticker. This package allows you to download the data in ohlc format ready for analysis with python with different periodicity.Table of ContentsRequirementsInstallationDocumentation and TutorialsQuestions, Suggestions and BugsContributing / DevelopmentLicenseRequirementsThe following libraries are required before installing darwinexDownloader:Python 3.7+ftplibtempfilegzippandasdatetimeosInstallationThe instructions to install this package are in the header of the (DarwinexDownloader pypi website)[https://test.pypi.org/project/darwinexDownloader/]Documentation and TutorialsOnce you have installed the library you have to import it in the source code:importDarwinexDownloaderThis the library in your code, you can use darwinexDownloader to connect with Darwinex:dwnx=DarwinexDownloader.Connection('your_user','your_password')# claseAt this time, we are ready to download the data:data=dwnx.download('EURUSD',"28-06-2022","29-06-2022",'15Min')Now in the 'data' variable we have the ohlc data ready to make our analysis.|         Date        |  open   |  high   |   low   |  close  |    volume   |
|---------------------|---------|---------|---------|---------|-------------| 
| 2022-06-28 00:00:00 | 1.05797 | 1.05850 | 1.05789 | 1.05810 | 952330000.0 |
| 2022-06-28 00:15:00 | 1.05812 | 1.05852 | 1.05807 | 1.05825 | 549950000.0 |
| 2022-06-28 00:30:00 | 1.05824 | 1.05853 | 1.05773 | 1.05779 | 503900000.0 |
|         ...         |   ...   |   ...   |   ...   |   ...   |     ...     |
| 2022-06-29 23:30:00 | 1.04417 | 1.04463 | 1.04411 | 1.04457 | 471505000.0 |
| 2022-06-29 23:45:00 | 1.04458 | 1.04463 | 1.04444 | 1.04456 | 239250000.0 |In the download method we have 4 arguments.The first one is the ticker. The valid tickers are show in theDarwinex websiteThe second and third arguments are dates. For the moment, date format must always be as follows: "dd-mm-yyyy" where the first date is the start date and the second is the end date.And the 4th argument is the frecuency. This frecuency has the format used bypandas timeframeswhere the most used in trading can be:'1Min''5Min''15Min''30Min''1H''4H''1D''Week''Month'Questions, Suggestions and BugsFeel free to open an issuehere.Contributing / DevelopmentContributions welcome.LicenseMIT License. Iván García-Ferreira