Saravanan666/pypi-org huggingface dataset:
Package: comspy
ComsPyA package that uses Python to make communication easierLatest release:2022.30. A declaration for users using version 2022.1If you're still using version 2022.1, please note:README.md:The sample code is wrong, please change all compys to comspydemos1.py and demos2.py:Please change all compys to comspy1. How to use(1) UserYou need to create two programs to use this module, one called Server.py and the other called Client.pyThen type in Server.py:#Englishimportcomspy.user.Server_Englishcomspy.user.Server_English.start()#Chineseimportcomspy.user.Server_Chinesecomspy.user.Server_Chinese.start()In the Client.py input:#Englishimportcompy.user.Client_Englishcomspy.user.Client_English.start()#Chineseimportcompy.user.Client_Chinesecomspy.user.Client_Chinese.start()Run, and then enter the same communication portinput "QUIT" to exitNote: they must be the same, otherwise normal communication will not work, unless you want to get to know an unknown stranger by chanceWe will continue to update, try to make the interface in a short time, thank you for using(2)DeveloperExample:#Server.pyfromcomspy.developerimport*#import all functionsserver_socket_init()#init the server socketserver_socket_bind(int(input("Enter a port:")))#set the connectionserver_setlisten(3)#set the maximum of listeningserver_buildconnect()#build th connectionwhileTrue:msg=input("Enter a msg:")server_sendmsg(msg)#send messageifmsg=="QUIT":exit()#stop#Client.pyfromcomspy.developerimport*#import all functionsclient_socket_init()#init the client socketclient_connect(int(input("Enter a port:")))#set and build the connectionwhileTrue:msg=client_receivemsg(2048)#receive messageifmsg=="QUIT":exit()#stopelse:print(msg)2. What's newThere are now two modes: developer and userYou can use developer mode to create your own communication softwareYou can also use user mode to communicate
Package: comstrip
ComStripUniversal Code Comment Stripper and Diff Analysis tools leveraging Emacs Language supportInstallationpython3 -m pip install commstripRequirementsemacs 28.1+language files for languages that need processingNote: This code is presently written for Linux and should work out of the box on MacOS and Cygwin but has not been tested there yet. Windows support is planned.Create AliasAdd to~/.bashrc:function __comstrip {
	python3 /dpool/vcmain/dev/lisp/comstrip/src/comstrip/comstrip.py "$@"
}
alias comstrip='__comstrip'CLI Usage:CLI - 3-way meld compareCompare /r1/src1.py to /r2/src2.py and /r2/src3.py, strip comments, blank lines and trailing spaces and launch in meldcomstrip --basedir /dpool/vcmain/dev/lisp/comstrip/test/data --noblank --notrail --meld --file /r1/src1.py /r2/src2.py /r3/src3.pyCLI - Stats onlyCompare /r1/src1.py to /r3/src1.py, strip comments, blank lines and trailing spaces and show statscomstrip --basedir /dpool/vcmain/dev/lisp/comstrip/test/data --noblank --notrail --stats --file /r1/src1.py /r3/src2.pyOutput:Stats: /r1/src1.py <-> /r3/src1.py (/dpool/vcmain/dev/lisp/comstrip/test/data):
  add_l | mod_l | rem_l | tot_l | tot_chars
    161 |    25 |    28 |   109 |      7310

  Orig Src    |                       Clean Src                        |  Ok  | Note
/r1/vtscan.py | /tmp/cs_zz_cs_220420-211346.451785_vtscan_211347211.py | True |    -
/r3/vtscan.py | /tmp/cs_zz_cs_220420-211346.452998_vtscan_211347429.py | True |    -CLI - Use Meld to troubleshoot stripping of comments etc.Call with --meld option and pass only one file Meld will be launched showing the before and after of comment stripping
This can be used as you tweak your emacs packages to ensure that the Language processsing is working as expectedcomstrip --meld --noblank --notrail --file /dpool/vcmain/dev/lisp/comstrip/test/data/r3/src1.pyPython API Usage:ComStrip - Main API ObjectDiffStats - Object containging diff information including statsDiff - Representation of two files and contains astats:DiffStatsafter processingDiffSet - Collection of Diffs for batch processingCSStat - Contains info about Comment Strip Processing: ok, file_in, file_out, messageBecause of overhead of invoking sub-processes, it is best to use API that can process mulitple files in one batch, it is strongly recommended to use<ComStrip>.process(diffset:DiffSet)or<ComStrip>.process(files:list)to leverage the optimizations in those APIs.Seetest/hand_tests.pyfor implementation of the four API call types:diffset:DiffSet,diff:Diff,files:listandfile:str.Debug using VSCode after git checkoutIf you want to play around without having to install, just do a git checkout of the repo and add to your.vscode/settings.json:{
    "python.envFile": "${workspaceFolder}/dev.env"
}TODO:[.] Make proper installer for system to get comstrip command working without alias
[.] Port to Windows
[.] Verify in Cygwin and MacOs
[.] Build out proper testing
[.] Implement leading tab handling
Package: comt
Aboutcomt is an open source web application for annotating, discussing and
writing texts online.It’s the software that powers theco-ment web
service.ScreenshotsImportant note about this versionThis is version 2.6, the last one of the 2.x branch.We don’t intend to do further development on it, except fo bug fixes.If you’re interested in the project, either as a user or a potential
contributor, we recommend you try the upcoming 3.0 releases.FeaturesAnnotate, discuss, (re)write…… are the three main functions of comt. They open many possible uses:
school, corporate, legal, advocacy…Import cares for compatibilityThe import module of comt is compatible with many document formats to
let you import your existing texts into the site.Text editor insideYou can create new texts or edit your previously uploaded ones through
the text editor integrated into comt. To organize your text, choose
between 3 languages: the extended pandoc flavor of markdown
(recommended), HTML or RST.Export to good-looking printable formatsSimplified formatting of text in comt allows a high quality export.Several formats are available for export: PDF, Open Office, MS Word,
LaTex and HTML.A text’s lifeYou can edit your text, taking in account modification proposals from
commentators for example. comt allows version management. You can switch
back to a previous version any time and visualize changes between any
two versions. When you create a new one, you can keep the received
comments or discard them.Contributor and role managementCreate a working group easily around a text or a set of texts. Invite
your contributors on the fly and give them a common role or give some of
them a specific role: observer, commentator, moderator, editor or
manager.RSS feed, e-mail: choose your alert toolTo be alerted of new contributions to a text (new comment, new version),
a RSS feed and an e-mail alert system are provided for each text.The workspacecomt’s workspace gives you a global view of your group’s activity
(comments, new subscribers, new texts…) and a direct access to the
contents.You have a real-time view of your working group members, texts and
comments through the dashboard portlets. A precious tool for managing a
project in a paperless environment.Activity-meterYou can view your group’s activity at different levels (global, for a
specific text or member). You can adjust the graph’s time-frame: day,
week or month.Browse through comments easilyWhat if your text receives a lot of comments? You can display or browse
them according to the part of the text commented, their date of arrival,
their author or their tags.Technologycomt is based on Django on the back-end, with PostgreSQL, MySQL and
Sqlite3 as supported dababases, and YUI on the front-end.LicenseGNU AFFERO GENERAL PUBLIC LICENSE
(http://www.gnu.org/licenses/agpl.html) for software filesCC-BY (http://creativecommons.org/licenses/by/3.0/) for translation
filesInstallationSee theINSTALL.mdfile.More informationThe co-ment.com site.The GitHub project.Development mailing
list.
Package: comto-core
Core CommercitoНабор полезных функций для повседневной работы, которые сократят размер вашего кода.Их удобно использовать совместно с пакетом "comto-dadata".file.pyОтсортировать csv-файл по определенной колонкеЗаписать одну строку в csv-файлЗаписать несколько строк в csv-файлmix.pyВычесть из первого списка элементы второго спискаНайти элементы присутствующие в обоих спискахpath.pyПолучить все файлы из директории с полными путями (рекурсивно или нет)Получить путь к директории относительно текущейПолучить путь к текущей директорииregexp.pyОчистить строку от всех html-теговПолучить все символы из текста (кириллица или латиница)Получить все цифры из текстаtime.pyПолучить порядковый номер дня неделиПолучить UNIX-меткуПолучить текущие дату и времяДата и время в русском форматеДата и время в английском формате
Package: comto-dadata
DaData CommercitoПакет для работы с сервисом "dadata.ru".Его удобно использовать совместно с пакетом "comto-core".ИспользованиеПоиск адресовfromcomto_dadataimportaddresstoken='your-token'secret='your-secret'print(address.suggest(token,'москва твер'))print(address.geocoding(token,secret,"москва сухонская 11"))print(address.geocoding_reverse(token,'55.878','37.653'))print(address.by_ip(token,'46.226.227.20'))print(address.by_fias(token,'9120b43f-2fae-4838-a144-85e43c2bfb29'))print(address.postal_unit(token,'дежнева 2а'))print(address.delivery_uid(token,'3100400100000'))print(address.dict_by_fias(token,'9120b43f-2fae-4838-a144-85e43c2bfb29'))print(address.country(token,'DE'))Поиск компанийfromcomto_dadataimportcompanypayload={'query':'Иванов Александр','count':20,'status':["ACTIVE"],'locations':[{"kladr_id":"1300000100000"}],}response=company.suggest('your-token',payload)Справочникиfromcomto_dadataimporthandbookokved=handbook.okved('your-token','51.22.3')okpd=handbook.okpd('your-token','95.23.10.133')Личный кабинетfromcomto_dadataimportprofilestat=profile.stat('your-token','your-secret')balance=profile.balance('your-token','your-secret')version=profile.version('your-token')Парсинг ответа сервисаА. Поиск компанииimportjsonfromcomto_dadataimportcompanyfromcomto_dadataimportparseresponse=company.by_inn('your-token','1327048147')response=json.loads(response)items=response.get('suggestions')iflen(items):foriteminitems:person=parse.company(item)print(person)Пример результата парсинга ответа{"inn":"1327048147","fio":"Иванов Иван Иванович","type":"LEGAL","name":"ПУБЛИЧНОЕ АКЦИОНЕРНОЕ ОБЩЕСТВО \"ЗАСТРОЙЩИК \"ДОМОСТРОИТЕЛЬНЫЙ КОМБИНАТ\"","district":"Приволжский","region":"Респ Мордовия","kladr_region":"1300000000000","city":"г Саранск","kladr_city":"1300000100000","employee":78,"okved":"41.20","okveds":"41.20, 01.41, ..., 85.42"}Б. Поиск адресаimportjsonfromcomto_dadataimportaddressfromcomto_dadataimportparse# search = 'г Ярославль, ул Гагарина, д 12'search='Ярославская обл, деревня Кузнечиха, ул Центральная, д 37'response=address.suggest('your-token',search)response=json.loads(response)items=response.get('suggestions')iflen(items):foriteminitems:place=parse.address(item)print(place)Пример результата парсинга ответа{"address_full":"150023, Ярославская обл, г Ярославль, ул Гагарина, д 12","geo_lat":"57.588718","geo_lon":"39.844613","postal_code":"150023","federal_district":"Центральный","region_fias_id":"a84b2ef4-db03-474b-b552-6229e801ae9b","region_kladr_id":"7600000000000","place_fias_id":"6b1bab7d-ee45-4168-a2a6-4ce2880d90d3","place_kladr_id":"7600000100000","street_fias_id":"b53a43d6-5cea-448c-bc2b-e360a8561ae0","street_kladr_id":"76000001000014700","house_fias_id":"f30de2da-9115-4eef-a887-0ea1b6d34ff2","house_kladr_id":"7600000100001470030","fias_id":"f30de2da-9115-4eef-a887-0ea1b6d34ff2","fias_code":"76000001000000001470030","kladr_id":"7600000100001470030"}
Package: comtypes
comtypesAboutcomtypesis a lightweightPythonCOMpackage, based on thectypesFFI library.comtypesallows to define, call, and implement custom and dispatch-based COM interfaces in purePython.This package works on Windows only.comtypes==1.1.7is the last version supporting Windows CE.Available onPython3.7-3.12.comtypes==1.2.1is the last version supportingPython2.7 and 3.3-3.6.InPython3.7.6 and 3.8.1,comtypeswould not work as reported inGH-202.This bug has been fixed inPython>= 3.7.7 and >= 3.8.2.InPython3.8 and 3.9, some ofcomtypesfunctionalities may not work correctly as reported inGH-212.This bug has been fixed inPython>= 3.10.10 and >= 3.11.2.Where to get itThe source code is currently hosted on GitHub at:https://github.com/enthought/comtypesAn installer for the latest released version is available at thePython Package Index (PyPI).# PyPIpipinstallcomtypesDependenciescomtypesrequires no third-party packages to run - this is trulypurePythonpackage.Optional features include the follows...to process arrays asnumpy'sndarraytype hints be interpreted bymypyor several static type checkersBut these third-parties are not required as a prerequisite for runtime.Community of the developersTracking issues, reporting bugs and contributing to the codebase and documentation are on GitHub at:https://github.com/enthought/comtypesOngoing plansIn friendly modules, the names that were used as aliases forctypes.c_intwill be used for enumeration types implemented withenumcomtypes.client.GetModulegenerates twoPythonmodules in thecomtypes.genpackage with a single call.A first wrapper module is created with a long name that is derived from the type library guid, version number and lcid. It contains interface classes, coclasses, constants, and structures.A second friendly module is created with a shorter name derived from the type library name itself. It imports items from the wrapper module, and will be the module returned fromGetModule.In the currentcomtypesspecification, if a COM type kind is defined as an enumeration type, that type name is used as an alias forctypes.c_intin the wrapper module, and that symbol is imported into the friendly module.In future release, in friendly modules, their names will no longer be aliases forc_int. Instead, they will be defined as enumerations implemented withenum.When imported into the friendly module, the wrapper module will be aliased with an abstracted name (__wrapper_module__). This allows users to continue using the old definitions by modifying the import sections of their codebase.Please refer tothe GitHub issuefor details.For EnterpriseAvailable as part of the Tidelift Subscription.This project and the maintainers of thousands of other packages are working with Tidelift to deliver one enterprise subscription that covers all of the open source you use.Learn more.Documentation:The documentation is currently hosted on pythonhosted at:https://pythonhosted.org/comtypes
Package: comtypes-fork
comtypesis a lightweight Python COM package, based on thectypesFFI library, in less than 10000 lines of code (not counting the
tests).comtypesallows to define, call, and implement custom and
dispatch-based COM interfaces in pure Python.  It works on Windows and
64-bit Windows. Windows CE support was dropped since comtypes==1.1.8.Documentation:https://pythonhosted.org/comtypesContribute using thesource repository and issue trackeron GitHub.Mailing list:http://gmane.org/info.php?group=gmane.comp.python.comtypes.userhttps://lists.sourceforge.net/lists/listinfo/comtypes-users/Download:Releases can be downloaded in the PyPI page:https://pypi.python.org/pypi/comtypes
Package: comut
CoMutCoMut is a Python library for creating comutation plots to visualize genomic and phenotypic information.InstallationCoMut can be installed viapippip install comutColab QuickstartFor those who do not want to install Python or other packages, there is aGoogle Colab notebookwhere you can simply upload aMAFfile and run the notebook to make a basic comut. This file is also available as ajupyter notebookfor local use.CitationCoMut is now available on biorxivhttps://www.biorxiv.org/content/10.1101/2020.03.18.997361v1. If you use CoMut in a paper, please cite:Crowdis, J., He, M.X., Reardon, B., Van Allen, E.M. (2020). CoMut: Visualizing integrated molecular information with comutation plots. bioRxiv doi: 10.1101/2020.03.18.997361v1DocumentationThere is also aDocumentation notebookthat provides documentation for CoMut. It describes the fundamentals of creating comuts and provides the code used to generate the comut above.DevelopmentIf you would like to report a bug or request a feature, please do so using theissues pageDependenciesCoMut runs on python 3.6 or later. CoMut requires the following packages as dependencies (they will be installed along with CoMut if usingpip)numpy>=1.18.1
pandas>=0.25.3
palettable>=3.3.0
matplotlib>=3.3.1Versions0.0.3 - No code is changed, description updated for public release
0.0.2 - Introduce compatability for Python 3.60.0.1 - Initial release
Package: com.wyattbaldwin.cached-property
Cached PropertyProvides a thread safe@cached_propertydecorator that can be used
in place of the built in@propertydecorator for properties that are
expensive to compute or that aren't expected to change over the lifetime
of an instance.Usage>>> from cached_property import cached_property
>>> class MyClass:
...     @cached_property
...     def prop(self):
...         return 2 ** 42
...
>>> instance = MyClass()
>>> "prop" in instance.__dict__
False
>>> instance.prop  # value computed and cached
4398046511104
>>> "prop" in instance.__dict__
True
>>> instance.prop  # cached value returned directly
4398046511104
Package: com-wyattbaldwin-make-release
Make a ReleaseMake a release of a Python package. This automates the tedious steps you
need to go through to make a release--bumping the version number,
tagging, etc.It doesnot(currently) create distributions or upload them to PyPI.Usagemake-release --version 1.0 --next-version 2.0StepsBy default, all the following steps are run:Run the project's test suite (python -m unittest discoverby
default)Prepare the release by bumping the version number in various files and
setting the release date in the change log fileMerge the development branch into the target branch (e.g.,devtomain)Create an annotated tag pointing at the merge commit (or at the prep
commit when merging is disabled); if no tag name is specified, the
release version is used as the tag nameResume development by bumping the version to the next anticipated
versionAny of the steps can be skipped by passing the corresponding--no-<step>flag.Tag NameThe tag name can be specified as a simple format string template. The
projectnameand releaseversionwill be injected (see below in the
Configuration section for an example).ConfigurationConfiguration can be done inpyproject.tomlorsetup.cfg. This is
most useful if you want to permanently change one of the default
options.Use the long names of the command line options without the leading
dashes. For command line flags, set the value totrueorfalse(1and0also work).For example, if your project only uses a single branch, you could
disable the merge step like so inpyproject.toml.# pyproject.toml
[tool.make-release.args]
merge = false
tag-name = "{name}-{version}"
test-command = "my-test-runner"or like so insetup.cfg:# setup.cfg
[make-release.args]
merge = false
tag-name = {name}-{version}
test-command = my-test-runnerThis also shows how to specify a tag name template that's derived from
the packagenameand the releaseversion.Creating and Uploading DistributionOnce you've created a release with this tool, check out the tag for the
release and then run the following commands:poetry build           # if using poetry
python setup.py sdist  # if using pip/setuptools
twine upload dist/*    # in either caseNOTE: You'll need an account on pypi.org in order to upload
distributions withtwine.LimitationsOnly git repositories are supportedThe package name detection assumes the root directory (i.e., the git
repo name) is the same as the package nameFor the change log, only markdown files are supported; the change log
is expected to use second-level (##) headings for each version's
section (see this project'sCHANGELOG.mdfor an example)Doesn't build or upload distributions
Package: comyx
Comyx: Wireless Network SimulatorComyxis a Python library for simulating wireless communication systems. It usesNumPyandSciPyfor numerical computation, andNumbafor just-in-time (JIT) compilation. It provides a number of features for simulating wireless communication systems:B5G Features: Supports a variety of B5G specific features, such as STAR-RIS, and NOMA.Channel Models: Provides the AWGN, Rayleigh, and Rician fading models.Signal Modulation: Supports a variety of modulation schemes, such as BPSK, QPSK, and QAM.Performance Metrics: Can calculate a variety of performance metrics, such as the sum rate, and outage probability.To-DoUpdate documentationAdd network optimization supportAdd Reinforcement Learning (RL) supportInstallationYou can install the latest version of the package using pip:pipinstallcomyxNote: It is recommended to create a new virtual environment so that updates/downgrades of packages do not break other projects.Or you can clone the repository along with research code and perform an editable installation:gitclonehttps://github.com/muhd-umer/comyx.git
pipinstall-e.Advanced DependenciesExperimental - These libraries are not currently in-use, but will gradually be an integral part of the library.Install PyTorch (Stable):pipinstalltorchtorchvisiontorchaudio--index-urlhttps://download.pytorch.org/whl/cu118Install Ray for Reinforcement Learning:pipinstallray[default]pipinstallray[air]pipinstallray[tune]pipinstallray[rllib]pipinstallray[serve]
Package: conaction
ConActionProject DescriptionThe ConAction library provides mathematical functions that are inspired from the metaphor of the Trinity of Covariation as part of the MSc thesis of Galen Seilis.Supervisory Committee MembersSupervisor:Dr. Edward Dobrowolski(Department of Mathematics and Statistics, UNBC)Committee Member:Dr. Brent Murray(Department of Biology, UNBC)Committee Member:Dr. Mohammad El Smaily(Department of Mathematics and Statistics, UNBC)External Examiner:Dr. Anne Condon(Department of Computer Science)The code in this repository is intended to support researchers analyzing multivariate data.The thesis provides an extensive background reading for this package, and can be found at (link needed).InstallationConAction is available throughPyPi, and can be installed viapipusingpip install conactionorpip3 install conactionExample UsagefromconactionimportestimatorsimportnumpyasnpX=np.random.normal(size=1000).reshape((100,10))# Get a 100 x 10 data tableestimators.pearson_correlation(X)# Compute the 10-linear Pearson correlation coefficientDocumentationBuild documentation locally:cd/path/to/conaction/docs
makehtmlTutorialsComing soon.PublicationsComing soon.Citation@mastersthesis{seilisthesis2022,
  author  = "Galen Seilis",
  title   = "ConAction: Efficient Implementations and Applications of Functions Inspired by the Trinity of Covariation",
  school  = "University of Northern British Columbia",
  year    = "Unpublished",
  address = "3333 University Way, Prince George, British Columbia, V2N 4Z9, Canada",
  month   = "TBA",
}