Saravanan666/pypi-org huggingface dataset:
Package: nomad-envoy-utils-cli
nomad-envoy-utils-cliThis is the API descriptor for the EC Platform and customs utils. Developed bySamarkand Global, EC Platform includingYouzanRead the documentation online atNomad API Suite. - Install for python withpip install nomad_envoy_utils_cli- Install for node withnpm install nomad_envoy_utils_cliThis Python package is automatically generated by theOpenAPI Generatorproject:API version: 1.3.0Package version: 1.3.0Build package: org.openapitools.codegen.languages.PythonClientCodegenRequirements.Python 2.7 and 3.4+Installation & Usagepip installIf the python package is hosted on a repository, you can install directly using:pipinstallgit+https://github.com/GIT_USER_ID/GIT_REPO_ID.git(you may need to runpipwith root permission:sudo pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git)Then import the package:importnomad_envoy_utils_cliSetuptoolsInstall viaSetuptools.pythonsetup.pyinstall--user(orsudo python setup.py installto install the package for all users)Then import the package:importnomad_envoy_utils_cliGetting StartedPlease follow theinstallation procedureand then run the following:from__future__importprint_functionimporttimeimportnomad_envoy_utils_clifromnomad_envoy_utils_cli.restimportApiExceptionfrompprintimportpprint# Defining host is optional and default to https://nomad-envoy-utils.samarkand-global.cnconfiguration.host="https://nomad-envoy-utils.samarkand-global.cn"# Enter a context with an instance of the API clientwithnomad_envoy_utils_cli.ApiClient(configuration)asapi_client:# Create an instance of the API classapi_instance=nomad_envoy_utils_cli.HealthApi(api_client)try:# healthapi_response=api_instance.get_health()pprint(api_response)exceptApiExceptionase:print("Exception when calling HealthApi->get_health:%s\n"%e)Documentation for API EndpointsAll URIs are relative tohttps://nomad-envoy-utils.samarkand-global.cnClassMethodHTTP requestDescriptionHealthApiget_healthGET/healthhealthHealthApiget_metricsGET/metricsmetricsPlatformApibatch_operate_cypherPOST/platform/cyphercypherDocumentation For ModelsApiResponseApiResponseDataCypherCypherOperationDocumentation For Authorizationca_keyType: API keyAPI key parameter name: AuthorizationLocation: URL query stringca_stageType: API keyAPI key parameter name: x-ca-stageLocation: HTTP headerAuthorpaul@samarkand.globalDemoimportnomad_envoy_utils_clifromnomad_envoy_utils_cli.modelsimportCypher,CypherOperationconfiguration=nomad_envoy_utils_cli.Configuration()configuration.host="https://nomad.samarkand-global.cn"# Enter a context with an instance of the API clientwithnomad_envoy_utils_cli.ApiClient(configuration)asapi_client:api_client.set_default_header("Authorization","APPCODE test")api_instance=nomad_envoy_utils_cli.PlatformApi(api_client)cypher=Cypher(store_id="samarkand.youzan.kuiseng",operation=CypherOperation.DECRYPTBATCH,items=["$Kg7PP/qJTnIYX+22Y2pa+A==$1$"])try:api_response=api_instance.batch_operate_cypher(cypher=cypher)print(api_response,api_response.data)exceptExceptionase:print("Exception :%s\n"%str(e))
Package: nomad-material-processing
NOMAD's Material Processing PluginThis is a plugin forNOMADwhich contains base sections for
material processing.Getting startednomad-material-processingcan be installed from PyPI usingpip:pipinstallnomad-material-processingDevelopmentThis code is currently under development and for installing and contributing you should clone the repository:gitclonegit@github.com:FAIRmat-NFDI/nomad-material-processing.gitcdnomad-material-processingAnd install the package in editable mode:pipinstall-e.
Package: nomad-measurements
NOMAD's Measurements PluginThis is a plugin forNOMADwhich contains base sections for
materials science measurements.Getting startednomad-measurementscan be installed from PyPI usingpip.
Currently we require features innomad-labwhich are not published to PyPI.
In order to install these a--index-urlneeds to be provided:pipinstallnomad-measurements--index-urlhttps://gitlab.mpcdf.mpg.de/api/v4/projects/2187/packages/pypi/simpleSetting up your OASISRead theNOMAD plugin documentationfor all details on how to deploy the plugin on your NOMAD instance.You need to modify thenomad.yamlconfiguration file of your NOMAD instance.
To include, for example, the XRD plugin you need to add the following lines: .plugins:include:-'parsers/nomad_measurements/xrd'options:parsers/nomad_measurements/xrd:python_package:nomad_measurements.xrdDevelopmentThis code is currently under development and for installing and contributing you should clone the repository:gitclonegit@github.com:FAIRmat-NFDI/nomad-measurements.gitcdnomad-measurementsAnd install the package in editable mode with the development ('dev') dependencies:pipinstall-e.[dev]
Package: nomad-media-pip
PrerequisitesInstall the following packages using pip.pipinstalltwine
pipinstallbuild
pipinstallpoetryBuild and PublishTo build the package, run the following command in the root directory of the project..\publishIt will prompt you to enter your username and password for PyPl. After entering the credentials, the files will be uploaded to PyPl.If you want to set it up to not ask for your credentials every time, create a file called.pypircin your home directory and add the following content to it.[pypi]
username = __token__
password = pypi-<your-token>
Package: no-manylinux
no-manylinuxInstall this package to disable manylinux wheels when downloading from pip.Usage# First install no-manylinux
pip install no-manylinux
# Now subsequent invocations of pip will ignore manylinux wheels
pip install ...
# To restore the original behaviour, simply `pip uninstall no-manylinux`NoteThis package was previously calledno-manylinux1but now addresses the
following manylinux standards:manylinux1manylinux2010manylinux2014What? Why?The manylinux spec requires compliant packages to vendor binary dependencies
inside the wheel that is distributed.  Take for example a library which would
(prior to manylinux) dynamically link againstlibssl.  Aslibsslreceived
security patches, the system binaries would received updates from the OS's
package manager.  The python library which dynamically links would receive
these updates for free without need to recompile, reinstall, etc.  Under
manylinux,libsslis vendored inside the wheel.  To receive security
updates, you have to wait for the upstream to produce a new wheel and need to
know to install a new version of that library.  There's almost no visibility
about these vendored wheels which makes managing them at scale impossible.  As
such, some may choose to ignore this standard.Linkshttps://stackoverflow.com/q/37231799/812183https://github.com/pypa/pip/issues/3689https://github.com/pypa/pip/issues/3689#issuecomment-219437150
Package: no-manylinux1
no-manylinux1Install this package to disable manylinux1 wheels when downloading from pip.Usage# First install no-manylinux1
pip install no-manylinux1
# Now subsequent invocations of pip will ignore manylinux1 wheels
pip install ...
# To restore the original behaviour, simply `pip uninstall no-manylinux1`What? Why?The manylinux1 spec requires compliant packages to vendor binary dependencies
inside the wheel that is distributed.  Take for example a library which would
(prior to manylinux1) dynamically link againstlibssl.  Aslibsslreceived
security patches, the system binaries would received updates from the OS's
package manager.  The python library which dynamically links would receive
these updates for free without need to recompile, reinstall, etc.  Under
manylinux1,libsslis vendored inside the wheel.  To receive security
updates, you have to wait for the upstream to produce a new wheel and need to
know to install a new version of that library.  There's almost no visibility
about these vendored wheels which makes managing them at scale impossible.  As
such, some may choose to ignore this standard.Linkshttps://stackoverflow.com/q/37231799/812183https://github.com/pypa/pip/issues/3689https://github.com/pypa/pip/issues/3689#issuecomment-219437150
Package: nomark
Nomark - Notion to markdown exporterNomarkis the Notion to markdown exporter with image hosting use google drive.
Use the notion as a WYSIWYG editor for a static blog with no matter about uploading images.This readme is also written in notion and exported by using the Nomark.https://abit.ly/nomark-example← check thisHow to useInstall nomarkpipinstallnomarkDownload the google drive api tokenhttps://developers.google.com/drive/api/v3/quickstart/pythonVisit link to enable google drive api. Click the "Enable the Drive API" and download thecredential.jsonin to~/.cred/credential.jsonGet your notion api tokenYou need to obtain your token for using notion api.
Go tohttp://notion.soand open chrome developer tools. Open "Application" tab → "Storage" → "Cookies" and copy thetoken_v2Value.And export the notion token to variableexport NOTION_TOKEN=token_v2_value. Paste it in to~/.bashrcGet notion article urlSet your article shareable and copy the link.Run nomark$nomarkhttp://www.notion.so/your_article_urlRequirementspython 3.7+
Package: nome
nomeA Python CLI to check if a package name is available inPyPIornpm.ReferencesEwen Le Bihan'scheck_availabilityCLI.Anton Zhiyanov'sHow to make an awesome Python package in 2021blog post (repo).Development - Contributingpage (FastAPI documentation).DevelopmentCurrent version of Python used for development:Python 3.6.13.To set up the environmentpython -m venv env.source ./env/bin/activate.Runwhich pipto see if it worked. The path must end inenv/bin/pip.Note: Whenever you install a new package withpipin this environment, activate it again.pip install flit==3.2.0.Requests is one of the dependencies.Documentation.flit install --deps develop --symlink.To install all dependencies andnomein the local environment.For Windows, replace--symlinkwith--pth-file.To activate the environmentsource ./env/bin/activate.DeploymentBump version (nome/__init__.pyfile).flit publish.NotesWhy isn't my desired project name available?:requirements.txtis a prohibited project name.stdlib-listpackage.Python (3.6) Module Index.Flit:Python packaging tool.FastAPIuses it (pyproject.tomlfile).Flit replaces setuptools, so you don't need theMANIFEST.in,setup.py, and/orsetup.cfgfiles (source).It is possible to add"Private :: Do Not Upload"to theclassifierslist to prevent a private project from being uploaded to PyPI.Conventional Commits.IceCreampackage: alternative toprint()for debugging.python -m venv envorpython3 -m venv env(virtual environment withvenv).cookiecutter-hipster-pypackage: it combines Pipenv and Flit.packagingpackage:pip install packaging.Version specifiersdocumentation.Runpython requests_version.py.whey(Python wheel builder).Cleo 0.8.1:Does not expose verbosity flags(open) issue.nome = "nome.application:application.run"(more infohereandhere).VSCodeThemes(website to preview themes).Palenight Theme.HTTP response status codes..pypircfile[distutils]index-servers=pypi[pypi]username=joaopalmeiro
Package: nomenclature-iamc
nomenclature - Working with IAMC-format project definitionsCopyright 2021-2023 IIASAThis repository is licensed under the Apache License, Version 2.0 (the "License"); see
theLICENSEfor details.OverviewThenomenclaturepackage facilitates validation and processing of scenario data.
It allows managing definitions of data structures for model comparison projects and
scenario analysis studies using the data format developed by theIntegrated Assessment Modeling Consortium (IAMC).A data structure definition consists of one or several "codelists".
A codelist is a list of allowed values (or "codes") for dimensions of IAMC-format data,
typicallyregionsandvariables. Each code can have additional attributes:
for example, a "variable" has to have an expected unit and usually has a description.
Read theSDMX Guidelinesfor more information on
the concept of codelists.Thenomenclaturepackage supports three main use cases:Management of codelists and mappings for model comparison projectsValidation of scenario data against the codelists of a specific projectProcessing of scenario results, e.g. aggregation and renaming from "native regions" of
a model to "common regions" (i.e., regions that are used for scenario comparison in a project).The documentation is hosted onRead the Docs.Integration with the pyam packageThenomenclaturepackage is designed to complement the Python packagepyam,
an open-source community toolbox for analysis & visualization of scenario data.
Thepyampackage was developed to facilitate working with timeseries scenario data
conforming to the format developed by the IAMC. It is used in ongoing assessments by
the IPCC and in many model comparison projects at the global and national level,
including several Horizon 2020 & Horizon Europe projects.The validation and processing features of thenomenclaturepackage
work with scenario data as apyam.IamDataFrameobject.Read thepyamDocsfor more information!Getting startedTo install the latest release of the package, please use the following command:pipinstallnomenclature-iamcAlternatively, it can also be installed directly from source:pipinstall-egit+https://github.com/IAMconsortium/nomenclature#egg=nomenclatureSee theUser Guidefor the main use cases of this package.AcknowledgementThis package is based on the work initially done in theHorizon 2020
openENTRANCEproject, which aims to  develop, use and
disseminate an open, transparent and integrated  modelling platform for assessing
low-carbon transition pathways in Europe.Refer to theopenENTRANCE/openentrancerepository for more information.This project has received funding from the European Union’s Horizon
2020 research and innovation programme under grant agreement No. 835896.
Package: nomhsms
nomhsmsnomhsms is an open-source Python package for processing high resolution mass spectra. The name is an acronym for Natural Organic Matter & Humic Substances Mass Spectrometry, so package designed for analysis natural organic matter (NOM) which are represent such substances as dissolve organic matter (DOM), humic substances, lignin, biochar and other objects of oxidative destruction of natural compounds which are characterized by thousands of signals in the mass spectrum and require special methods for analysis. The package implements a full-fledged workflow for processing, analysis and visualization of mass spectrum. Various algorithms for filtering spectra, recalibrating and assignment of elemental composition to ions are presented. The package implements methods for calculating different molecular descriptors and methods for data visualization. A graphical user interface (GUI) for package has been implemented, which makes this package convenient for a wide range of users.Main operation:Assigning element composition to signal by mass with desirable ranges of elements (include isotopes)Fine recalibrate spectrumWorking with spectra as with sets (intersection, union, etc.)Plot spectrum and different kind of scatter and density diagram such as Van Krevelen diagramCalculate similarity metrics between spectraCalculate molecular descriptors (DBE, AI, NOSC, CRAM and other) for spectraDocumentationDocumentation and examples of usage is placedhere. Also, you can explore jupyternotebooksInstallRequirements:Python 3.8 or higherInstall nomhsms and dependences by pip:pip install nomhsmsGraphical interfaceAfter installation nomhsms you can run GUI by the command:python -m nomhsmsThe GUI is pretty basic and not very flexible but it supports all basic operation.How to contribute or ask questionIf you want to ask question or contribute to the development of nomhsms, have a look at thecontribution guidelines.LicenseDistributed underlicense GPLv3
Package: nomics-python
nomics-pythonA Python wrapper for theNomics Crypto Market Data API.  For some context, Nomics is acrypto market cap and pricing data provider.DisclaimerAlthough the api call descriptions are from the official documentation, this is an unofficial API wrapper.Getting StartedBefore using the Nomics API, sign up for afree API key here.To install the wrapper, enter the following into the terminal.pipinstallnomics-pythonEvery api call requires this api key. Make sure to use this key when getting started.fromnomicsimportNomicsnomics=Nomics("This-Is-A-Fake-Key-123")markets=nomics.Markets.get_markets(exchange='binance')Wrapper WikiMore information on all of the different API methods are available on the Github wiki pagehere.ContributingThis project is open for contributions! Teamwork makes the dream work.
Package: nomiden
nomidenWhat is it?nomidenis a Python package that provides information extraction from Indonesian ID Numbers, i.e. personal ID number NIK (Nomor Induk Kependudukan) and family ID number KK (Kartu Keluarga). This package is intended to help users dealing with population and client data to auto-complete missing data or add valuable information, given the ID numbers. Information regarding identity numbers refers to Article 33 of Government Regulation Number 37 of 2007 (Pasal 37 PP Nomor 37 Tahun 2007).Main FeaturesHere are the things thatnomidencan do for you:Retreive regional informationProvinceCityDistrictRetreive gender information (NIK only)Retreive birth information (NIK only)AgeBirthday (e.g. 15 June 2000)Birth dateBirth monthBirth yearBirth in datetimeRetreive registration information (KK only)Registration day (e.g. 15 June 2000)Registration dateRegistration monthRegistration yearRegistration in datetimeRegistration orderComplete information in a dictionaryWhere to get itThe source code is currently hosted on GitHub at:https://github.com/divakartika/nomidennomidenis available at thePython Package Index (PyPI).pipinstallnomidenRequirements & DependenciesPython 3.7 and abovePandas - Supports data-related operationsLicenseMITDocumentationhttps://nomiden.readthedocs.ioDevelopmentThis package was built under Python 3.10.8 for Windows 10 and passed the Github Actions: Python package tests under Python 3.8, 3.9, and 3.10 for Ubuntu-latest, MacOS-latest, Windows-latest. To contribute for development, please userequirements.txt.Data SourceRegion code data used in this package is retrieved fromkodewilayahbased on the Regulation of the Minister of Home Affairs number 72 of 2019 (Permendagri No. 72 tahun 2019).Release Notesv0.0.7Bug fixes and performance improvement.v0.0.6ReturnNaNif birth date (NIK) or registration date (KK) is invalid.v0.0.5ReturnNaNif region code is invalid.Getting Help & DiscussionFor usage questions and development discussions, feel free to contactdiva@algorit.ma.
Package: nominally
nominally: a maximum-strength name parser for record linkage🔗 NamesNominallysimplifies and parses a personal name written inWestern name orderinto six core fields: title, first, middle, last, suffix, and nickname.Typically,nominallyis used to parse entire lists orpd.Seriesof names en masse. This package includes a command line tool
to parse a single name for convenient one-off testing and examples.Nominallyproduces fields intended for comparisons between or within datasets. As such, names come out formatted for data without regard to human syntactic preference:de von ausfern, mr johann grather thanMr. Johann G. de von Ausfern.📓 Getting StartedCallparse_name()to parse out the six core fields:$ python -q
>>> from nominally import parse_name
>>> parse_name("Blankinsop, Jr., Mr. James 'Jimmy'")
{
  'title': 'mr',
  'first': 'james',
  'middle': '',
  'last': 'blankinsop',
  'suffix': 'jr',
  'nickname': 'jimmy'
}Dive into theNameclass to parse and recreate a string...>>> from nominally import Name
>>> n = Name("DR. PEACHES BARTKOWICZ")
>>> n
Name({'title': 'dr', 'first': 'peaches', 'middle': '', 'last': 'bartkowicz', 'suffix': '', 'nickname': ''})
>>> str(n)
'bartkowicz, dr peaches'...or use the dict...>>> dict(n)
{
  'title': 'dr',
  'first': 'peaches',
  'middle': '',
  'last': 'bartkowicz',
  'suffix': '',
  'nickname': ''
}
>>> list(n.values())
['dr', 'peaches', '', 'bartkowicz', '', '']...or retrieve a more elaborate set of attributes...>>> n.report()
{
  'raw': 'DR. PEACHES BARTKOWICZ',
  'cleaned': {'dr peaches bartkowicz'},
  'parsed': 'bartkowicz, dr peaches',
  'list': ['dr', 'peaches', '', 'bartkowicz', '', ''],
  'title': 'dr',
  'first': 'peaches',
  'middle': '',
  'last': 'bartkowicz',
  'suffix': '',
  'nickname': ''
}...or capture individual attributes.>>> n.first
'peaches'
>>> n['last']
'bartkowicz'
>>> n.get('title')
'dr'
>>> n.raw
'DR. PEACHES BARTKOWICZ'🖥️ Command LineFor a quick report, invoke thenominallycommand line tool:$ nominally "DR. PEACHES BARTKOWICZ"
       raw: DR. PEACHES BARTKOWICZ
   cleaned: dr. peaches bartkowicz
    parsed: bartkowicz, dr peaches
      list: ['dr', 'peaches', '', 'bartkowicz', '', '']
     title: dr
     first: peaches
    middle:
      last: bartkowicz
    suffix:
  nickname:🔬 Worked ExamplesBinder hosts live Jupyter notebooks walking through examples ofnominally.These notebooks and additional examples residein the Nominally Examples repository.🧙‍ Author💡 AcknowledgementsNominallystarted as a fork of thepython-nameparserpackage,
and has benefitted considerably from this origin⸺especially the wealth of examples and tests developed for python-nameparser.
Package: nominat
Nominat is a Python library that renames identifiers (variable names, class names etc.) that it is given. Identifiers consisting of several words, separated either by underscores (pet_names) or case (errorMessage) are separated into their constituent words, which are then replaced.To allow the anonymized names to still make some sense in relation to each other, once a replacement for a word has been chosen, it will consistently be reused. In addition,nominatis case-insensitive but also case-preserving. This looks like this:>>>nom=nominat.nominator()>>>nom('pet_names')'brilliant_failure'>>>nom('friendNames')'programFailure'>>>nom('ERROR_MESSAGE')'SECTOR_PRIEST'
Package: nomit
Nomit is a small library that can be used to process HTTP/XML POST
requests fromMonitinstances. While it is a relatively trivial adaption
of Python’sBaseHTTPRequestHandler, it may be useful to multiple
other projects. For this reason Nomit is registered as its own little
project.Monitis a free utility for managing Unix systems. Multiple Monit
instances can be centrally managed by its sister project MMonit.
Monit communicates with MMonit through HTTP/XML POST request.RequirementsNomit uses thelxml.objectifymodule from thelxmlproject. Many Linux
distributions providelxmlin their native package format.TheMonitHandlerclassNomit provides a single classMonitHandlerwhich is a sub-class ofBaseHTTPRequestHandler.MonitHandleris meant to be sub-classed
itself.It provides two methods:handle_unparsed()is called with the raw XML of the HTTP/XML POST request.handle_parsed()is called after the XML has been parsed bylxml.objectify.fromstring().The default implementation of these methods does nothing. Any derived class must
implement these methods as necessary.ExampleThe example below implementshandle_unparsed()to print the raw XML as
POSTed by the Monit agent and useshandle_parsed()to display the data
structure returned bylxml.objectify.fromstring():import BaseHTTPServer
import xml.dom.minidom
import lxml.objectify
import nomit

class ExampleHandler(nomit.MonitXmlHandler):
    def handle_unparsed(self, s):
        print xml.dom.minidom.parseString(s).toprettyxml()

    def handle_parsed(self, o):
        print lxml.objectify.dump(o)

server = BaseHTTPServer.HTTPServer(("127.0.0.1", 2811), ExampleHandler)
server.serve_forever()Monit configurationThe Monit agent must be told to POST status information to the Python
script above. From the agent’s point of view the script is simply (another[1]_)
MMonit server.monit.conf:set mmonit http://monit:monit@mmonit.example.com:8080/collector
           http://localhost:2811/_[1] Theset mmonitdirective accepts multiple URLs.