Saravanan666/pypi-org huggingface dataset:
Package: hgdl
HGDLHGDL is an API for HPC distributed constrained function optimization.
At the core, the algorithm uses local and global optimization
and bump-function-based deflation to provide a growing list of unique optima of a differentiable function.
This tackles the common problem of non-uniquness of optimization problems, especially in machine learning.UsageThe following demonstrates a simple usage of the HGDL API.importnumpyasnpfromhgdl.hgdlimportHGDLashgdlfromhgdl.support_functionsimport*importdask.distributedasdistributedbounds=np.array([[-500,500],[-500,500]])#dask_client = distributed.Client("10.0.0.184:8786")a=hgdl(schwefel,schwefel_gradient,bounds,global_optimizer="genetic",local_optimizer="dNewton",#put in local optimzers from scipy.optimize.minimizenumber_of_optima=30000,num_epochs=100)x0=np.random.uniform(low=bounds[:,0],high=bounds[:,1],size=(20,2))a.optimize(x0=x0)###the thread is now released, but the work continues in the backgrounda.get_latest()##prints the current result whenever querieda.kill_client()##stops the execution and returns the resultCreditsMain Developers: Marcus Noack (MarcusNoack@lbl.gov) and David Perryman.
Several people from across the DOE national labs have given insights
that led to the code in its current form.
SeeAUTHORSfor more details on that.
HGDL is based on theHGDNalgorithm by Noack and Funke.
Package: hgen
hgenIntroductionInjects c function prototypes(BSD-style) into header.limitationscannot capture multi-line function prototypescannot capture K&R style definitionsbreaks when function does not work with norminetteUsagehgen [-h] -I header.h src.c [src/ ...] [-c path]your header should have flags thatbegins with:@funcor@function(s)at your commentends with:#endifor@endor multiple=(ex:== some identifier ==)examples//	@func//	@end#ifndef HEAD_H# define HEAD_H//	===== @functions =====#endifPlansrefactorsjson based configurationsupport K&R style function definitionssupport multiline function definitions
Package: hgenvconfig
This extension is a utility to pass--configoptions via theHGCONFIGenvironment variable. The use-case is for servers that need to set this once
then pass it around to child processes (e.g. hooks) and other helpers that
don’t necessarily invokehgvia the command-line.installEnable envconfig like any mercurial extension: download the source code to a
local directory, and add that directory to your.hgrc:Example config:[extensions]
envconfig = path/to/hgenvconfig/hgext
Package: hget
hgethget是用于下载文件的命令行软件，支持http和ftp两种下载协议(http/https/ftp)，优化亚马逊云对象存储数据下载(aws s3 cp)，采用异步协程并发下载，节省线程开销，提高并发量，支持可中断的，随时恢复的下载方式。在网络不好的情况下，可实现下载速度比wget/axel/aws s3 cp快100~200倍以上。1. 依赖1.1 运行环境linux64python >=3.81.2 其他python模块依赖Cythonrequestsaiohttpboto3tqdm2. 特点python async异步协程并发，减少线程开销，支持更多并发量对单个下载文件进行分块并发下载，充分利用网络IO，同时支持断点续传有一个*.ht的中间文件，记录各分块下载进度和状态，无其他临时文件程序autoreload机制，网络异常或其他程序异常情况下，会自动重置环境并继续下载多种异常以及信号处理，确保下载状态能准确保存3. 安装git仓库安装  (for recommend)pip3installgit+https://github.com/yodeng/hget.gitPypi官方源安装pip3installhget-U4. 使用hget支持命令行运行和模块导入运行4.1 command-line usage$hget-husage:hget[-h][-o<file>][--dir<dir>][-n<int>][-c<int>][-t<int>][-s<str>][-d][-q][-v][--access-key<str>][--secrets-key<str>][--noreload]<url>

Aninterruptableandresumabledownloadaccelerator.

positionalarguments:<url>downloadurl,http/https/s3/ftpsupport

optionalarguments:-h,--helpshowthishelpmessageandexit-o<file>,--output<file>outputdownloadfile--dir<dir>outputdownloaddirectory-n<int>,--num<int>themaxnumberofasyncconcurrency(notthreadorprocess),default:auto-c<int>,--connections<int>themaxnumberoftcpconnectionsforhttp/https.moretcpconnectionscanspeedup,butmightbeforbiddenbyurlserver,default:auto-t<int>,--timeout<int>timeoutfordownload,30sbydefault-s<str>,--max-speed<str>specifymaximumspeedpersecond,case-insensitiveunitsupport(K[b],M[b]...),no-limitedbydefault-d,--debugloggingdebug-q,--quietsuppressalloutputexcepterrorordownloadsuccess-v,--versionshowprogram'sversionnumberandexit--noreloadtellshgettoNOTusetheauto-reloader

awsarguments:--access-key<str>accesskeyifnecessary--secrets-key<str>secretskeyifnecessary命令和参数解释如下:参数描述<url>位置参数，需要下载的网址，以http/https/ftp/s3开头-o/--output下载保存的文件名，默认当前目录下的下载文件-n/--num最大的下载并发量，默认根据下载文件大小自动配置。-c/--connectionshttp协议下载时，最大的tcp连接数，默认根据下载文件大小自动配置，值越大可加速下载，但有可能连接过多被服务端拒绝连接-t/--timeout下载连接的最长超时，默认30秒-s/--max-speed每秒最大数据下载量(bytes)，默认无限制，支持不区分大小写的单位K[B]，M[B]等等-d/--debugdebug模式，更多的logging输出-q/--quiet禁止除错误外的全部屏幕输出-v/--version打印软件版本并退出--access-key亚马逊云对象存储访问key，s3地址生效，没有可以不提供--secrets-key亚马逊云对象存储私有key，s3地址生效，没有可以不提供--noreload禁止自动重载，当网络异常或程序异常中断情况下，不进行重置并继续下载-c/--connections： 最大tcp连接数，自动选择即可，如果要配置，建议不要超过500-n/--num:  最大并发量，自动选择即可，如果要配置，建议不要超过1000，否则可能会超出系统ulimit限制而被杀掉4.2 python module import usageSimple usagefromhgetimporthgeturl="https://hgdownload.soe.ucsc.edu/goldenPath/hg19/bigZips/hg19.fa.gz"outfile="./hg19.fa.gz"hget(url=url,outfile=outfile,quiet=False)Parallel usagefromjoblibimportParallel,delayedfromhgetimporthgeturls=["https://hgdownload.soe.ucsc.edu/goldenPath/hg19/bigZips/hg19.fa.gz","https://hgdownload.soe.ucsc.edu/goldenPath/hg38/bigZips/hg38.fa.gz"]Parallel(n_jobs=2)(delayed(hget)(url)forurlinurls)import调用方式不支持auto-reload5. 测试以ucsc的hg19基因组fasta文件下载为例：hgethttps://hgdownload.soe.ucsc.edu/goldenPath/hg19/bigZips/hg19.fa.gz(单线程异步, 下载速度 5Mb/s)wgethttps://hgdownload.soe.ucsc.edu/goldenPath/hg19/bigZips/hg19.fa.gz(下载速度<20kb/s)axel -n 40 -ahttps://hgdownload.soe.ucsc.edu/goldenPath/hg19/bigZips/hg19.fa.gz(40个线程，下载速度约200kb/s左右)6. 说明hget异步下载，对http下载做了并发优化处理，ftp下载只支持断点续传由于并发较大，可能会遇到部分网站服务端拒绝连接的情况，通常几分钟后即可恢复，可通过减少TCP连接和并发量参数控制，也可以通过设置最大下载速度控制hget只是提供普通下载，请勿用于爬虫或恶意网络连接，产生一切责任由使用者承担7. LicenseMIT license
Package: hgexternals
hgexternals is a Mercurial extension that simulates in some ways
Subversion’s externals features.To enable the “hgexternals” extension, either shipped with Mercurial or
in the Python search path, create an entry for it in your hgrc, like this:[extensions]
hgexternals =For help using hgexternals, run: “hg externals –help”hg status hookYou can also expand your stat command by adding hook:[hooks]
post-status = python:hgexternals.extstatushookIt will display externals status similar way Subversion does.Currently extstatushook does not recognize any option specific to hg stat. It
should support global options as –repo. It will warn you that option is not
recognized and wont produce output. Hoveverit does supportnodes on which
should stat be ran.WarningFrom this version EXTERNALS or .hgexternals can be placedONLYin
repository root.Reporting bugsPlease report bugs athttp://bitbucket.org/tarek/hgexternals/
Package: hgf
# Introductionhgfis a hierarchical GUI framework for Python, built on top of Pygame. It is designed to ease the creation of graphical applications that,Support external configuration- controls, options, styleManage structural complexity- by composing simple elementsSeparate major concerns- behavior, layout, appearanceWith code that is easy to read, write, and extend, with minimal boilerplate.hgf is currently version 0.2.2, pre-alpha. The API may be volatile, but any changes to it will be made in an effort to better manifest these design principles.## Using hgf### DocumentationYou can read the online documentation [here](https://benfrankel.github.io/hgf) (outdated and incomplete).### DependenciesPython 3.xPygame 1.9.2+ (should be handled by pip)pyperclip (should be handled by pip)### Installationhgf is available on [PyPI](https://pypi.python.org/pypi), so you can install the latest version using [pip](https://pip.pypa.io/en/stable/):pip install hgf### Licensehgf is licensed under the [Apache 2.0](https://github.com/BenFrankel/hgf/blob/master/LICENSE) license, so you are free to use, distribute, and modify it.
Package: hg-fastimport
hg-fastimportWARNING: this extension is incomplete and lightly tested.  It is
currently intended for Mercurial developers or particularly daring
users.hg-fastimport is a Mercurial extension for importing Git’s fast-import
dumps into Mercurial. fast-import is a file format for representing the
entire history of a version control repository.This file format was designed to make it easier to write tools which
convert from foreign (non-Git) VCS repository formats into Git; such
tools exist for CVS, Mercurial, Darcs, and Perforce.How to InstallUsing PipYou can install the latest released version using pip:$ pip install --user hg-fastimportThen enable it in yourn hgrc:[extensions]
fastimport =From SourceTo install a local version from source:$ hg clone https://roy.marples.name/hg/hg-fastimport/
$ cd hg-fastimport
$ pip install --user .Then enable it in your hgrc:[extensions]
fastimport =How to UseTo import into a brand-new Mercurial repository:$ hg init new
$ cd new
$ hg fastimport --datesort FILE...where FILE… is a list of one or more fast-import dumps.
Package: hgfinance
hgfinancehgfinanceé uma API de finanças da HG brasil, este pacote em Python tem por objetivo facilitar o acesso de requisições a esta API. Por meio de uma chave pessoal e única que deve ser fornecida opcionalmente pelo usuário do pacote.Sobre o acessoO acesso a API é totalmente definido pela chave de API, que você pode adquirir gratuitamente, ou comprar um plano no site da HG brasil.
Quaisquer dúvidas sobre a API, visite o siteHG brasil.UsoPara começar a utilizar o pacote você deve instalá-lo via pip:pip install hgfinanceExemplo de conexão:from hgfinance import HgFinanceConnection

conn = HgFinanceConnection()

conn.set_key_api('SUA-CHAVE')

quotations = conn.quotations_only_requisition() # cotações de moedaAtenção: Para acessar dados históricos da API, é necessário comprar um plano de membro no site da HG brasil.
Package: hgfind
hgfindGet the human genome (hg38) coordinates of a geneInstallationpip install hgfindRequirements:Python >=3.6Usagehgfindcan be used either on the command line or as a function within
PythonAs a commandline toolhgfind <gene>wheregeneis a gene name such as "PTEN". The name can be a synonym as well.A successful example:$ hgfind auf1
HNRNPD => 4:82352498-82374503 (-)

$ echo $?
0The result shows thatHNRNPD(a synonym forAUF1) lies on chromosome 4,
in the specified base interval. The(-)indicates that its transcripts
all lie on the reverse strand.Using an unrecognized name results in an error:$ hgfind fjlsfl
fjlsfl not recognized as a gene

$ echo $?
1As a function in PythonAs an example on the Python REPL:>>> from hgfind import hgfind
>>> hgfind("Neat2")
{'chr_n': 11, 'start_coord': 65497688, 'end_coord': 65506516, 'strand': '+', 'official_name': 'MALAT1'}Using an unrecognized name results in an error:>>> hgfind("gewgwre")
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "hgfind.py", line 140, in hgfind
    raise WrongGeneName(
hgfind.WrongGeneName: {'message': 'The input gene could not be recognized', 'gene': 'GEWGWRE'}ContributingAny suggestions / PR requests are welcome!DevelopmentEnable recommended Git Hooks as follows:git config --local core.hooksPath .githooks/The above will run the following to ensure code consistency every time you
commit:blackisortAlso usefit-committo ensure
consistent commit message style.
Package: hg_fingerprint
Thehg-fingerprintmercurial plugin does two things:Enhances thearchivecommand with options to control
the.hg_archival.txtfile in the following ways:Allow multiple fingerprint files to be specified,Adjust the file name(s) thereof,Change the file format(s), andAdd a timestamp for when the archive was generated.Provides thefingerprintcommand to output the archive
fingerprint file without having to actually do the archive.ProjectHomepage:https://bitbucket.org/metagriffin/hg-fingerprintBugs:https://bitbucket.org/metagriffin/hg-fingerprint/issuesSupported FormatsThe following formats are supported:text(the default):repo: dca7d15bf04445e0a3136d5ce5cfa034e5cfa034
node: 6d881282ad46412ead8ad83e074ce451074ce451
branch: default
latesttag: blue
latesttag: moon
latesttagdistance: 7
timestamp: 2009-02-13T23:31:30Zjson(whitespace added for clarity):{"repo":"dca7d15bf04445e0a3136d5ce5cfa034e5cfa034","node":"6d881282ad46412ead8ad83e074ce451074ce451","branch":"default","latesttags":["blue","moon"],"latesttagdistance":7,"timestamp":"2009-02-13T23:31:30Z"}yaml:repo:dca7d15bf04445e0a3136d5ce5cfa034e5cfa034node:6d881282ad46412ead8ad83e074ce451074ce451branch:defaultlatesttags:[blue,moon]latesttagdistance:7timestamp:'2009-02-13T23:31:30Z'xml(whitespace added for clarity):<?xml version='1.0' encoding='UTF-8'?><fingerprint><repo>dca7d15bf04445e0a3136d5ce5cfa034e5cfa034</repo><node>6d881282ad46412ead8ad83e074ce451074ce451</node><branch>default</branch><latesttag>blue</latesttag><latesttag>moon</latesttag><latesttagdistance>7</latesttagdistance><timestamp>2009-02-13T23:31:30Z</timestamp></fingerprint>OptionsThefingerprintplugin adds the following new configuration section:[fingerprint]path=.hg_archival.txtformat=texttimestamp=truepath: ( str | list(str) ), default: ‘.hg_archival.txt’The path, within the archive, to store the fingerprint in. The
results are undefined if the path already exists. The path may
specify multiple locations (separated and escaped using shell
escape syntax).format: ( str | list(str) ), default: ‘auto’The file format to store the fingerprint in. Can be any of the above
listed formats, plus the special valueauto, which specifies
that the mime-type (based on extension) of thepathshould be
used. If thepathspecifies multiple locations, then format can
also be a list. If there are more paths than formats, the last
format is used.timestamp: bool, default: trueWhether or not to store the archive generation timestamp in the
fingerprint in ISO 8601 date-time format. Note that this is the
only value whose default alters the standard way thearchivecommand works – this is because it isadditive, and should
therefore have no, or at most minimal, impact.
Package: hg-github
hg-githubCreated byStephen McDonaldhg-github is aMercurialextension that wrapshg-git, and
supports a work-flow where repositories are hosted onBitbucketand mirrored onGitHub. This work-flow normally requires adding
Git paths to each repository’s config file, and creating Mercurial
bookmarks pointing to the GitHub repository’s branch name. hg-github
takes care of these for you automatically. hg-github isBSD licensed.InstallationThe easiest way to install hg-github is directly fromPyPiusingpiporsetuptoolsby running the respective command below:$ pip install -U hg-githubor:$ easy_install -U hg-githubOtherwise you can download hg-github and install it directly
from source:$ python setup.py installOnce installed, addhggithubto the extensions section in your
global.hgrcfile:[extensions]
hggithub =Note that there isn’t a dash inhggithubin your.hgrcfile.
You also don’t need to add the hg-git extension, as it is
wrapped and used automatically by hg-github.Once installed, assuming the default remote location of your
repository is on Bitbucket, the GitHub path is automatically added and
given the namegithub, so you can push to it with the following
command:$ hg push githubRepository PathsAs mentioned above, the GitHub path is given the namegithubwhen
the default remote location is on Bitbucket. For other named Bitbucket
locations, the namegithub-NAMEis given, whereNAMEis the
name of the path located on BitBucket. For example consider the
following.hg/hgrcrepo config:[paths]
default = ssh://hg@bitbucket.org/stephenmcd/hg-git
somefork = ssh://hg@bitbucket.org/stephenmcd/hg-git-temphg-git will add entries to the config file as follows. Note that the
config file isn’t actually written to:[paths]
default = ssh://hg@bitbucket.org/stephenmcd/hg-github
somefork = ssh://hg@bitbucket.org/stephenmcd/hg-github-temp

github = git+ssh://git@github.com/stephenmcd/hg-github.git
github-somefork = git+ssh://git@github.com/stephenmcd/hg-github-temp.gitGitHub Usernamehg-github assumes you have the same username on GitHub and Bitbucket.
If you have a different GitHub username, you can specify it by adding
the following section to your global.hgrcfile. For example my
GitHub username isstephenmcd:[github]
username = stephenmcd
Package: hghudson
Abouthghudson provides you a way to perform integration between Mercurial and
Hudson CI Server.InstallationInstall from sources:$ python setup.py installOr from Pypi:$ easy_install -U hghudsonUsing it[hudson]
url=localhost:8080
job=Foo

[hooks]
pretxnchangegroup.build=python:hghudson.buildThis is the code you should put in your .hg/hgrc file, and you should configure
Hudson for allowing builds from a trigger.Be sure the hook code is in the PYTHONPATH environment variable.To DoAllow to build into a secured Hudson
Package: hgicommon
Common Python used in HGI projectsHow to usePrerequisitesPython >= 3.5InstallationStable releases can be installed via PyPI:$pip3installhgicommonBleeding edge versions can be installed directly from GitHub:$pip3installgit+https://github.com/wtsi-hgi/python-common.git@<commit_id_or_branch_or_tag>#egg=hgicommonTo declare this library as a dependency of your project, add it to yourrequirement.txtfile.DevelopmentSetupInstall both library dependencies and the dependencies needed for
testing:$pip3install-q-rrequirements.txt$pip3install-q-rtest_requirements.txtTestingUsing nosetests, in the project directory, run:$nosetests-vTo generate a test coverage report with nosetests:$nosetests-v--with-coverage--cover-package=hgicommon--cover-inclusivenosetests-v--with-coverage--cover-package=hgicommon--cover-inclusive--exclude-test-file=excluded_tests.txtLicenseLGPL.Copyright (c) 2015, 2016 Genome Research Limited
Package: hgijson
HGI JSONA Python 3 library for easily JSON encoding/decoding complex class-based
Python models, using an arbitrarily complex (but easy to write!) mapping
schema.FeaturesAbility to create serializers and deserializers for complex
class-based models using a mapping schema defined in Python.Works seamlessly with Python’s in-builtjson.dumpsandjson.loadsserialization methods - does not require the use of
exoticconvert_to_json/convert_from_jsonmethods.Python models are not be coupled to the serialization process -
models do not have to inherit from a particular superclass or
implement an interface with ato_json(or similar) method.JSON representations produced are not coupled to the Python model -
an arbitrary mapping between the JSON and the model can be defined.Simple to define serialization of subclasses, based on how
superclasses are serialized.Pure Python 3 - no DSL, XML or similar required to describe mappings,
not using outdated Python 2.Well tested.OverviewBasic StepsDefine schema for mapping an object to and/or from JSON
representation using a list ofJsonPropertyMappingdefinitions.UseMappingJSONEncoderClassBuilderwith the mappings to build a
subclass ofJSONEncodefor serializing instances of a specific
type. Similar with decode.Use created encoder class with Python’s in-builtjson.dumpsvia
theclsparameter. Similar with decoder.Defining Encoders/DecodersEncoders and decoders are generated based on a defined JSON <-> Model
mapping. A mapping can be written that allows complex classes, such as
that below, to be mapped to and from any JSON representation:classCustomClass(SupportFor,MultipleInheritance):self__init__(self,support_for_constructor_parameters):self.support_for_all_types_of_properties=""self.including_sets=set()self.and_lists=list()self.and_dictionaries=dict()self.and_complex_properties=ComplexClass()self.and_nested_objects_of_the_same_type=CustomClass()self.and_properties_not_in_json_if_none=Noneselfsupport_for_setters(self,value):"""..."""selfsupport_for_getters(self):"""..."""CustomClassJSONEncoder=MappingJSONEncoderClassBuilder(...).build()# type: JSONEncoderCustomClassJSONDecoder=MappingJSONDecoderClassBuilder(...).build()# type: JSONDecodercustom_class_as_json=json.dumps(custom_class,cls=CustomClassJSONEncoder)# type: strcustom_class=json.loads("<custom_class_as_json>",cls=CustomClassJSONDecoder)# type: CustomClassDocumentationFor more details, including information on how to setup and use the
library, pleaseview the documentation on
ReadTheDocsor read it
from/docs.
Package: hglib
hglibThe hglib is fork of ofhglib, which is library with a fast, convenient interface to Mercurial. It uses Mercurial's command server for communication with hg.Only difference for now is just name of the package and updated tests.Basic usageimporthglibclient=hglib.open(path)log=client.log(revrange="tip")print(log)DependenciesPython 2.7 or 3.5LicenceMITContactMichal Siskamichal.515k4@gmail.com
Package: hgmeans
# Clean files
make clean# Copy /hgmeans folder with .cpp and .h files
make hgmeans# Use Cython to create the interface with Python – here the hgmeans.cpp file should be created
make build# Create Python package – here a tarball file should be created in /dist folder
make sdist# To install the package locally, run:
python3 -m pip install dist/*
<!– sudo pip install dist/* –># To publish the package in PyPi repository, run:
sudo twine upload dist/*#### Clean and compile
>> cd hgmeans
>> make clean
>> make hgmeans
>> cd ../# Generate wheel file
>> python3 setup.py sdist bdist_wheel# Install the package locally
>> sudo pip3 install dist/*# Publish the package in PyPi repository
>> sudo twine upload dist/*
Package: hgmonitor
IntroductionThe monitor extension tracks a directory of hg repositories for changes which
are not committed or pushed to the server.  The basic use case is for easily
tracking a set of diverse repositories for pending changes.  Another use is to
schedule an e-mail updating on the state of pending changes.All monitor commands take an optional directory argument and a boolean recurse
flag.  The default (recurse False) is to recurse one directory, but when recurse
is true, monitor searches for all hg repositories under the directory.In addition, if the mq switch is enabled, then monitor searches for hg
repositories in .hgpatches inside each main repository found.In some ways, this extension provides a much more flexible notion of
sub-repositories.  There is no tracking of related repositories beyond being in
the same sub-directory.  Such simplicity can allow a more flexible workflow.ExamplesList changes in repositories directly under the current working directory:hg monitorList changes in all repositories under the given directory or directories:hg monitor --dir=<dir1> --dir=<dir2> --recursePull changes from the default repository for all repositories in the scope of
the command:hg mpull --updatehg mpushThe mbackup command has facilities for backing up uncommitted changes
(and unpushed changesets - in the future).  It could also be a
directory:hg mbackup --dir=<directory> --remote=<additional backup folder>Changelog0.5 - fixed bug with –dir selectors not accumulating when they point
directly to repositories – Thanks Piotr Owsiak0.4 - added email from monitor and extended zipped backup to include
outgoing changes0.3 - added mbackup with zip & copy for uncommitted changesFutureThe monitor command will include the ability to e-mail uncommitted/unpushed
changes to an e-mail address:hg monitor --dir=<directory> --email
Package: hgnc-queries
hgnc_queries.pyQuery HGNC for gene symbols.Created to attempt to rescue old gene symbols because of an old excel "database" that had to be converted in a Django databaseInstallationpip install hgnc-queriesExamples:Use HGNC queries to get:>> import hgnc_queries
>> hgnc_queries.get_new_symbol("RN5S49", verbose = False)
RNA5SP49

>> hgnc_queries.get_gene_starting_with("BRCA", verbose = False)
["BRCA1", "BRCA1P1", "BRCA2", "BRCA3"]

>> hgnc_queries.get_alias("ARID1B", verbose = False)
["KIAA1235", "ELD/OSA1", "p250R", "BAF250b", "DAN15", "6A3-5"]

>> hgnc_queries.get_main_symbol(BRAF1, verbose = False)
BRAF

>> hgnc_queries.get_prev_symbol("COL2A1", verbose = False)
["SEDC", "AOM"]

>> hgnc_queries.get_id("BRAF", verbose = False)
HGNC:1097

>> hgnc_queries.get_symbol_from_id("1097", verbose = False)
BRAF

# new function more for in-script use
# get the hgnc symbol if gene symbol not recognized by the process you're using
>> print(queries.get_hgnc_symbol("RN5S49"))
RNA5SP49
>> print(queries.get_hgnc_symbol("BRAF1"))
BRAF

>> hgnc_queries.get_refseq("BRCA1", False)
['NM_007294']
>> hgnc_queries.get_ensembl("BRCA1", False)
"ENSG00000012048"

>> hgnc_queries.convert_refseq2ensembl("NM_007294", False)
"ENSG00000012048"
>> hgnc_queries.convert_ensembl2refseq("ENSG00000012048", False)
['NM_007294']