Saravanan666/pypi-org huggingface dataset:
Package: magnetic-field-calculator
Magnetic field calculatorPython API for British Geological Survey magnetic field calculator.DescriptionThis project magnetic field calculator. It uses is British Geological Survey (BGS) API web service for calculation.The web service makes the World Magnetic Model (WMM), the International Geomagnetic Reference Field (IGRF) and the BGS Global Geomagnetic Model (BGGM) available as a web service. The IGRF and WMM have no restrictions on use, the BGGM is only available to subscribers. The API provides options to select which model and revision to use. Values of the magnetic field at any point around the world can be retrieved for a given date.The project is not part of the BGS. It is just API client for it, made by community. For any information about BGS, you should usethe official website.UsageFirst, you need to import the calculator class:frommagnetic_field_calculatorimportMagneticFieldCalculatorThen you need to init the calculator client, with default WMM model and it's latest available version:calculator=MagneticFieldCalculator()Model, it's revisions and custom URS can be changed with parameters:calculator=MagneticFieldCalculator(model='wmm',revision='2020',sub_revision='2',custom_url='https://example.com')You can then get the calculations for given location:result=calculator.calculate(latitude=-80,longitude=140,altitude=200,date='2028-12-31')The only required parameters are latitude and longitude, but it is reccomended to also set others for best results. Some of them are exclusive and you should not use them at same time. You can also set username and password for HTTP auth for protected models. For more details about parameters, seethe official documentation.Output is returned as dictionary:field_value=result['field-value']declination=field_value['declination']inclination=field_value['inclination']total_intensity=field_value['total-intensity']north_intensity=field_value['north-intensity']east_intensity=field_value['east-intensity']vertical_intensity=field_value['vertical-intensity']horizontal_intensity=field_value['horizontal-intensity']Some output properties will haveunitsandvaluesub properties. Output format will depend on used input, specially for height and date.You can also look toexample filefor more examples.VersioningThis library usesSemVerfor versioning. For the versions available, seethe tagson this repository.LicenseThis library is licensed under the GPLv3+ license. See theLICENSEfile for details.
Package: magnetodb
MagnetoDB- key-value store for OpenStackLinksWiki -https://wiki.openstack.org/wiki/MagnetoDBIRC - #magnetodb at FreeNodeSource code -https://github.com/stackforge/magnetodbDocumentation -http://magnetodb.readthedocs.org/en/latest/Specs -http://magnetodb-specs.readthedocs.org/en/latest/
Package: magnetometer
MagnetometerThis is amagnetometercommand-line tool that reads from physical magnetic sensors viaBelay.InstallationInstall Magnetometer through pip:pip install magnetometerUsageTo start the program, invokemagnetometeralong with the port your
CircuitPython board is connected to.magnetometer DEVICE_PORT --sensor SENSOR_TYPEYou can use the debugging sensorsinwithout any physical hardware interactions.
CircuitPython must be installed on-device andmust be configured with rw storage.
Magnetometer will automatically upload all necessary code to device.
Runmagnetometer --helpto see more options.Supported SensorsLIS3MDL- Up to ±1,600μTMMC5603- Up to ±3,000μTLIS2MDL- Up to ±5,000μTTLV493D- Up to ±130,000μTWant to support another sensor? Open an issue (or even a PR) on Github and we
can try to add it!AcknowledgementsThis tool uses many awesome libraries that keep the implementation terse and the outputs beautiful:Belay- Seameless python/hardware interactions. Used for all hardware interactions.AutoRegistry- Automatic registry design-pattern library for mapping names to functionality. Used to manage sensor hardware abstraction layer.Textual- Text User Interface framework for Python inspired by modern web development. Used for dynamic user input.Rich- Python library for rich text and beautiful formatting in the terminal. Used for general UI text rendering.AsciiChartPy- Nice-looking lightweight console ASCII line charts. Used for chart plotting. Modified to berich-compatible.CircuitPython Bundle- A bundle of useful CircuitPython libraries ready to use from the filesystem.
Package: magneto-pyelastica
MagnetoPyElasticaMagnetoPyElastica is anopen-sourceproject for simulating magnetic Cosserat rods interacting with external magnetic environments, and is an extension ofPyElastica.https://user-images.githubusercontent.com/33580851/185485978-f5962c41-89a4-4df7-b935-1ba92a55f1da.movVisitcosseratrods.orgto learn more about Elastica and Cosserat rod theory.InstallationMagnetoPyElastica is compatible with Python 3.8 - 3.10. The easiest way to install MagnetoPyElastica is with PIP.$pipinstallmagneto_pyelasticaTutorialsWe have included example scripts for some illustration cases and these scripts located under examples folder (examples/).ContributionIf you would like to participate, please read ourcontribution guidelineMagnetoPyElastica is developed by theGazzola Labat the University of Illinois at Urbana-Champaign.Citation@software{yashraj_bhosale_2023_7658892,
  author       = {Yashraj Bhosale and
                  Arman Tekinalp},
  title        = {{MagnetoPyElastica:  Open-source software for 
                   simulating magnetic Cosserat rods}},
  month        = feb,
  year         = 2023,
  publisher    = {Zenodo},
  version      = {v.0.0.1.post1},
  doi          = {10.5281/zenodo.7658892},
  url          = {https://doi.org/10.5281/zenodo.7658892}
}Senior Developers ✨Names arranged alphabeticallyArman TekinalpYashraj Bhosale
Package: magnetos
magnetos一款帮你在 CTF 比赛中加速解题的工具依赖的第三方工具zstegpngcheckstegdetectexiftoolapt install pngcheck
apt install libimage-exiftool-perl
gem install zsteg
wget http://launchpadlibrarian.net/16746333/stegdetect_0.6-6_amd64.deb
dpkg -i stegdetect_0.6-6_amd64.deb安装方法pip3 install magnetos提供的工具以下工具可以在命令行下直接执行what_format，类似 binwalk 和 foremost，但可以分离出一些其他文件，例如 psdwhat_code_scheme，检测编码类型what_encode，自动检测文件编码并进行模糊测试what_steg，隐写题目自动化解题工具web_get，自动下载指定 URL 的所有资源到本地file_hash，计算文件 hashfile_strings，与 strings 命令相同，但是会自动过滤掉\0find_ctf_flag，根据 flag 特征从文本文件或目录中查找可能的 flagreverse_proxy，反向代理steg_hide_cracker，爆破 steghide 密码
Package: magnets
=======
MAGNets.. image::https://img.shields.io/pypi/v/magnets.svg:target:https://pypi.python.org/pypi/magnets.. image::https://travis-ci.com/meghnathomas/MAGNets.svg?branch=master:target:https://travis-ci.com/meghnathomas/MAGNets.. image::https://readthedocs.org/projects/magnets/badge/?version=latest:target:https://magnets.readthedocs.io/en/latest/?version=latest:alt: Documentation Status.. image::https://pepy.tech/badge/magnets:target:https://pepy.tech/project/magnets:alt: PyPI - DownloadsA Python package to aggregate and reduce water distribution network modelsOverviewMAGNets is a Python package designed to perform the reduction and aggregation of water distribution network models. The software is capable of reducing a network around an optional operating point and allows the user to customize which junctions they would like retained in the reduced model.Installation: Stable releaseTo install MAGNets, run this command in your terminal:.. code:: pythonpip install magnetsThis is the preferred method to install MAGNets, as it will always install the most recent stable release.If you donâ€™t have pip installed, thisPython installation guide_ can guide you through the process... _Python installation guide:https://docs.python-guide.org/starting/installation/Installation: From sourcesThe sources for MAGNets can be downloaded from the Github repo.You can either clone the public repository:.. code:: pythongit clone git://github.com/meghnathomas/magnetsOr download the tarball:.. code:: pythoncurl -OJL https://github.com/meghnathomas/magnets/tarball/masterOnce you have a copy of the source, you can install it with:.. code:: pythonpython setup.py installCreditsThis package was created with Cookiecutter_ and theaudreyr/cookiecutter-pypackage_ project template... _Cookiecutter:https://github.com/audreyr/cookiecutter.. _audreyr/cookiecutter-pypackage:https://github.com/audreyr/cookiecutter-pypackage=======
History0.1.0 (2021-05-13)First release on PyPI.
Package: magnitude
Copyright (C) 2006-2015 Juan Reyero (http://juanreyero.com).Licensed under the Apache License, Version 2.0 (the
“License”); you may not use this file except in compliance
with the License.  You may obtain a copy of the License athttp://www.apache.org/licenses/LICENSE-2.0Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
“AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
either express or implied.  See the License for the specific
language governing permissions and limitations under the
License.Home page:http://juanreyero.com/open/magnitude/About:Magnitude is a library for computing with numbers with
units:>>> print "10 m/s ** 2 ->", mg(10, 'm/s') ** 2
10 m/s ** 2 -> 100.0000 m2 / s2
>>> print (mg(10, 'm') * 2 / (10, 'm/s2')).sqrt()
1.4142 s
>>> tsq = mg(10, 'm') * 2 / (10, 'm/s2')
>>> print tsq ** 0.5
1.4142 s
>>> print mg(1, "lightyear") / mg(1, "c")
>>> 31557600.0000 s
>>> y = mg(1, "lightyear") / (1, "c")
>>> y.ounit("year")
<magnitude.magnitude instance at 0x81440>
>>> print y
1.0000 year
>>> yd = y.ounit('day')
>>> print yd
365.2500 day
>>> output_precision(0)
0
>>> print yd
365 day
Package: magnum
Team and repository tagsMagnumMagnum is an OpenStack project which offers container orchestration engines
for deploying and managing containers as first class resources in OpenStack.For more information, please refer to the following resources:Free software:under theApache license <http://www.apache.org/licenses/LICENSE-2.0>Wiki:https://wiki.openstack.org/wiki/MagnumDocumentation:https://docs.openstack.org/magnum/latest/Admin guide:https://docs.openstack.org/magnum/latest/admin/index.htmlSource:https://opendev.org/openstack/magnumBlueprints:https://blueprints.launchpad.net/magnumBugs:https://storyboard.openstack.org/#!/project/openstack/magnumREST Client:https://opendev.org/openstack/python-magnumclientRelease notes:https://docs.openstack.org/releasenotes/magnum/index.htmlContributing:https://docs.openstack.org/magnum/latest/contributor/index.html
Package: magnum-api
Project OverviewThe CHART MagNum (Magnum Numerics) aims at introducing advanced design techniques in order to support the design process of superconducting accelerator magnet.
The project responds to the following strategic goals:SustainabilityEnsure that outstanding modeling work will have an impact on present or future designs. This also require that models have clearly defined scope and range of applicability.TraceabilityEnsure that the modeler is able to trace back the input parameters, code and script versions, etc., that have been used to produce a particular plot in a ppt or pdf.
Traceability is even more important in multi-scale and multi-model analysis.RepeatabilityEnsure that results presented at, e.g., a Conceptual Design Review can be reproduced at any later time.
Ensure that as-built models can be re-run at any moment during a potentially decades-long project life cycle.FlexibilityAllow for different labs and collaborators to have/prefer different licenses.
Enable researchers to implement innovative ideas while building upon existing best practices, but without having to solve legacy issues.UsabilityEncapsulate the increased flexibility behind easy-to-use UIs for the standard design work.The project implements a number of concepts introduced by the MBSE (Model-Based System Engineering) methdology.
In particular, MBSE shifts the focus from documents to models as primary means of communication in complex system design projects.
Package: magnum-cluster-api
The Cluster API driver for Magnum allows you to deploy fully conformant
Kubernetes cluster using theCluster APIproject which are fully integrated with the OpenStack cluster they are running
on.For more information, please refer to the following resources:Documentation:https://vexxhost.github.io/magnum-cluster-api/Community:#magnum-cluster-apichannel
on the Kubernetes Slack. If you are new to Kubernetes Slack workspace,Join the Kubernetes Slack workspacefirst.ImagesThe images are built and published to an object storage bucket hosted at theVEXXHOSTpublic cloud.  These images are built and
published for the latest stable release of Kubernetes.Pre-built imagesYou can find the pre-built images for the latest stable release of Kubernetes
at the following URL:Ubuntu 22.04v1.23.17v1.24.16v1.25.12v1.26.7v1.27.4Flatcarv1.24.16v1.25.12v1.26.7v1.27.4Building imagesThe Cluster API driver for Magnum provides a tool in order to build images, you
can use it by installing themagnum-cluster-apipackage and running the
the following command:magnum-cluster-api-image-builderTesting & DevelopmentFor more information on how to test, develop and contribute to the Cluster API
driver for Magnum, refer to thedeveloper guide.
Package: magnum-pi
magnum-pi=========Meet magnum-pi, the very fast and dead-simple python package indexgenerator. It generates html index files from a directory of pythonpackages which you then serve as static files using your webserver ofchoice. You can then install packages from your own index, independentof PyPI, using standard python tools such as setuptools and pip.Magnum-pi started out as a fork of basketweaver. Contrary tobasketweaver, magnum-pi never extracts anything from a package andinstead only inspects filenames. Because of this change magnum-pi runstypically take only a fraction of a second. Besides the speed gainsthe other major changes are support for Python 3.3 and wheel packages.The only code left from basketweaver is the html output loop. Creditfor that goes to its authors Christopher Perkins and Chris McDonough.# InstallingGet it from pypi:pip install magnum-pi# UsingThe basic workflow is1. upload a new package to your packages directory2. run magnum-pi on that directory3. serve the packages and generated html files using a web serverSo after you add a new package file, let's say you put it at/var/www/magnum-pi, you run magnum-pi like so:makeindex /var/www/magnum-piThis generates the top-level and per-project index.html files neededby python installation tools. The index is always generated inside thepackages directory. It should run very fast. In my case, 0.073 secondsfor 385 packages.Next you should serve the entire packages directory of packages andindex files with a web server.# Serve using nginxAdd a site config like this:server {server_name magnum-pi.dev;root /var/www/magnum-pi;index index.html;autoindex on;}# Installing packages from your own indexAfter you setup your own index using the instructions outlined above,you are now ready to install packages from it. For pip you will need aversion recent enough that it support the --index-url option.pip install --use-wheel --download-cache ~/.cache/pip --index-url http://magnum-pi.dev/index <package>pip install --use-wheel --download-cache ~/.cache/pip --index-url https://magnum-pi.dev/index --cert ca.crt <package>easy_install --index-url http://magnum-pi.dev/index <package>Don't miss the `/index` at the end of the index url or it won't work!# Changes## 1.2 (2014-06-12)- added manifest file to fix installation from pypi (J. Leidel)## 1.1 (2013-12-15)- simplify setup.py and use markdown for readme## 1.0 (2013-12-14)- fork off of basketweaver(https://code.google.com/p/basket-weaver/)- deduce project name from filename alone, never extract a package- include wheel packages in the index- add python33 support- add test suite- rewrite readme
Package: magnum-tempest-plugin
Tempest plugin for Magnum ProjectIt contains the tempest tests for testing Container Infrastructure Management
Service for OpenStack.Free software: Apache licenseDocumentation:https://docs.openstack.org/magnum/latestSource:https://opendev.org/openstack/magnum-tempest-pluginBugs:https://storyboard.openstack.org/#!/project/openstack/magnum-tempest-plugin
Package: magnum-ui
Team and repository tagsMagnum UIHorizon plugin for MagnumFree software: Apache licenseSource:https://opendev.org/openstack/magnum-uiBugs:https://bugs.launchpad.net/magnum-uiDocumentation:https://docs.openstack.org/magnum-ui/latest/Release notes:https://docs.openstack.org/releasenotes/magnum-ui/Enabling in DevStackAdd this repo as an external repository into yourlocal.conffile:[[local|localrc]]
enable_plugin magnum-ui https://github.com/openstack/magnum-uiManual InstallationBegin by cloning the Horizon and Magnum UI repositories:git clone https://github.com/openstack/horizon
git clone https://github.com/openstack/magnum-uiCreate a virtual environment and install Horizon dependencies:cd horizon
python tools/install_venv.pySet up yourlocal_settings.pyfile:cp openstack_dashboard/local/local_settings.py.example openstack_dashboard/local/local_settings.pyOpen up the copiedlocal_settings.pyfile in your preferred text
editor. You will want to customize several settings:OPENSTACK_HOSTshould be configured with the hostname of your
OpenStack server. Verify that theOPENSTACK_KEYSTONE_URLandOPENSTACK_KEYSTONE_DEFAULT_ROLEsettings are correct for your
environment. (They should be correct unless you modified your
OpenStack server to change them.)Install Magnum UI with all dependencies in your virtual environment:tools/with_venv.sh pip install -e ../magnum-ui/And enable it in Horizon:cp ../magnum-ui/magnum_ui/enabled/_1370_project_container_infra_panel_group.py openstack_dashboard/local/enabled
cp ../magnum-ui/magnum_ui/enabled/_1371_project_container_infra_clusters_panel.py openstack_dashboard/local/enabled
cp ../magnum-ui/magnum_ui/enabled/_1372_project_container_infra_cluster_templates_panel.py openstack_dashboard/local/enabledTo run horizon with the newly enabled Magnum UI plugin run:python manage.py runserver 0.0.0.0:8080to have the application start on port 8080 and the horizon dashboard will be
available in your browser athttp://localhost:8080/
Package: magnum-ui-horizon
Magnum DashboardFree software: Apache licenseSource:http://git.openstack.org/cgit/openstack/magnum-uiBugs:http://bugs.launchpad.net/magnum-uiEnabling in DevStackAdd this repo as an external repository into yourlocal.conffile:[[local|localrc]]
enable_plugin magnum-ui https://github.com/openstack/magnum-uiManual InstallationBegin by cloning the Horizon and Magnum UI repositories:git clone https://github.com/openstack/horizon
git clone https://github.com/openstack/magnum-uiCreate a virtual environment and install Horizon dependencies:cd horizon
python tools/install_venv.pySet up yourlocal_settings.pyfile:cp openstack_dashboard/local/local_settings.py.example openstack_dashboard/local/local_settings.pyOpen up the copiedlocal_settings.pyfile in your preferred text
editor. You will want to customize several settings:OPENSTACK_HOSTshould be configured with the hostname of your
OpenStack server. Verify that theOPENSTACK_KEYSTONE_URLandOPENSTACK_KEYSTONE_DEFAULT_ROLEsettings are correct for your
environment. (They should be correct unless you modified your
OpenStack server to change them.)Install Magnum UI with all dependencies in your virtual environment:tools/with_venv.sh pip install -e ../magnum-ui/And enable it in Horizon:cp ../magnum-ui/magnum_ui/enabled/_1370_project_container-infra_panelgroup.py openstack_dashboard/local/enabled
cp ../magnum-ui/magnum_ui/enabled/_1371_project_container-infra_bays_panel.py openstack_dashboard/local/enabled
cp ../magnum-ui/magnum_ui/enabled/_1372_project_container-infra_baymodels_panel.py openstack_dashboard/local/enabledTo run horizon with the newly enabled Magnum UI plugin run:./run_tests.sh --runserver 0.0.0.0:8080to have the application start on port 8080 and the horizon dashboard will be
available in your browser athttp://localhost:8080/
Package: magnus_extensions
Welcome to Magnus ExtensionsDocumentation of the extensions are available at:https://astrazeneca.github.io/magnus-extensions/This repository provides all the extensions tomagnus core package.Magnus provides 5 essential services:Executor: A way to define and execute/transpile dag definition.Catalog: An artifact store used to log and store data files generated during a pipeline execution.Secrets Handler: A framework to handle secrets from different providers.Logging: A comprehensive and automatic logging framework to capture essential information of a pipeline execution.Experiment Tracking: A framework to interact with different experiment tracking tools.Below is the table of all the available extensions to the above services:ServiceDescriptionAvailabilityExecutorsLocalRun the pipeline on local machine (default)Part of Magnus coreLocal ContainersRun the pipeline on local containersPart of Magnus coreCatalogDo NothingProvides no cataloging functionalityPart of Magnus coreFile SystemUses local file system (default)Part of Magnus coreS3Uses S3 as a catalogmagnus_extension_catalog_s3SecretsDo NothingProvides no secrets handler (default)Part of Magnus coreDot EnvUses a file as secretsPart of Magnus coreEnvironment VariablesGets secrets from Environmental variablesPart of Magnus coreLoggingBufferedUses the run time buffer as logger (default)Part of Magnus coreFile SystemUses a file system as run log storePart of Magnus coreS3Uses S3 to store logsmagnus_extension_datastore_s3Experiment TrackingDo NothingProvides no experiment tracking (default)Part of Magnus core
Package: magodo
magodoA Python library for working with the todo.txt format, with some magic thrown in.project status badges:version badges:Installation 🗹To installmagodousingpip, run the following
commands in your terminal:python3-mpipinstall--usermagodo# install magodoIf you don't have pip installed, thisPython installation guidecan guide
you through the process.Useful Links 🔗API Reference: A developer's reference of the API exposed by this
project.cc-python: Thecookiecutterthat was used to generate this project.
Changes made to this cookiecutter are periodically synced with this project
usingcruft.CHANGELOG.md: We use this file to document all notable changes made to
this project.CONTRIBUTING.md: This document contains guidelines for developers
interested in contributing to this project.Create a New Issue: Create a new GitHub issue for this project.Documentation: This project's full documentation.
Package: magorder
magorderThis library streamlines the conversion between different orders of magnitude, like transforming nm (nanometers) to meters, or kilobytes to gigabytes.It is meant to provide a drop-in mechanism that is simple and consistent to manipulate such conversions.InstallationInstall it as usual:pip install magorderDependenciesThis library has no runtime dependencies.UsageTo use the library:# import the MagnitudeUnit class that meets your requirementsfrommagorder.stdsiimportStdSIMagnitudeUnit# create a magorder object, associated with an unitmag=StdSIMagnitudeUnit("m")# transform can convert from a different order of magnitude to the base unitassertmag.transform(0.1,"km")==100assertmag.transform(100_000_000,"µm")==100assertmag.transform(100_000_000_000_000_000_000_000_000.0,"ym")==100assertmag.transform(0.0000000000000000000001,"Ym",decimals=3)==100Or to transform data units:frommagorder.dataimportSIDataMagnitudeUnit,IECDataMagnitudeUnitmags=SIDataMagnitudeUnit("b")assertmags.transform(1,"kb")==1000assertmags.transform(1,from_unit="Gb",to_unit="kb")==1_000_000mags=IECDataMagnitudeUnit("b")assertmags.transform(1,"Kib")==1024assertmags.transform(4096,from_unit="Mib",to_unit="Gib")==4See the module tests for more examples.LicenseCheck the fileLICENSE.ContributionsFeel free to contribute to this code at:https://github.com/russoz/magorder