semvec/pypi-packages huggingface dataset:
vkpot 0.5.6
Api for VK BotLongPoll
License: MIT
Requires Python: >=3.8


===========================================================================================
\\/vkpot\\/ – API для написания Bot LongPoll для соц. сети Вконтакте (vk.com) (API wrapper)


[?] Документация по методам API -> https://vk.com/dev/methods

   Пример:

	```python3.8.2

	import vkpot as vk

	token = "GROUP_ID:TOKEN"

	with BOT(token, prefix = '%') as bot:

		@bot.pre_start
		async def start():
			print('Запуск!')

		@bot.pre_end
		async def end():
			print('СТОП!')

		@bot.command(commands=['qq'])
		async def foo(event):
			await bot.message_send(message = "Привет!",
						peer_id = event['object']['peer_id'],
						from_id = event['object']['from_id'])

		@bot.event(content_type=[MESSAGE_NEW])
		async def boo(event: MessageEvent):
			key = vk.KeyBoard(inline = True)
			key.add_button(label = '+',color = vk.POSITIVE)
			key.add_button(label = '-',color = vk.NEGATIVE)
			await bot.message_send(message = "&#8194;",
						peer_id = event.object.peer_id,
						from_id = event.object.from_id,
						keyboard= key.get())
	```

[?] Установка 
----------------
    $ pip install vkpot
papernetwork 0.1.2
Collect and analyze scientific literature from Semantic Scholar
License: MIT

papernetwork
=============


.. image:: https://img.shields.io/pypi/v/papernetwork.svg
    :target: https://pypi.python.org/pypi/papernetwork
    :alt: Latest PyPI version

.. image:: https://travis-ci.com/EvdH0/papernetwork.svg?token=Fxxpxvyc3NhNSDqPmztx&branch=master
   :target: https://travis-ci.com/EvdH0/papernetwork
   :alt: Latest Travis CI build status

Collect and analyze scientific literature from Semantic Scholar

Examples
--------

Basic example of loading data from `Semantic Scholar <https://www.semanticscholar.org/>`_ via the `API <https://api.semanticscholar.org/>`_, be sure to read the `dataset license agreement <https://api.semanticscholar.org/corpus/legal/>`_::

    from papernetwork import PaperNetwork, Paper, PaperList

    # Define a list of DOI's you would like to download
    list_of_dois = ['10.1093/nar/gkw1328', '10.1128/CMR.00016-17', '10.1038/s41564-019-0626-z']

    # Pull the papers from semanticscholar.org via the API and parse them
    my_network = PaperNetwork(doi_list=list_of_dois)

    # Show the titles in the PaperNetwork object
    print(my_network)  # Rapid resistome mapping using nanopore sequencing, Whole-Genome Sequencing of Bacterial Pathogens: the Future of Nosocomial Outbreak Analysis., Rapid MinION profiling of preterm microbiota and antimicrobial-resistant pathogens

    # The papers are internally stored in a OrderedSet-like object, accessible via the collection 
    my_collection = my_network.collection

    # The papers themselves are individually stored in a Dict-like object
    my_paper = my_collection[0]  # Take the first paper in the list


    print(my_paper['title'])

    # They keys of the object are defined by the Semantic Scholar API, see https://api.semanticscholar.org/
    # To get an overview of the available keys
    for key, value in my_collection[0].items():
        print(key)

    # Currently the following keys are supplied by semanticscholar.org
    # arxivId
    # authors
    # citationVelocity
    # citations
    # corpusId
    # doi
    # fieldsOfStudy
    # influentialCitationCount
    # is_open_access
    # is_publisher_licensed
    # paperId
    # references
    # title
    # topics
    # url
    # venue
    # year 


A more elaborate example can be found in the `examples directory <examples/simple_example.py>`_ to get started.

More detailed usage can be found in the `test directory <tests/test_papernetwork.py>`_ as well.

Run using::

    python -m examples.simple_example


Installation
------------
Use pip to `install papernetwork from
PyPI <https://pypi.python.org/pypi/papernetwork>`_ (recommend doing this
inside a `virtual
environment <http://docs.python-guide.org/en/latest/dev/virtualenvs/>`_)::

    pip install papernetwork

Or from source::

    git clone --recursive https://github.com/evdh0/papernetwork.git
    cd papernetwork
    python setup.py install



Licence
-------
The MIT License (MIT)


Authors
-------

`papernetwork` was written by `Eric van der Helm <i@iric.nl>`_.
cosmic-ray-spor-filter 1.0.0
Spor-based filter for Cosmic Ray mutation testing
License: MIT

======================
cosmic-ray-spor-filter
======================

Spor-based filter for Cosmic Ray mutation testing.

The filter scans a Cosmic Ray session, looking for spor anchors attached to files in the session. If it finds an anchor
with the metadata `{mutate: False}`, then that mutation is marked as "skipped".

Example
=======

Assume you've got a directory structure like this::

  project_root/
      .spor/
         ...anchors...
      cr-session.sqlite
      src/
         ...project source...

If you run this command::

  cosmic-ray-spor-filter cr-session.sqlite

will look at each job scheduled in `cr-session.sqlite`. If the file referenced in job has an anchor in the `.spor`
directory *and* if that anchor has `{mutate: False}` in its metadata, then that job will be skipped.