Saravanan666/pypi-org huggingface dataset:
Package: meety
Meety - quickly start online meetings from YAMLProblem.Online meetings provide a useful means to communicate with others. With an increasing number of meetings, however, it can get difficult to remember or pick the right meeting location, user id, password and so on.Goal.Meetyaims to provide a quick and easy way to start the right online meeting from a list of predefined meetings. Meetings are defined in YAML, a clean and simple format that is well readable for humans and machines alike. Thus, you canview and edit the meetings with your favourite text editor andsensibly share them with other users, even if they don't useMeety.
(Think of conferences, lectures, ...)Features.Meetycan can load meetings from one or multiple YAML files. The meetings can be filtered by time preferences and/or keywords. After choosing a meeting,Meetywill try to connect to it based on the information the meeting provides.Out of the box,Meetysupports meetings via the browser and via theZoomapp. However, the application can easily be configured to handle other types of meetings too, as described in the documentation.Meetyships with a graphical user interface (programmeety) and with a command line interface (programcmeety).Meetings are specified in YAML and may look like this.# FIRST MEETING (Coffee round with colleagues, every morning)
- name: Coffee
  zoom-url: https://zoom.us/j/123456789
  prefer: Monday to Friday, 9 to 10 o'clock
  # short format for time specifications (also for other languages)

# SECOND MEETING (lecture, each Tuesday and Thursday)
- name: My favourite lecture
  url: https://my-university.edu/my-fav-lecture
  prefer:
    - weekday: Tuesday
      time: 12:00 - 14:00
      date: 2020-10-01 - 2021-03-31
    - weekday: Thursday
      time: 14:00 - 16:00
      date: 2020-10-01 - 2021-03-31
  # explicit format for time specifications (also for other languages)

# THIRD MEETING (without time preferences)
- name: Another meeting
  zoom-id: 987-654-321More informationcan be found in the extendedREADME on GitHub.
Package: meg
Meg: a MATLAB engine connector in PythonMeg is a Python module to interface with the MATLAB engine, allowing to transfer data between Python and MATLAB, and to call MATLAB code from Python.Assuming you can runmatlabfrom the command line (i.e. the main MATLAB executable is in your PATH), using Meg is as simple as:importmegimportnumpywithmeg.Engine()asengine:data=numpy.empty((4,3))# Copy Python data to the engineengine["data"]=data# Execute MATLAB instructionsengine("count = numel(data)")# Get data from MATLABprint(engine["count"])Meg can be installed as any Python package: get the latest stable version fromPyPiusing pip (e.g.python3 -m pip install meg) or clone thesource codeand add it to your Python path.Connecting to MATLABThe main workhorse of Meg is theEngineobject: it must be started before sending data between Python and MATLAB. An engine can be started (and automatically stopped) using the following syntax:importmegwithmeg.Engine()asengine:# Interact with MATLABpass# Once we reach this point, the engine has been automatically stopped.Note that once an engine is stopped, all data stored inside which has not been transfered to Python is lost.It is also possible to manually start and stop the engine:importmeg# Create the engine, but do not start itengine=meg.Engine()engine.open()# Interact with MATLABengine.close()For more complicated environment (e.g. multiple versions of MATLAB, executable not in PATH, etc.), it is possible to specify the root directory of your target installation of MATLAB, and the explicit command to run when starting the engine:importmeg# Target a specific installation of MATLABmeg.setup("/opt/MATLAB/R2012b")# Start the engine with a non-default commandwithmeg.Engine("/opt/MATLAB/R2012b/bin/matlab -nosplash")asengine:passGetting data to and from MATLABData can be exchanged between Python and MATLAB using theEngineobject: to store the content of the Python object namefooin the MATLAB object calledbar, simply writeengine["bar"] = foo. The reverse operation (storing the content of the MATLAB object calledbarto a Python object calledfoo), writefoo = engine["bar"].Numbers (and number containers) are translated as-is between MATLAB and Python. From Python, list, tuples and numpy arrays will be converted to MATLAB numeric arrays; from MATLAB, numeric arrays will be converted either to Python scalars or to numpy arrays.From Python, heterogeneous containers (lists, tuples or numpy arrays containing object of different types) will be converted to MATLAB cell arrays; from MATLAB, cell arrays will be converted to numpy arrays.From Python, dictionaries and structured numpy arrays are converted to MATLAB struct arrays, and the same applies to the reverse conversion.Calling MATLAB codeMATLAB statements are run by calling the engine object: assuming you have stored an object calledxin MATLAB, computing the number of elements in it is done throughengine("count = numel(x)"). Note that objects are not automatically exchanged between Python and MATLAB: they must be explicitely stored in the MATLAB engine before using them in MATLAB code.
Package: mega
Megamegais an asynchronous web scraper for download links (primarily from Mega) of content such as movies, TV shows, music albums, and more.Table of ContentsSetupGetting StartedUsageLicenseSetupCreate an account athttps://forum.snahp.it/Install mega:pip install megaCreate mega's configuration file:mega config createGetting StartedFirst, set your credentials in the configuration file:$megaconfiguser.nameUSERNAME
$megaconfiguser.passPASSWORDTo check that they're correct, run the above commands but omit USERNAME and PASSWORD.Next, select the categories you want to check out:$megaconfigdefaultsAfter applying your selected categories, you can their view their contents with:$megaUsageusage:mega[OPTIONS]megabringsyouthelatestcontentassoonasitsavailable.

Generaloptions:-h,--helpShowthishelpmessageandexit--versionShowprogramversionandexit--config,configActivateconfigurationmode--search,searchActivatesearchmode

Configurationoptions:user.name[NAME]Showcurrentusernameoraddusernameto.megarcuser.pass[PASS]Showcurrentpasswordoraddpasswordto.megarcuser.credsShowcurrentusernameandpassworddefaultsSelectcategoriestorequestcontentfromcreateCreateconfigurationfile

Movement:NormalandSearchmodejPagedownkPageupbBacktosearch(searchmodeonly)qQuitDefaultmodej,↑Moveupalistingorcategoryk,↓Movedownalistingorcategoryl,ENTERSelectlisting,category,ormenuoption→,←MovetomenuLicenseAll files within this repo are released under theMIT (OSI) Licenseas per theLICENSEfile stored in the root of this repo.
Package: megablocks
:robot: MegaBlocksMegaBlocks is a light-weight library for mixture-of-experts (MoE) training. The core of the system is efficient "dropless-MoE" (dMoE,paper) and standardMoElayers.MegaBlocks is built on top ofMegatron-LM, where we support data, expert and pipeline parallel training of MoEs. We're working on extending more frameworks to support MegaBlocks.:rocket: PerformanceMegaBlocks dMoEs outperform MoEs trained withTutelby up to40%compared to Tutel's best performingcapacity_factorconfiguration. MegaBlocks dMoEs use a reformulation of MoEs in terms of block-sparse operations, which allows us to avoid token dropping without sacrificing hardware efficiency. In addition to being faster, MegaBlocks simplifies MoE training by removing thecapacity_factorhyperparameter altogether. Compared to dense Transformers trained withMegatron-LM, MegaBlocks dMoEs can accelerate training by as much as2.4x. Check out ourpaperfor more details!:building_construction: InstallationNOTE: This assumes you havenumpyandtorchinstalled.Training models with Megatron-LM:We recommend using NGC'snvcr.io/nvidia/pytorch:23.09-py3PyTorch container. TheDockerfilebuilds on this image with additional dependencies. To build the image, rundocker build . -t megablocks-devand thenbash docker.shto launch the container. Once inside the container, install MegaBlocks withpip install .. SeeUsagefor instructions on training MoEs with MegaBlocks + Megatron-LM.Using MegaBlocks in other packages:To install the MegaBlocks package for use in other frameworks, runpip install megablocks. For example,Mixtral-8x7Bcan be run withvLLM+ MegaBlocks with this installation method.Extras:MegaBlocks has optional dependencies that enable additional features.Installingmegablocks[quant]enables configurable quantization of saved activations in the dMoE layer to save memory during training. The degree of quantization is controlled via thequantize_inputs_num_bits,quantize_rematerialize_num_bitsandquantize_scatter_num_bitsarguments.Installingmegablocks[gg]enables dMoE computation with grouped GEMM. This feature is enabled by setting themlp_implargument togrouped. This is currently our recommended path for Hopper-generation GPUs.MegaBlocks can be installed with all dependencies via themegablocks[all]package.:steam_locomotive: UsageWe provide scripts for pre-training Transformer MoE and dMoE language models under thetop-level directory. The quickest way to get started is to use one of theexperiment launch scripts. These scripts require a dataset in Megatron-LM's format, which can be created by following theirinstructions.:writing_hand: Citation@article{megablocks,
  title={{MegaBlocks: Efficient Sparse Training with Mixture-of-Experts}},
  author={Trevor Gale and Deepak Narayanan and Cliff Young and Matei Zaharia},
  journal={Proceedings of Machine Learning and Systems},
  volume={5},
  year={2023}
}
Package: megabot
A library for simultaneous operation of a large number of telegram bots
with a single code base.Python - telegram API adapter.
Based inPydanticmodel librariesYou need to implement a web interface for a webhook
yourself. I recommendFastAPI.pip install megabotFill in the dispatcher tokens in a convenient way for you in the format dict(int(bot_id), str(token)Define callback, message, and command handlersConnect the dispatcher to processing incoming webhooks.Done!The filtering of the callbacks was taken fromaiogram, the syntax is identicalexample main.pyfrom megabot.dispatcher import Dispatcher
from megabot.poster import MessageService
from megabot.utils.callback_data import CallbackData

menu_cat = CallbackData('cat', 'id') # Callback fabric 
message_service = MessageService()

async def hello_word(callback: CallbackQuery):
    print(callback.data)
    await message_service.callback_answer(self.dp.tokens[bot_id], callback.id)
    
dp = Dispatcher()

bot_id = 9***9
token = '9***9:AA*****AA'
dp.tokens[bot_id] = token

dp.register_handler_callback(hello_word, callback_filter=menu_cat.filter())webhook router file:from main import dp

async def data_router(self, bot_id: int, data: dict) -> NoReturn:
    if not(dp.tokens.get(bot_id, None)):
        dp.tokens[bot_id] = token

    await dp.message_router(bot_id, data)for local testing: NOT FOR PROD!!!
add to main.pyfrom megabot.poster import get_updates
offset = 0

async def check_updates():
    global offset
    while True:
        result, error = await get_updates(token, offset)
        if result:
            result_list = result['result']
            if len(result_list) > 0:
                print(result)
                offset = result_list[-1]['update_id']+1
            await dp.message_router(bot_id, result)
        else:
            print(error)
        await asyncio.sleep(1)


await def start_bot()
    asyncio.create_task(check_updates())add start_bot() to main file web_hooks
Package: megachonker
megachonkerUsemegachonkerfor optimizing the backup of large files.Installation commandsudo pip install megachonkerusageusage: megachonker [-h] [-q] in_file out_file

Use megachonker for optimizing the backup of large files. megachonker dissects
in_file into 1MB chunks and hashes each chunk. Each hash is then compared to a
hash for the respective chunk in out_file. The chunk gets copied into out_file
if hashes differ. A file <out_file>.hashes will be stored alongside out_file.
megachonker copies all file attributes of in_file to out_file. If in_file and
out_file have identical modification times then megachonker does nothing.

positional arguments:
  in_file      This is the file to be chunked, hashed and copied
  out_file     This is the backed up version of the file

optional arguments:
  -h, --help   show this help message and exit
  -q, --quiet  Do not show any output.
Package: megacom
megacombecause minicom is not that goodinstallationfrom pypipip3 install megacomfrom sourcegit clone https://git.lain.faith/haskal/megacom.git
pip3 install --user .or for developmentpip3 install --user -e .usageusage: megacom [-h] [-b BAUD] [-m MODE] [-l LOGFILE] [tty]

Alternative console-based UART client

positional arguments:
  tty                   Path to UART device [/dev/ttyUSB0]

optional arguments:
  -h, --help            show this help message and exit
  -b BAUD, --baud BAUD  UART baud rate [115200]
  -m MODE, --mode MODE  UART mode string [8N1]
  -l LOGFILE, --logfile LOGFILE
                        file to log tosudoto avoid using sudo, add yourself to theuucpgroup (on arch) ordialoutgroup (ubuntu/debian),
and make sure you don't have ModemManager installedif you have ModemManager installed it's likely you will need to use sudo. if you absolutelyneedModemManager on your system, try stopping it withsudo systemctl stop ModemManager, then
unplugging and replugging UART devices. once you're done using megacom, you can restart ModemManager
withsudo systemctl start ModemManager, if it was previously runningkeyboard shortcutsCTRL-A is the escape character. CTRL-A + Q quits megacom. CTRL-A + CTRL-A sends a literal CTRL-Athere will be more keyboard shortcuts later, hopefullynon-tty modemegacom can be run even if stdin is not a tty. in this mode, keyboard shortcuts (CTRL-A) are
disabled and input is passed through verbatim. this can be useful to pipe input and output out of a
UART device with programs that are not tty-awarebaudany standard baud rate (as an integer) which is supported by pyserial can be used. usually you want
the default (115200)mode stringscomposed of bytesize, parity, and stopbits. usually you want the default (8N1)the following options are supportedbytesize: 8, 5, 6parity: N (none), E (even), O (odd), M (mark), S (space)stopbits: 1, 1.5, 2examples:8N1
5E2
6S1.5windowsuntested but it might work. don't expect windows to be actively supported because serial on windows
is extremely annoying. just use WSL
Package: megadata
MEGADATAlib and tools for 'megadata' and 'megashare'PHILOSOPHY"remove if worthy"INSTALLpython -m pip install -U megadataTODOmore server/client quick tools for databases or servers ;)python -m megadata *args **kwargs

e.g.

## start quick web on 127.0.0.1:80
python -m megadata svrweb 80

## start quick nng on tcp://127.0.0.1:3366
python -m megadata svrweb 3366NO WARRANT WARNINGUse at your own risk !This software package is intended for data research purposes only. It is provided as-is, without any warranties or guarantees of any kind.Risk Disclosure:This software package is not intended for use in production systems. It may contain bugs, errors, or vulnerabilities that could result in unexpected behavior or compromise the security and integrity of your systems. By using this software package, you acknowledge and assume all risks associated with its use. The authors and contributors of this software package shall not be liable for any damages or losses arising from its use.We strongly recommend not using this software package in any critical or production systems. It is solely for educational, experimental, and non-commercial purposes.Please use this software package responsibly and at your own risk.風險自負！本軟體包僅供數據研究目的使用。它是按原樣提供的，沒有任何形式的保證或擔保。風險披露：本軟體包不適用於生產系統。它可能包含漏洞、錯誤或脆弱性，這些可能導致意外行為或威脅到您系統的安全性和完整性。使用本軟體包，您承認並承擔與其使用相關的所有風險。本軟體包的作者和貢獻者不承擔因其使用而產生的任何損害或損失。我們強烈建議不在任何關鍵或生產系統中使用此軟體包。它僅供教育、實驗和非商業目的使用。請負責任地使用本軟件包，並自行承擔風險SUPPORT請我喝杯咖啡BUY-ME-A-COFFE 25 CNY
Package: megafeed
# MegafeedA library for serializing complex django querysets## ExampleTo enable megafeed system wide in your Django application, edit your settings.py file and add to your MIDDLEWARE_CLASSES:'utils.middleware.MegaMiddleware',add megafeed to your installed apps, and add an entry to your urls.py:(r'^feed', 'megafeed.views.mega_feed'),Using the following model:from django.db import modelsfrom django.contrib.auth.models import Userclass Blog(models.Model):DRAFT, PUBLISHED = range(2)BLOG_STATUS = ((DRAFT, 'Draft'),(PUBLISHED, 'Published'))title   = models.CharField(max_length=64)slug    = models.SlugField()content = models.TextField()created = models.DateTimeField(auto_now=True)status  = models.IntegerField(choices=BLOG_STATUS)enable_comments = models.BooleanField(default=True)author = models.ForeignKey(User)def __unicode__(self): return self.title@models.permalinkdef get_absolute_url(self):return ('view_blog_post', (), {'year': self.created.year,'month': self.created.month,'day': self.created.day,'slug': self.slug})import megafeedmegafeed.register(Blog)example megafeed url:/feeds.json?blog={"title":"test","order":"-created"}@json response:{"response": {"blog": {"object_list": [{"blog":{"status": 0, "author": {"id": 1}, "created": "2010-06-16 14:49:34", "title": "test", "id": 1, "content": "test", "enable_comments": true, "slug": "test"}}],"type": "blog", "page_data": {"per_page": 10, "current_page": 1, "page_count": 1, "object_count": 1}, "filter_list": {"enable_comments": 1, "order": "-created", "title": "test"}}}}Megafeed can also be accessed as [megafeed.megafeed(Model)](http://github.com/ff0000/megafeed/blob/master/megafeed/megafeed.py#L84) or [Model.megafeed()](http://github.com/ff0000/megafeed/blob/master/megafeed/megafeed.py#L61)* For ease of inclusion in views, request.GET can be passed directly to as params to a megafeed and it will be appropriately modified with defaults.* Model.megafeed also includes request_params which will only apply filters if they match the prefix value, e.g. blog_page=2## MegaFeed TagContinuing on from the [[MegaFeed Example]]The example megafeed url:/feeds.json?blog={"title":"test","order":"-created"}becomes{% load megafeed_tags %}{% megafeed blog title "test" order "-created" as blogs %}which can be used as{% for blog in blogs.object_list %}<a href="{{blog.get_absolute_url}}">{{blog.title}}</a>{% endfor %}Note that the **blogs** variable contains object_list, page_data, and filter_list as in the [[MegaFeed Example]] JSON.## History* v0.1.1 - First version published* v0.1.2 - Writing deprecation warnings to STDERR, not to STDOUT
Package: megakeep
MegaKeepSimple command-line application to "touch" your Mega accounts and avoid getting closed due to inactivity.How to use?Install packagerun:pipinstallmegakeepCreate passwords filecreate file containing your mega accounteach line should contain email and password separated in space/tab.multiple spaces are allowed.comments are allowed (# and //).empty lines are allowed.i.e.:bla@email.com       mypa55
another@account.com n1cePass
# Bob's account:
bob_mega@gmail.com  ilovemega
// my secret account
oh@im.god look-at-my-driveRunrun one of the following:megakeep--filemega.txt
megakeep-fmega.txtor if your file named mega.txt and in your current directory:megakeepAll flags--help--fileor-f--skip-failsor-sRun megakeep from sourcegit clone the projectrunpython -m main.py --file path/to/fileBuild megakeep from sourcegit clone the projectrunpython setup.py installInstall megakeep from sourcegit clone the projectrunpython setup.py sdist bdist_wheelUpload to PyPIpip install twinetwine upload --repository-url https://test.pypi.org/legacy/ dist/*twine upload dist/*
Package: megakit
MegaKitTimeget_date()Returns current date in the following format: MM/DD/YYYYget_month()Returns an array of the number of the current month, and its nameget_year()Returns the current year as an integerRandomrandom_integer(n)Takes an integer as a parameterReturns integer with 'n' number of digitsrandom_string(n)Takes an integer as a parameterReturns a string with 'n' number of uppercase charactersrandom_serial(n)Takes an integer as a parameterReturns a string with 'n' number of characters mixed between letters and integersManageread_lines(file_path)Takes the path of a file as a parameterReturns a list of each line in that filecount_lines(file_path)Takes the path of a file as a parameterReturns the number of lines filled in that filecount_folders(folder_path)Takes the path of a folder as a parameterReturns the number of directories located in that foldercount_files(folder_path):Takes the path of a folder as a parameterReturns the number of files located in that folderget_file_name(file_path)Takes the path of a file as a parameterReturns the name of the file including its extensionget_file_extension(file_path)Takes the path of a file as a parameterReturns the file extensionget_file_location(file_path)Takes the path of a file as a parameterReturns the path of the folder in which the file is locatedis_file(path)Takes the path of a folder or a file as a parameterReturns True if that path is pointing to a fileReturns False if that path is not pointing to a fileis_folder(path)Takes the path of a folder or a file as a parameterReturns True if that path is pointing to a folderReturns False if that path is not pointing to a folderis_existing(path)Takes the path of a folder or a file as a parameterReturns True if that path is pointing to a folder or file that existsReturns False if that path is pointing to a folder or file that doesn't existlist_directories(folder_path)Takes the path of a folder as a parameterReturns a list of all directories located in that folderlist_files(folder_path)Takes the path of a folder as a parameterReturns a list of all files located in that folderis_empty(folder_path)Takes the path of a folder as a parameterReturns True if that folder doesn't contain a folder or fileReturns False if that folder contains a folder or filedelete_file(file_path)Takes the path of a file as a parameterDeletes that filedelete_folder(folder_path)Takes the path of a folder as a parameterDeletes that folderadd_padding(image_path, padding_value, color)Takes the path of an image file as a first parameterTakes an integer representing the padding value as a second parameterTakes a tuple of three numbers representing the color, as a third parameterround_corners(image_path, radius)Takes the path of an image file as a first parameterTakes an integer for the radius of the image's corners as a second parameterturn_to_square(image_path, color)Takes the path of an image file as a first parameterTakes a tuple of three numbers representing the color, as a second parameter