package
stringlengths 1
122
| pacakge-description
stringlengths 0
1.3M
|
---|---|
amsterdam-airflow-sqlalchemy-create-object-operator
|
No description available on PyPI.
|
amsterdam-airflow-swap-schema-operator
|
No description available on PyPI.
|
amsterdam-airflow-tools
|
amsterdam-airflow-toolsSet of libraries and tools to work with Airflow.Install the package with:pip install amsterdam-airflow-tools
|
amsterdam-airflow-typeahead-location-operator
|
No description available on PyPI.
|
amsterdam-airflow-xcom-attr-assigner-mixin
|
No description available on PyPI.
|
amsterdam-airflow-zip-hook
|
No description available on PyPI.
|
amsterdam-schema
|
Basic library for Amsterdam SchemaLibrary containts python data types for working with Amsterdam Schema and some utilities.
|
amsterdam-schema-tools
|
amsterdam-schema-toolsSet of libraries and tools to work with Amsterdam schema.Install the package with:pip install amsterdam-schema-tools. This installs
the library and a command-line tool calledschema, with various subcommands.
A listing can be obtained fromschema --help.Subcommands that talk to a PostgreSQL database expect either aDATABASE_URLenvironment variable or a command line option--db-urlwith a DSN.Many subcommands want to know where to find schema files. Most will look in a
directory of schemas denoted by theSCHEMA_URLenvironment variable or the--schema-urlcommand line option. E.g.,schema create tables --schema-url=myschemas mydatasetwill try to load the schema formydatasetfrommyschemas/mydataset/dataset.json.Generate amsterdam schema from existing database tablesThe --prefix argument controls whether table prefixes are removed in the
schema, because that is required for Django models.As example we can generate a BAG schema. PointDATABASE_URLtobag_v11database and then run :schema show tablenames | sort | awk '/^bag_/{print}' | xargs schema introspect db bag --prefix bag_ | jqThejqformats it nicely and it can be redirected to the correct directory
in the schemas repository directly.Express amsterdam schema information in relational tablesAmsterdam schema is expressed as jsonschema. However, to make it easier for people with a
more relational mind- or toolset it is possible to express amsterdam schema as a set of
relational tables. These tables aremeta_dataset,meta_tableandmeta_field.It is possible to convert a jsonschema into the relational table structure and vice-versa.This command converts a dataset from an existing dataset in jsonschema format:schema import schema <id of dataset>To convert from relational tables back to jsonschema:schema show schema <id of dataset>Generating amsterdam schema from existing GeoJSON filesThe following command can be used to inspect and import the GeoJSON files:schema introspect geojson <dataset-id> *.geojson > schema.json
edit schema.json # fine-tune the table names
schema import geojson schema.json <table1> file1.geojson
schema import geojson schema.json <table2> file2.geojsonImporting GOB eventsThe schematools library has a module that reads GOB events into database tables that are
defines by an Amsterdam schema. This module can be used to read GOB events from a Kafka stream.
It is also possible to read GOB events from a batch file with line-separeted events using:schema import events <path-to-dataset> <path-to-file-with-events>Export datasetsDatasets can be exported to different file formats. Currently supported are geopackage,
csv and jsonlines. The command for exporting the dataset tables is:schema export [geopackage|csv|jsonlines] <id of dataset>The command has several command-line options that can be used. Documentations about these
flags can be shown using the--helpoptions.Schema Tools as a pre-commit hookIncluded in the project is apre-commithook
that can validate schema files
in a project such asamsterdam-schemaTo configure it
extend the.pre-commit-config.yamlin the project with the schema file defintions as follows:-repo:https://github.com/Amsterdam/schema-toolsrev:v3.5.0hooks:-id:validate-schemaargs:['https://schemas.data.amsterdam.nl/[email protected]#']exclude:|(?x)^(schema.+| # exclude meta schemasdatasets/index.json)$argsis a one element list
containing the URL to the Amsterdam Meta Schema.validate-schemawill only processjsonfiles.
However not alljsonfiles are Amsterdam schema files.
To exclude files or directories useexcludewith pattern.pre-commitdepends on properly tagged revisions of its hooks.
Hence, we should not only bump version numbers on updates to this package,
but also commit a tag with the version number; see below.Doing a release(This is for schema-tools developers.)We use GitHub pull requests. If your PR should produce a new release of
schema-tools, make sure one of the commit increments the version number insetup.cfgappropriately. Then,merge the commit in GitHub, after review;pull the code from GitHub and merge it into the master branch,git checkout master && git fetch origin && git merge --ff-only origin/master;tag the release X.Y.Z withgit tag -a vX.Y.Z -m "Bump to vX.Y.Z";push the tag to GitHub withgit push origin --tags;release to PyPI:make upload(requires the PyPI secret).Mocking dataThe schematools library contains two Django management commands to generate
mock data. The first one iscreate_mock_datawhich generates mock data for all
the datasets that are found at the configured schema locationSCHEMA_URL(whereSCHEMA_URLcan be configure to point to a path at the local filesystem).Thecreate_mock_datacommand processes all datasets. However, it is possible
to limit this by adding positional arguments. These positional arguments can be
dataset ids or paths to the location of thedataset.jsonon the local filesystem.Furthermore, the command has some options, e.g. to change
the default number of generated records (--size) or to reverse meaning of the positional
arguments using--exclude.To avoid duplicate primary keys on subsequent runs the--start-atoptions can be used
to start autonumbering of primary keys at an offset.E.g. to generate 5 records for thebagandgebiedendatasets, starting the
autonumbering of primary keys at 50.django create_mock_data bag gebieden --size 5 --start-at 50To generate records for all datasets, except for thefietspaaltjesdataset:django create_mock_data fietspaaltjes --exclude # or -xTo generate records for thebbgadataset, by loading the schema from the local filesystem:django create_mock_data <path-to-bbga-schema>/datasets.jsonDuring record generation increate_mock_data, the relations are not added,
so foreign key fields will be filled with NULL values.There is a second management commandrelate_mock_datathat can be used to
add the relations. This command support positional arguments for datasets
in the same way ascreate_mock_data.Furthermore, the command also has the--excludeoption to reverse the meaning
of the positional dataset arguments.E.g. to add relations to all datasets:django relate_mock_dataTo add relations forbagandgebiedenonly:django relate_mock_data bag gebiedenTo add relations for all datasets exceptmeetbouten:django relate_mock_data meetbouten --exclude # or -xNB. When only a subset of the datasets is being mocked, the command can fail when datasets that
are involved in a relation are missing, so make sure to include all relevant
datasets.For convenience an additional management commandtruncate_tableshas been added,
to truncate all tables.
|
amsterdamumcdb
|
WelcomeAmsterdamUMCdb is the first freely accessible European intensive care database. It is endorsed by the European Society
of Intensive Care Medicine (ESICM) and its Data Science Section. It contains de-identified health data related to tens
of thousands of intensive care unit admissions, including demographics, vital signs, laboratory tests and medications.VersionThe current version of AmsterdamUMCdb is 1.0.2, released in March 2020. This version contains data related to 23,106
intensive care unit and high dependency unit admissions of adult patients from 2003-2016. The first version of
AmsterdamUMCdb (1.0) was released in November 2019.Requesting AccessThe database, although de-identified, still contains detailed information regarding the clinical care of patients, so
must be treated with appropriate care and respect and cannot be shared without permission. To request access, go to
theAmsterdam Medical Data Sciencewebsite.AcknowledgementWhen using AmsterdamUMCdb in your research, please cite:Thoral, P. J., Peppink, J. M., Driessen, R. H., Sijbrands, E. J. G., Kompanje, E. J. O., Kaplan, L., Bailey, H.,
Kesecioglu, J., Cecconi, M., Churpek, M., Clermont, G., van der Schaar, M., Ercole, A., Girbes, A. R. J., Elbers, P. W.
G., on behalf of the Amsterdam University Medical Centers Database (AmsterdamUMCdb) Collaborators and the SCCM/ESICM
Joint Data Science Task Force (2021). Sharing ICU Patient Data Responsibly Under the Society of Critical Care
Medicine/European Society of Intensive Care Medicine Joint Data Science Collaboration: The Amsterdam University Medical
Centers Database (AmsterdamUMCdb) Example. Crit Care Med. 2021 Jun 1;49(6):e563-e577.
doi:10.1097/CCM.0000000000004916. PMID: 33625129; PMCID: PMC8132908.Facts and FiguresThe current database contains data from the clinical patient data management system of the department of Intensive Care,
a mixed medical-surgical ICU, from Amsterdam University Medical Center. The clinical data contains 23,106 admissions of
20,109 patients admitted from 2003 to 2016 with a total of almost 1.0 billion clinical observations consisting of
vitals, clinical scoring systems, device data and lab results data and nearly 5.0 million medication records.Available tablesThe table and field definitions are available from
theAmsterdamUMCdb wikiand from Jupyter Notebooks in
thetablesfolder.Table nameDescriptionadmissionsadmissions and demographic data of the patients admitted to the ICU or MCUdrugitemsmedication orders including fluids, (parenteral) feeding and blood transfusions during the stay on the ICUfreetextitemsobservations, including laboratory results, that are based on non-numeric (text) datalistitemscategorial observations, e.g. based on a selection from a list, like type of heart rhytm, ventilatory mode, etc.numericitemsnumerical measurements and observations, including vital parameters, data from medical devices, lab results, outputs from drains and foley-catheters, scores etc.procedureorderitemsprocedures and tasks, such as performing a chest X-ray, drawing blood and daily ICU nursing care and scoringprocessitemscatheters, drains, tubes, and continous non-medication processes (e.g. renal replacement therapy, hypothermia induction, etc.)amsterdamumcdb Python packageTheamsterdamumcdbPython package contains common functions for working with the database.Available functionsamsterdamumcdb.get_dictionary():Gets a dictionary of all items in AmsterdamUMCdb with translated medical concepts mapped to LOINC, SNOMED CT
or ATC (work in progress).Returns:dataframe containing dictionaryamsterdamumcdb.get_fluidbalance(admissionid, from_date, to_date, con):Calculate the fluid balance (i.e. fluid input - fluid output) for a specific time interval. Typically this will be used
to calculate daily fluid balances.Arguments:admissionid -- the admissionid of ICU admissionfrom_date -- the start of the interval, expressed as the number of milliseconds from start of this ICU admissionto_date -- the end of the interval, expressed as the number of milliseconds from start of this ICU admissioncon -- psycopg2 connection or pandas-gbq Google BigQuery configamsterdamumcdb.outliers_histogram(data, z_threshold=4.0, lower=None, upper=None, bins=None, binwidth=None, maxbins=None):Return a pyplot histogram, where the upper and/or lower outliers are binned together for a more even distribution plot.
By default, the histogram will be created with bins that are on boundaries aligned with the pyplot axis ticks.Arguments:data -- dataframe to create the histogram for.z_threshold (Optional) -- number of standard deviations from the median to determine outlierslower (Optional) -- lower threshold for binning lower outliers togetherupper (Optional) -- upper threshold for binning higher outliers togetherbins (Optional) -- int or sequence or str, allows specifying the number of bins, the actual bins or a binning
strategy
(see:https://matplotlib.org/stable/api/_as_gen/matplotlib.pyplot.hist.html)binwidth (Optional) -- forces a specified size of the equally sized bins between the lower and upper thresholdmaxbins -- the maximum number of equally sized bins to createChangelogversion 0.2.0added sample cohorts (sepsis-3, mechanical ventilation, shock) incohorts.pyadded SOFA scoring toscores.pyutil functions for PostgresSQL to BigQuery translationmove SQL code from notebooks to separate SQL filesversion 0.1.5dictionary: as part of theICUnityproject in preparation for
theThe Dutch ICU Data Warehousea number of commonly used items have been
mapped toLOINC,SNOMED CTorATCwith data in
thevocabulary_id,vocabulary_concept_code,vocabulary_concept_namecolumns.dictionary:UCUMunits addedversion 0.1.4fixes binning inoutliers_histogram()when all values < 1version 0.1.3Improves binning inoutliers_histogram()version 0.1.2Allows negative dates inget_fluidbalance()version 0.1.1Fixes Google BigQueryProject must be a stringerror.version 0.1.0initial release for ESICM Datathon 2021
|
amsthm
|
Date:January 25, 2022ContentsIntroductionUsageSyntaxTipsSupported pandoc versionsIntroductionamsthm provide a syntax to use amsthm environments in pandoc, with output in LaTeX and HTML.UsageFrommakefile:tests/model-target.md:tests/model-source.mdpandoc-Famsthm$<-o$@tests/model-latex.tex:tests/model-source.mdpandoc-Famsthm$<-o$@--top-level-division=chapter--toc-Ntests/model-latex.pdf:tests/model-source.mdpandoc-Famsthm$<-o$@--top-level-division=chapter--toc-Ntests/model-html.html:tests/model-source.mdpandoc-Famsthm$<-o$@--toc-N-sSyntaxSeetests/model-source.md(or next page in documentation site) for an example.TipsUse-N,--number-sectionsto enable numbering in pandoc. This is mandatory for LaTeX output.To match LaTeX and non-LaTeX output numbering scheme, match these 2 settings manuallyLaTeX output: pandoc’s cli flag--top-level-division=[section|chapter|part]and the use ofparent_counterin pandoc-amsthmnon-LaTeX output:counter_depthin pandoc-amsthmSupported pandoc versionspandoc versioning semantics isMAJOR.MAJOR.MINOR.PATCHand panflute’s is MAJOR.MINOR.PATCH. Below we shows matching versions of pandoc that panflute supports, in descending order. Only major version is shown as long as the minor versions doesn’t matter.Version Matching[1]pandoc-amsthmpanflute versionsupported pandoc versionssupported pandoc API versions2.0.02.1.32.14.0.3–2.17.x1.22–1.22.1[1]For pandoc API verion, checkhttps://hackage.haskell.org/package/pandocfor pandoc-types, which is the same thing.
|
amstrax
|
AmstraxDocumentationAmsterdam StraxAmstrax is the analysis framework for XAMS, built on top of the
genericstrax framework.InstallationFor installing the package do the regular install-packages-from-github tricks:pip install amstraxAll required dependencies will be installed for you.UsageFirst you'll need to get some data. For this you'll need to either run somewhere where nikhef's
/data/xenon/xams is available or have data downloaded. Either strax processed data or pax raw data
is fine. Once you have data you can try running the Tutorial notebook (although it's in Dutch), just
make sure to change the output_folder to where you have dataTest2.0.0 / 2023-08-29New release, major changes.General:Adjust importsAdd arguments to amstraxer for auto processingNew amstraxer_easy for easier autoprocessing (removed unnecessary options..) -> TODO replace amstraxerautoprocessing/autoprocessing.py : add local processing option (for now preferred?)autoprocessing/process_run.py : add number of failures handlingmake amstrax straxen independent (to be discussed, for me is just source of problems, straxen changes quickly)contexts.py : adjusted some contexts options, TODO: clean all contextsrundb interface more structuredadded process_run as scriptProcessing plugins:refactored structuremake plugins straxen free (at the cost of copy pasting few functions from straxen)unified raw records in one type onlysimplified pulse processingtwo new useful plugins for LED calibrations, see the full pulsesworkflow up to peaks tested, need events to tune things1.2.0 / 2022-01-14Major changes:Fix off by one error in the channel map of XAMS (#91)Fix off by one error in the channel map of XAMS (#92, #95)Updated HISTORY.md again for (same, but more complete) new release (#71)A bunch bumped requirements by dependabot (#72, #74, #78, #79, #83, #84, #85, #86, #87)1.1.2 / 2021-12-23Since release v1.0.2, some things changed, of which the most important is the script that copies data to the stoomboot cluster.Made a file that automatically copies new data files to stoomboot (#51)Other merged PRs are:Add small utility to amstrax for version printing (#48)Set default to something that is produced (#49)fix line endings (#53)Add readthedocs instructions (#67)A lot of bumped versions in requirements.txt (PR #58 t/m #66)Fix docs (#68)Update HISTORY.md with new release (#71)Notes:Previous release was a consequence of mflierm's clumsyness.1.0.3 / 2021-12-23Made a file that automatically copies new data files to stoomboot (#51)1.0.2 / 2021-12-07Bugfix XAMS context (#46)1.0.1 / 2021-12-02BUGfor xams context, please use v1.0.2Flip the channel map for xams (#44)Few tweaks when submitting to stoomboot (#45)1.0.0 / 2021-12-02Stable version after firstamstraxprojectBreaking changes:Onlyraw_records_v1724andraw_records_v1730are provided. Plugins will have to be added in later versionsbootstraxis deleted and replaced by simpleramstraxer.py-functionalityRestructure of packageRemoval of notebooks todedicated repoMajor updates:New testing suiteNew integrationsNew DAQReaderSimplified and streamlined auto processingDocumentationonnew documentation websiteRelated pull requests:Add badges to Amstrax and update readme (#23)Plugin, context and package structure (#24)Fix autoprocessing scripts (#25)Delete bootstrax (#26)remove notebooks (#27)Add documentationAdd context test (#28)Code cleanup (#36, #40)Fix straxen requirements for testing (#37)Add init for autoprocessing (#39)Test autoprocessing scripts (#41)Add documentation (#42, #43)0.1.0 / 2021-12-02Add testing and restructure amstrax (#13)0.0.1 / <2021-12-01
|
amt
|
===============================Python AMT Tools===============================.. image:: https://img.shields.io/travis/sdague/amt.svg:target: https://travis-ci.org/sdague/amt.. image:: https://img.shields.io/pypi/v/amt.svg:target: https://pypi.python.org/pypi/amtTools for interacting with Intel's Active Management TechnologyBackground----------AMT is a light weight hardware control interface put into some Intelbased laptops and desktops as a tool for corporate fleets to managehardware. It provides the basics of power control, as well as remoteconsole via VNC. It functions by having a dedicated service processorsniff traffic off the network card on specific ports before it gets tothe operating system. Some versions of Intel NUC boxes have AMT, whichmake them ideal candidates for building a reasonable cluster in yourbasement.There was once a tool called ``amttool`` which let you interact withthese systems from Linux. This used the SOAP interface to AMT. Thatwas removed in v9 of the firmware, which means it no longer works withmodern AMT in the field.The interface that remains is CIM, a standard from the DMTF thatbuilds XML models for all the things. There exist very few examplesfor how to make this work on the internet, with one exception: theOpenStack Baremetal (Ironic) service. It has native support for AMThardware control.This project is derivative work from Ironic. The heavy lifting ofunderstanding all the CIM magic incantations, and oh the magic theyare, comes from that code. Refactored for a more minimal usage.Hardware that includes AMT--------------------------AMT is branded as vPro in products by Intel. It is found in many Intelbased laptops. There are also specific models of Intel NUC thatinclude vPro.* `Intel NUC KIT Core Processor BLKNUC5I5MYHE <http://amzn.to/1OZshhF>`_This code gets tested with ``5i5MYHE`` NUCs as well as an older NUCthat I have laying around.Configuring AMT---------------AMT must be enabled in the BIOS before it can be used externally. Thisis done by pressing ``Ctrl-P`` during initial boot. Initial user /pass is ``admin`` / ``admin``. You will be required to create a newadmin password that has at least 1: number, capital letter, and nonalphanumeric symbol.One you do that, reboot and you are on your way.amtctrl-------The ``amt`` library installs a binary ``amtctrl`` for working with AMTenabled machines.machine enrollment~~~~~~~~~~~~~~~~~~To simplify the control commands ``amtcrtl`` has a machineregistry. New machines are added via:amtctrl add <name> <address> <amtpassword>You can see a list of all machines with:amtctrl listAnd remove an existing machine with:amtctrl rm <name>controlling machines~~~~~~~~~~~~~~~~~~~~Once machines are controlled you have a number of options exposed:amtctrl <name> <command>Command is one of:* on - power on the machine* off - power off the machine* reboot - power cycle the machine* pxeboot - set the machine to pxeboot the next time it reboots, andreboot the machine. This is extremely useful if you have installautomation on pxeboot.* status - return power status as an ugly CIM blob (TODO: make this better)Futures-------* More extensive in tree testing (there currently is very little ofthis)* Retry http requests when they fail. AMT processors randomly dropsome connections, built in limited retry should be done.* Fault handling. The current code is *very* optimistic. Hence, the0.x nature.* Remove console control. There are AMT commands to expose a VNCremote console on the box. Want to support those.=========History=========0.8.0 (2017-06-27)------------------* add support for hybernate power state (thanks Chen Rotem Levy)* ensure hostdb is not world readable when created (thanks bodo-riediger)0.7.0 (2017-03-24)------------------* add support for -p flag to prompt for password and bypass hostdb* nice errors to the user when auth fails0.6.0 (2016-10-27)------------------* add support for stand-by power state (thanks Chen Rotem Levy)0.5.0 (2016-10-20)------------------* python 2 fixes for python 3 issues (thanks Chen Rotem Levy)0.4.0 (2016-10-10)------------------* python 3 fixes and testing (thanks Rixillo)0.3.0 (2015-10-08)------------------* python 3 print fix (thanks Mike Nawrocki)* add set_next_boot and change_boot_order_request (thanks John L. Villalovos)0.1.0 (2015-08-09)---------------------* First release on PyPI.
|
am-tdm
|
No description available on PyPI.
|
amtflash
|
amtflashDevice driver for the AMT Flash (MPPS) v13 OBD CableUsagefromamtflashimportAMTFlashdevice=AMTFlash()print("Version:{}".format(device.get_version()))print("Version:{}".format(device.get_version_str()))´´´
|
amtFMC
|
amtFMC: Amtery python library for FMC5030amtFMC is a Python library provided to remotely control FMC5030. The program is executed in an external host computer. With this method, python programs can control the tuner and AD9364 simultaneously.To Startup, run the lines below. For more details, please refer to the examples (seeDocumentationor visit theHomepage.importamtFMCasfmc# Reset and initialize FMC5030 through SSH.fmc.amtFmcRfReset(ip,port,username,password)DependenciesLibIIO <= 0.25PyADI-IIO <= 0.0.16ParamikoNumPyInstalling from pippipinstallamtFMCInstalling from sourceDownload the file on the Homepage.# unzip the file to a specific path7zx"amtFMC.zip"-o"C:\Program Files\"cdC:\ProgramFiles\amtFMCpipinstallamtFMC-0.0.1-py3-none-any.whl
|
amtFMC5030
|
amtFMC5030: Amtery python library for FMC5030amtFMC5030 is a Python library provided to remotely control FMC5030. The program is executed in an external host computer. With this method, python programs can control the tuner and AD9364 simultaneously.To Startup, run the lines below. For more details, please refer to the examples in .../amtFMC5030/examples/ (Or download fromDocumentationor visit theHomepage. )importamtFMC5030asfmc# Reset and initialize FMC5030 through SSH.fmc.amtFmcRfReset(ip,port,username,password)DependenciesLibIIO <= 0.25PyADI-IIO <= 0.0.16ParamikoNumPyInstalling from pippipinstallamtFMC5030Installing from sourceDownload the file on the Homepage.# unzip the file to a specific path7zx"amtFMC5030.zip"-o"C:\Program Files\"cdC:\ProgramFiles\amtFMC5030pipinstallamtFMC5030-1.0.0-py3-none-any.whl
|
amti-islands
|
AMTI IslandsObject-oriented islands in the South China Sea.InstallationInstall withpip.InterfaceIslandTheIslandclass represents an island in the South China Sea.Each instance has the following properties:url, the URL for the AMTI reference,title, the AMTI title,names, a dictionary of names for the island,occupier, optional occupying country,legal_status, the legal status of the feature,geo, aCoordinatesobject withlatandlongproperties.AMTIInstantiate theAMTIclass. This is a factory class forIslandobjects and has methodsislands(a generator forIslandinstances) andrandom_island(which returns a randomIsland).
|
amtk
|
The Asynchronous Message Tool Kit. Utilities for the AMQP.
Currently three tools are supported; record, play and merge.The record tool reads messages from the exchange and prints
them to stdout. Messages are recorded in json format.The play tool reads messages from a file and sends them to the
target exchange.The merge tool uses message_ids to merge recordings into a single
file.
|
amtokenizers
|
Amharic Language TokenizersThis package contains set of Classes which can be used to encode Amharic language sentences into tokens that could be used by language models. The tokenizers are trained usingContemporary Amharic Corpus (CACO)datasetInstallingPip installationpipinstall-ihttps://test.pypi.org/simple/amtokenizers==0.0.5Sample CodeVariable lengthfromamtokenizersimportAmTokenizera=AmTokenizer(10000,5,"byte_bpe")encoded=a.encode("አበበ በሶ በላ።",return_tokens=False)print("encoded",encoded.tokens)# encoded ['<s>', 'áĬł', 'áīłáīł', 'Ġáīłáζ', 'ĠáīłáĪĭ', 'áį', '¢', '</s>']print("decoded:",a.decode(encoded.ids))# decoded: <s>አበበ በሶ በላ።</s>Fixed lengtha=AmTokenizer(10000,5,"byte_bpe",max_length=16)encoded=a.encode("አበበ በሶ በላ።")print("encoded",encoded.tokens())# encoded ['<s>', 'áĬł', 'áīłáīł', 'Ġáīłáζ', 'ĠáīłáĪĭ', 'áį', '¢', '</s>', '<pad>', '<pad>', '<pad>', '<pad>', '<pad>', '<pad>', '<pad>', '<pad>']print(encoded.input_ids)# [0, 337, 3251, 3598, 3486, 270, 100, 2, 1, 1, 1, 1, 1, 1, 1, 1]print("decoded:",a.decode(encoded.input_ids))# decoded: <s>አበበ በሶ በላ።</s><pad><pad><pad><pad><pad><pad><pad><pad>DisclaimerThis package is highly inspired by Hugging Face'sHow to train a new language model from scratch using Transformers and Tokenizerstutorial.
|
amtool
|
Artifact Management ToolStatement of PurposeAMT is meant to be a generic means of storing and manipulating artifact data in a human readable text format ideal for colaborative work.What AMT is:An object oriented heirarchical data management tool.Designed to be used from the command line or user interface.Intended to manage human readable files captured in a version control system.Scriptable (Written in Python with extendable API)Embeddable (C++ api to follow)What AMT is not:Specialized for any task other than the storage and manipulation of artifacts.Intended Use Cases:Distributed Issue Tracking SystemColaborative Requirements ManagementUse Case DocumentationObject ModelsSoftware Lifecycle/Project Management Documentation GenerationSimulation Input FilesWhat problem does AMT try to solve.The ability to colaboratively develop artifacts when a central server or database cannot be utilized.Case Study: Distributed Issue TrackingExamples of a use case for which there is no existing workable solution, is the requirement to use an issue tracking system for a project that will be worked by groups on multiple networks, sites, locations, and/or classification levels, where access to a central database or server cannot be maintained by all developers, all the time. There are several excellent issue tracking systems out there, Bugzilla, Trac, Jira, but all of those solutions require access to a centralized server to interact with the issue database. AMT provides a user definable solution to create, manage, and version control an issue database, in human readable format, within the repository the project is stored in.Command line toolsCommand line tools are executed through subcommands of the amt command.CommandUsagedumpDumps an ascii representation of the object tree.cannonicalEnforces the canonical representation of the object tree.Example Python Usageimportamt# Loadartifacts=amt.load('/path/to/artifacts')# ReadAMT_OAR_001=artifacts['Requirements']['AMT-OAR-0001']# Modifyartifacts['Requirements']['AMT-OAR-0002']['Description']='Be Cool'# Writeamt.save('/path/to/write/artifacts',artifacts)CreditsThis package was created withCookiecutterand theaudreyr/cookiecutter-pypackageproject template.History0.1.9 (2019-07-02)Adding short descriptions to commands.0.1.8 (2019-07-02)Package cleanup.0.1.7 (2019-07-02)Documentation cleanup.0.1.6 (2019-06-24)Debugging automated deployment to pypi.0.1.5 (2019-06-24)Added uid command.0.1.4 (2019-06-06)Debugging build issues.0.1.3 (2019-05-12)Testing release automation.0.1.2 (2019-05-12)Adding code coverage.0.1.1 (2019-05-12)Automated deployment from travis.0.1.0 (2019-04-23)First release on PyPI.
|
aMTProxy
|
aMTProxyAsynchronous Python MTProto proxy server [beta]InstallationTo get the latest build usepip install amtproxyUsagefrom amtproxy.server import start_serverstart_server(port=1234, secret='32-digit hex value')TBDddsecret prefix
|
amtrak
|
No description available on PyPI.
|
amt-tools
|
Automatic Music Transcription (AMT) ToolsImplements a customizable machine learning pipeline for AMT in PyTorch.
This framework abstracts various components of the AMT task, such as the dataset(s), data formatting, feature extraction, model usage, output formatting, training, evaluation, and inference.
This makes for easy modification and extension through inheritance.The framework is a work-in-progress. Its development is ongoing to meet my evolving research needs.InstallationStandard (PyPI)Recommended for standard/quick usage:pip install amt-toolsCloning RepositoryRecommended for running example scripts or making experimental changes:git clone https://github.com/cwitkowitz/amt-tools
pip install -e amt-toolsUsageThis repository can be used for many different purposes.
Please see theREADME.mdwithin each subpackage for more information.Additionally, several papers are implemented under theexamples/paperssubdirectory in standalone scripts which utilize the framework.
These examples demonstrate the versatility of the framework and serve as guides for how one might use it.
|
amtui
|
Artifact Management Tool User InterfaceStatement of PurposeA user interface to the Artifact Management ToolFree software: MIT licenseDocumentation:https://amtui.readthedocs.io.FeaturesTODOCreditsThis package was created withCookiecutterand theaudreyr/cookiecutter-pypackageproject template.History0.1.2 (2019-07-04)Debugging PyPi deployment from travis.0.1.1 (2019-07-04)Debugging PyPi deployment from travis.0.1.0 (2019-07-04)First release on PyPI.
|
amu110189-distributions
|
No description available on PyPI.
|
amueller
|
No description available on PyPI.
|
amukhsimov-jupyter-templates-bigdata
|
No description
|
amulet
|
No description available on PyPI.
|
amulet-core
|
Amulet CoreA Python 3 library to read and write data from Minecraft's various save formats.This library provides the main world editing functionality for Amulet Map EditorIf you are looking for the actual editor it can be found atAmulet Map EditorDocumentationOur online documentation can be found here:https://amulet-core.readthedocs.ioInstallingInstall Python 3.7We recommend setting up apython virtual environmentso you don't run into issues with dependency conflicts.runpip install amulet-coreto install the library and all its dependencies.DependenciesThis library uses a number of other libraries. These will be automatically installed when running the command above.NumpyAmulet_NBTPyMCTranslateContributingFor DevelopmentDownload the code to your computer, install python and run the following command from the root directory.
runpip install -e .[dev]This command will install the library in development mode with the libraries required for development.Black(Required for formatting)Must be run before pushing a Pull RequestFor information about contributing to this project, please see the contribution sectionbelowCode FormattingFor code formatting, we use the formatting utilityblack.
To run it, run the following command from your favorite terminal after installing:black amulet testsIn order for your pull request to be accepted, this command must be run to format every file.Building the DocumentationTo build the documentation locally, run the following command:make htmland then navigate to the
generated directorydocs_build/htmlin your favorite web browserBranch NamingBranches should be created when a certain bug or feature may take multiple attempts to fix. Naming
them should follow the following convention (even for forked repositories when a pull request is being made):For features, use:impl-<feature name>For bug fixes, use:bug-<bug tracker ID>For improvements/rewrites, use:improv-<feature name>For prototyping, use:proto-<feature name>Pull RequestsWe ask that submitted Pull Requests give moderately detailed notes about the changes and explain
any changes that were made to the program outside of those directly related to the feature/bug-fix.
Make sure to run all tests and formatting otherwise we cannot accept your pull request.Note: We will also re-run all tests before reviewing, this is to mitigate additional changes/commits
needed to pass all tests.Once a Pull Request is submitted, we will mark the request for review, once that is done, we will
review the changes and provide any notes/things to change. Once all additional changes have been made,
we will merge the request.
|
amulet-editor
|
Amulet-EditorA Minecraft world editor and converter that supports all versions since Java 1.12 and Bedrock 1.7.Running compiled buildsDownload the installer for your operating system from the list ofcompiled builds.Double click on the installer when downloaded and follow the installation steps. It can then be run and uninstalled like a normal program.Running from SourceIf you are running a compiled build you do NOT need to do this.InstallPython 3.9+We recommend setting up apython virtual environmentso you don't run into issues with dependency conflicts.Clone or download the repository source code.In the source code directory runpython -m pip install .to install the library and all its dependencies. Linux and MacOS users will need to usepython3runamulet_editorto run the program
|
amulet-leveldb
|
Amulet LevelDBA Cython wrapper for Mojang's modified LevelDB library.Installpip install amulet-leveldbUsefromleveldbimportLevelDBcreate_if_missing=True# optional input. Default False.db=LevelDB("path/to/db",create_if_missing)db.put(b"key",b"value")print(db.get(b"key"))# b"value"See thesource codefor full documentation.
|
amulet-map-editor
|
Amulet Map EditorA new Minecraft world editor and converter that supports all versions since Java 1.12 and Bedrock 1.7.Running compiled buildsDownload the zip file for your operating system from the list ofcompiled builds. (Currently Windows only)Extract the contained folder to a location on your computer and run the executable.Running from SourceIf you are running a compiled build you do NOT need to do this.InstallPython 3.9+We recommend setting up apython virtual environmentso you don't run into issues with dependency conflicts.runpython -m pip install amulet-map-editorto install the library and all its dependencies.runpython -m amulet_map_editorto run the programNotesIf you have python 2 installedpythonmay point to the wrong version in which case you will have to swap outpythonforpython3When installing from source the following dependencies will be installednumpywxpythonpyopenglAmulet-CoreThe library to handle loading and saving data to the world formats.Amulet-NBTThe library to handle reading and saving NBT and SNBT.PyMCTranslateThe library to handle block, block entity, entity and biome translation. between versionsMinecraft-Model-ReaderThe library to handle loading block models and textures from a resource pack for use in the renderer.Amulet-LevelDBThe wrapper for Mojang's custom LevelDB.ContributingFor information about contributing to this project, please read thecontributionfile.
|
amulet-nbt
|
Amulet-NBTAmulet-NBT is a Python 3 library, written in Cython, for reading and writing both binary NBT and SNBT.SNBT (or Stringified-NBT) is the JSON like format used in Java commands.InstallingRun this command to install from PyPi.pip install amulet-nbt~=2.0DocumentationSee ourreadthedocs sitefor the full documentation of this library.DevelopmentTo develop the library you will need to download the source and run this command from the root directory.pip install -e .[dev]This will build the library in-place and expose it to python.
Since this code is compiled you will need to run it again each time you change cython code.LinksDocumentation -https://amulet-nbt.readthedocs.ioGithub -https://github.com/Amulet-Team/Amulet-NBTWebsite -https://www.amuletmc.com/
|
amulet-runtime-final
|
amulet-runtime-finalDeclare final Python classes and methods at runtime.This module provides a decorator based interface to declare final classes and methods that are enforced at runtime.
This module is inspired by and is compatible withtyping.final.
SeePEP-591for more details on this topic.InstallationPython 3.6 or higher is required.You can simply install this module frompip.python -m pip install amulet-runtime-finalUsageThe main component of this module is thefinaldecorator that
can be used to decorate classes and methods inside a class. As
such:Classes decorated with @final cannot be subclassed.Methods decorated with @final cannot be overriden in subclasses.For example with classes:fromruntime_finalimportfinal@finalclassFoo:...classBar(Foo):# Raises RuntimeError...And with methods:fromruntime_finalimportfinalclassFoo:@finaldeffoo(self):...classBar(Foo):deffoo(self):# Raises RuntimeError...And with other decorators:fromruntime_finalimportfinalclassFoo:@final@propertydeffoo(self):...@final@staticmethoddefbar():...@final@classmethoddefbaz(cls):...classBar(Foo):@propertydeffoo(self):# Raises RuntimeError...@staticmethoddefbar():# Raises RuntimeError...@classmethoddefbaz(cls):# Raises RuntimeError...With property setters:fromruntime_finalimportfinalclassFoo:@propertydeffoo(self):...# Note that the `final` decorator must only be applied to the last definition.@[email protected](self,foo):...
|
amulog
|
Amulog is a tool to support system log management.
The main function is to classify log messages with automatically generated log templates (formats and variable locations),
and to store the data in a database.
This system works on python3.Source:https://github.com/amulog/amulogBug Reports:https://github.com/amulog/amulog/issuesAuthor:Satoru KobayashiLicense:BSD-3-ClauseMain featuresSupport multiple databases: sqlite and mysqlSmart log segmentation withlog2seqMultiple template generation algorithms such as: Drain, SHISO, LenMa, FT-tree, Dlog, etc.Support Online (incremental) and Offline (hindsight) useSuspend and resume the template generation processImport and Export log templates if you needEdit log templates manually if you needSearch API with datetime, hostname and log template IDsTutorialInstall$ pip install amulogGenerate configFor the first step, save following config astest.confon an empty directory.[general]
src_path = logfile.txt
src_recur = false
logging = auto.log
[database]
database = sqlite3
sqlite3_filename = log.db
[log_template]
lt_methods = drain
indata_filename = ltgen.dumpThen modifygeneral.src_pathoption to a logfile you want to load.
(If you want to use multiple files, changegeneral.src_recurinto true and specify directory name togeneral.src_path.)Generate databaseTry following command to generate database:$ python -m amulog db-make -c test.confCheck database$ python -m amulog show-db-info -c test.confshows status of the generated database.$ python -m amulog show-lt -c test.confshows all generated log templates in the given logfile.$ python -m amulog show-log -c test.conf ltid=2shows all log messages corresponding to log template ID 2.Resume generating databaseTry following command to resume generating database:$ python -m amulog db-add -c test.conf logfile2.txtExport and Import templatesFollowing command exports all log templates in the database:$ python3 -m amulog show-db-import -c test.conf > exported_tpl.txtYou can modify the exported templates manually.
Note that some special letters (\\,@,*) are escaped in the exported templates.To import the templates, save following config astest2.conf.[general]
src_path = logfile.txt
src_recur = false
logging = new_auto.log
[database]
database = sqlite3
sqlite3_filename = new_log.db
[log_template]
lt_methods = import
indata_filename = new_ltgen.dump
[log_template_import]
def_path = exported_tpl.txtThen, try generating database again:python -m amulog db-make -c test2.confFurther usagesee help with following command:python -m amulog -hReferenceThis tool is demonstrated atInternational Journal of Network ManagementandCNSM2020.If you use this code, please consider citing:@article{Kobayashi_IJNM2022,
author = {Kobayashi, Satoru and Yamashiro, Yuya and Otomo, Kazuki and Fukuda, Kensuke},
title = {amulog: A general log analysis framework for comparison and combination of diverse template generation methods*},
journal = {International Journal of Network Management},
volume = {32},
number = {4},
pages = {e2195},
doi = {https://doi.org/10.1002/nem.2195},
year = {2022}
}
@inproceedings{Kobayashi_CNSM2020,
author = {Kobayashi, Satoru and Yamashiro, Yuya and Otomo, Kazuki and Fukuda, Kensuke},
booktitle = {Proceedings of the 16th International Conference on Network and Service Management (CNSM'20)},
title = {amulog: A General Log Analysis Framework for Diverse Template Generation Methods},
pages={1-5},
year = {2020}
}
|
amun
|
A CLI tool and library for interacting with Amun
|
amundsenatlastypes
|
Amundsen Atlas TypesKickstart your Apache Atlas to support Amundsen using the prebuilt functions and required entity definitions.Installation:The package is available on PyPi, which you can install using below.pipinstallamundsenatlastypesUsage:Connecting to Apache Atlas:amundsenatlastypesuses environment variables to connect to Apache Atlas.Following are the environment variables need to be set in order to connect to
Apache Atlas.-ATLAS_HOST[default=localhost]-ATLAS_PORT[default=21000]-ATLAS_USERNAME[default=admin]-ATLAS_PASSWORD[default=admin]Kickstart Apache AtlasA single python function is available that you can use to apply all required entity definitions.
You can run this function as many times as you want, and it will not break any existing functionality, that means
that it can also be implemented in your pipelines.fromamundsenatlastypesimportInitializerinit=Initializer()init.create_required_entities()There also is a functionality to initiate your existing data to work accordingly with Amundsen.
To create required relations you need to setfix_existing_data=Truewhile calling thecreate_required_entities().fromamundsenatlastypesimportInitializerinit=Initializer()init.create_required_entities(fix_existing_data=True)Sample Dataamundsenatlastypesprovides sample data so you can populate your Atlas not only with entity definitions but also
concrete entities.Prerequisitespipinstallamundsenatlastypes[samples]Table Sample Datafromamundsenatlastypes.schema.table.sample_dataimportSampleTableDatatable_loader=SampleTableData()table_loader.create()Dashboard Sample Datafromamundsenatlastypes.schema.dashboard.sample_dataimportSampleDashboardData# Fill below variables with appropriate valuestable_guid=''user_guid=''loader=SampleDashboardData(table_guid,user_guid)loader.create()Functionality:amundsenatlastypesprovides a number of functions that can be used separately to
implement/apply entity definitions of Apache Atlas, which are availablehere.You can also simply access the individual entity definitions in JSON format by importing them
fromhere.Sample Dataamundsenatlastypesprovides sample data so you can populate your Atlas not only with entity definitions but also
concrete entities.
|
amundsen-common
|
Amundsen CommonAmundsen Common library holds common codes among micro services in Amundsen.
For information about Amundsen and our other services, visit themain repository. Please also see our instructions for aquick startsetup of Amundsen with dummy data, and anoverview of the architecture.RequirementsPython >= 3.6Dochttps://www.amundsen.io/amundsen/
|
amundsencommon-azure
|
Amundsen CommonAmundsen Common library holds common codes among micro services in Amundsen.
For information about Amundsen and our other services, visit themain repository. Please also see our instructions for aquick startsetup of Amundsen with dummy data, and anoverview of the architecture.RequirementsPython >= 3.6Dochttps://www.amundsen.io/amundsen/
|
amundsen-common-rudeserver
|
Amundsen CommonAmundsen Common library holds common codes among micro services in Amundsen.
For information about Amundsen and our other services, visit themain repository. Please also see our instructions for aquick startsetup of Amundsen with dummy data, and anoverview of the architecture.RequirementsPython >= 3.6Buildint Pypi DistroUpdate version in setup.pyGrab account credentials for PyPihttps://pypi.org/Build and upload distro:# clean
deactivate
rm -rf venv/
rm -rf dist/
# venv
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
# build / test
python3 setup.py install
python3 -bb -m pytest tests
# make dist
ls dist/
python3 setup.py sdist
ls dist/
# upload
pip install twine
twine upload dist/*
|
amundsen-databuilder
|
No description available on PyPI.
|
amundsen-databuilder-azure
|
No description available on PyPI.
|
amundsen-databuilder-neo4j4
|
No description available on PyPI.
|
amundsen-frontend
|
No description available on PyPI.
|
amundsen-gremlin
|
No description available on PyPI.
|
amundsen-metadata
|
No description available on PyPI.
|
amundsen-metadata-neo4j4
|
No description available on PyPI.
|
amundsen-rds
|
No description available on PyPI.
|
amundsen-search
|
No description available on PyPI.
|
amuni-pysample
|
amuni_pysampleLooking to up skill and have some fun building a personal AI, I started to get more serious about Python. This repo is part rant, part jotting down the choices I made after reading articles from people who know a lot more.Using this repo via gitgit clonehttps://github.com/amishamuni/amuni_pysample.gitcd amuni_pysamplepython -m venv env : Create a virtual env.\env\Scripts\activate : Activate the virtual envpython -m main : Invoke and play around modifying what you wantpytest : To run the sample test or any that you adddeactivate : Deactivate virtual environmentUsing this repo from TestPyPImkdir trialcd trialpython -m venv envpython -m pip install --index-urlhttps://test.pypi.org/simple/--no-deps amuni-pysample==x.y.zTestPyPI doesnt have the pytest and streamlit versions I specify so install them manually using pippython -m sample.mainA sample repo for pythonThis template uses a src layout, and will iterate to use the following:requirements.txtto specify the dependencies required.pyproject.tomlto specify project metadata and build tools in a tool agnostic format.Blackas a code formatter,mypyas a type checker,Ruffas a fast linter,pyromaas a packaging linter.Build toolswith pip as build frontend, setuptools as build backend.pytestfor a test suite.pre-commitas a pre-commit tool, to automate checks to be run on your code before a commit.Github actionsto automate building, testing and deploying code.TestPyPIandPyPIto distribute the package as per recommended process, viatwineFurther readinghttps://github.com/pypa/sampleproject/tree/mainhttps://packaging.python.org/en/latest/guides/tool-recommendations/https://packaging.python.org/en/latest/flow/https://docs.python.org/3/tutorial/index.html
|
amunpy
|
AmunPy PackageThis is AmunPy, a package to read snapshots written using the AMUN code.
|
amunra
|
AMUNRAamunrais a tool that aims to simplify the process of data gathering on news website. Data gathering itself is time consuming,I intend to make it quicker.It automatically gathers links from a given search query, and also extract the content of a page from a link. Please note that currentlyamunracan only gather data fromDetik.comandKompasiana.comMore websites are coming soon!InstallationInstall withpip$ pip install amunraNow you can load the scrapper!import amunra
ra = amunra.DetikScrapper()UsageGather data instantlyra.gather_data("detik_saham.csv", "saham", "detik", 2)Opendetik_saham.csvand you will have a nice csv file ready forpandasurl,title,body,word_count
"https://news.detik.com/berita/d-4441490/kampanye-di-bali-sandiaga-janji-tolak-reklamasi","Kampanye di Bali Sandiaga Janji Tolak Reklamasi",bali cawapres sandiaga uno mengatakan menolak proyek reklamasi yang merusak lingkungan alam khusus untuk tanjung benoa bali sandiaga janji akan mereview kebijakan itu jika lebih banyak merugikan nelayanhal itu disampaikan sandiaga saat berdialog dengan masyarakat tanjung benoa bendesa adat tanjung benoa made wijaya meminta sandiaga untuk meninjau kembali peraturan untuk proyek yang merusak lingkungan jika terpilih nanti kami berharap jika terpilih pak sandi bisa meninjau kembali proyek yang merusak terumbu karang dan kelangsungan hidup anak cucu juga kesejahteraan para nelayan ucap made wijaya di tanjung benoa bali minggu 2422019baca juga sandiaga ingin kembangkan pariwisata halal di balisandiaga menuturkan isu reklamasi ini juga dia bawa saat kampanye pilgub dki 2017 lalu pemberhentian reklamasi teluk jakarta pun akhirnya dia penuhi saat menjabat sebagai wagub dki jakarta bersama gubernur dki anies baswedan kalau masyarakat bali merasa reklamasi merusak lingkungan dan mengancam penghidupan para nelayan bersama masyarakat bali prabowosandi akan menolak reklamasi tegas sandi baca juga instruksi sandiaga ke emakemak kawal tps selfie dengan form c1sandiaga berjanji dia akan konsisten memenuhi janji kampanyenya apalagi jika proyek reklamasi itu lebih banyak merugikan masyarakat karena janji itu utang jika tidak ditagih di dunia akan kena di akhirat ucap sandisimak juga catat nih sandiaga janji tak lagi makan apel imporgambasvideo 20detik,204
...Getting links from a search termra.get_urls("urls.txt", "saham", "detik", 2)Openurls.txtand you should see this:https://finance.detik.com/bursa-dan-valas/d-4422865/balik-ke-zona-merah-ihsg-parkir-di-6515
https://finance.detik.com/bursa-dan-valas/d-4422769/menguat-140-saham-smartfren-dipelototi-bei
https://finance.detik.com/bursa-dan-valas/d-4422490/ihsg-dibuka-menguat-tipis-di-awal-pekan
https://finance.detik.com/foto-bisnis/d-4414756/mengintip-bangunan-lantai-bursa-di-china
https://finance.detik.com/foto-bisnis/d-4379933/melantai-di-bursa-saham-kibif-naik-4118
https://finance.detik.com/foto-bisnis/d-4375140/bank-mandiri-angkat-direktur-komersial-baru
https://finance.detik.com/foto-bisnis/d-4370450/bri-kembali-tunjuk-wadirut-baru
https://finance.detik.com/foto-bisnis/d-4354330/sah-kini-51-saham-freeport-milik-indonesia
https://finance.detik.com/perencanaan-keuangan/d-4421163/gaji-rp-3-juta-mau-naik-haji-bisa-kok
https://finance.detik.com/bursa-dan-valas/d-4420943/dirut-bank-danamon-dapat-hibah-saham-rp-3-miliar
...Getting content from a linkra.parse_from_url("output.csv",
"https://finance.detik.com/bursa-dan-valas/d-4422769/menguat-140-saham-smartfren-dipelototi-bei")Openoutput.csvand you will have a nice csv file ready forpandasurl,title,body,word_count
"https://finance.detik.com/bursa-dan-valas/d-4422769/menguat-140-saham-smartfren-dipelototi-bei","Menguat 140% Saham Smartfren Dipelototi BEI",jakarta pt bursa efek indonesia bei meningkatkan pengawasan terhadap saham pt smartfren telecom tbk fren saham fren kini masuk dalam daftar unusual market activity umabei memandang adanya pergerakan harga yang di luar kewajaran di saham fren oleh karena itu pelaku pasar diminta untuk mencermati lebih dalam terhadap saham frensehubungan dengan terjadinya uma atas saham fren tersebut perlu kami sampaikan bahwa bursa saat ini sedang mencermati perkembangan pola transaksi saham ini kata kepala divisi pengawasan transaksi bei lidia m pandjaitan dilansir dari keterbukaan informasi senin 1122019jika dilihat saham fren memang terus menguat setidaknya selama sebulan ini tercatat saham fren yang kini bertengger di level rp 228 sudah meningkat 140 dalam waktu 1 bulanpeningkatan drastis terjadi pada seminggu kebelakang ini pada perdagangan 6 februari 2018 saham fren dalam sehari bisa meroker 333baca juga tips memilih saham zombiehingga siang ini saham fren tercatat sudah menguat 755 ke posisi rp 228 di posisi itu saham fren sudah ditransaksikan sebanyak rp 712 miliar ,158You can also do a batch operation by loading up a file from the aboveget_urls()function and load it toamunra:ra.parse_from_file("output.csv", "urls.txt")
|
amunra-sphinx-theme
|
SummaryAmunraprovides a lightweight, easy-to-use, responsive theme for Sphinx based on Bootstrap 4.
It features a minimalist top navigation bar which can be configured manually
or using Sphinx’s standardtoctreedirective.DemoSee the theme in action here:https://barentsen.github.io/amunra-sphinx-theme/(view source)https://docs.lightkurve.org/(view source)InstallationInstall the theme:pip install amunra-sphinx-themeConfigure it in your Sphinx’sconf.pyconfiguration file
as follows:html_theme = "amunra_sphinx_theme"Configure the theme options by adding the following snippet
in yourconf.pyfile:html_theme_options = {
# Title shown in the top left. (Default: ``project`` value.)
"navbar_title": "Amunra",
# Links to shown in the top bar. (Default: top-level ``toctree`` entries.)
"navbar_links": [
("Quickstart", "quickstart"),
("Tutorials", "tutorials/index"),
("API", "api/index"),
("About", "about/index"),
],
# If ``github_link`` is set, a GitHub icon will be shown in the top right.
"github_link": "https://github.com/barentsen/amunra-sphinx-theme",
# Text to show in the footer of every page.
"footer_text": "Created with ♥ by Geert Barentsen.",
# Google Analytics ID. (Optional.)
"analytics_id": "UA-XXXXX-X"
}Optional: create a nice splash page for your project by including the
following code in yourindex.rstfile:.. title:: Your-Project-Title
.. container:: lead
Your-Project-Title
A short description of your project.
.. raw:: html
<a href="quickstart.html" class="btn btn-primary">Quickstart →</a>
|
amurex
|
No description available on PyPI.
|
amuse
|
This package installs the Astrophysical Multipurpose Software Environment (AMUSE).
|
amuse-aarsethzare
|
This package installs the AarsethZare community code for AMUSE.
|
amuse-athena
|
This package installs the Athena community code for AMUSE.
|
amuse-bhtree
|
This package installs the BHTree community code for AMUSE.
|
amuse-brutus
|
This package installs the Brutus community code for AMUSE.
|
amuse-bse
|
This package installs the BSE community code for AMUSE.
|
amuse-capreole
|
This package installs the Capreole community code for AMUSE.
|
amuse-distributed
|
This package installs the distributed community code for AMUSE needed for
the distributed communication channel.
|
amuse-ekster
|
EksterEkster is an AMUSE-based method for simulating embedded star clusters.Parts of this code modified from original AMUSE code (https://github.com/amusecode/amuse).(c) Steven Rieder 2018-2022
|
amuse-evtwin
|
This package installs the EVTwin community code for AMUSE.
|
amuse-fastkick
|
This package installs the fastkick community code for AMUSE.
|
amuse-fi
|
This package installs the FI community code for AMUSE.
|
amuse-fractalcluster
|
This package installs the fractalcluster community code for AMUSE.
|
amuse-framework
|
This package installs the framework for the Astrophysical Multipurpose Software Environment (AMUSE).
|
amuse-fresco
|
FrescoFresco aims to simulate observations of particle-based simulations, such as
those of a star cluster. It creates an observation-like image from a list of
stars and/or gas particles. Supported filetypes include AMUSE-type hdf5 files,
Starlab files and plaintext files.For stars, the temperature and radius are calculated using a stellar evolution
code, if these are not already present in the dataset.Gas particles may also be read. In combination with stars, these will cause
reflection from nearby stars and optionally extinction of light from
background. Without stars, Fresco will make a density plot of the gas.
Optionally, the gas may also be indicated with contour lines.A random field of background and foreground stars may be added to the image, as
a way to make the image more natural looking and/or to provide a background
that may be obscured by the gas/dust particles.RequirementsPython 3.6 or higherNumpyScipyMatplotlibAMUSE (https://github.com/amusecode/amuse)a stellar evolution code (e.g. SSE or SeBa, for calculating stellar luminosities and radii)optional: Fi (for calculating dust extinction)Astropyamuse-masc (recommended)Usageimport matplotlib.pyplot as plt
from amuse.datamodel import Particles
from amuse.units import units, nbody_system
from amuse.community.sse.interface import SSE
from amuse.ext.masc import make_a_star_cluster
from amuse.ext.fresco import make_fresco_image
?make_fresco_image # See options
stars = make_a_star_cluster.new_cluster()
gas = Particles()
se = SSE()
se.particles.add_particles(stars)
from_se = se.particles.new_channel_to(stars)
from_se.copy()
image, vmax = make_fresco_image(
stars, gas,
mode=["stars"],
return_vmax=True,
)
plt.imshow(image)
plt.show()AuthorsFresco is developed by Inti Pelupessy and Steven Rieder
|
amuse-gadget2
|
This package installs the Gadget2 community code for AMUSE.
|
amuse-galactics
|
This package installs the Galactics community code for AMUSE.
|
amuse-galaxia
|
This package installs the Galaxia community code for AMUSE.
|
amuse-halogen
|
This package installs the Halogen community code for AMUSE.
|
amuse-hermite
|
This package installs the Hermite community code for AMUSE.
|
amuse-hop
|
This package installs the Hop community code for AMUSE.
|
amuse-huayno
|
This package installs the Huyano community code for AMUSE.
|
amuse-kepler
|
This package installs the Kepler community code for AMUSE.
|
amuse-kepler-orbiters
|
This package installs the Kepler-orbiters community code for AMUSE.
|
amuse-mameclot
|
This package installs the Mameclot community code for AMUSE.
|
amuse-masc
|
MASCMASC (Make a star cluster) is an AMUSE-based script to generate a star cluster, to be used in N-body simulations or for other purposes. It aims to include all popular distribution models, initial mass functions, and many more features.Supported featuresStellar distributions: Plummer, King, fractal-basedInitial mass function: Salpeter, Kroupa, equal-massMetallicityVirial ratioNot yet supported featuresStars in initial binary/triple/multiple configurationsOther particles than starsRequirementsMASC requires AMUSE (https://github.com/amusecode/amuse) to work.Usage:Package version:from amuse.units import units
from amuse.ext.masc import new_star_cluster
cluster = new_star_cluster(
number_of_stars=1024,
# stellar_mass=False,
initial_mass_function='salpeter',
upper_mass_limit=125.0 | units.MSun,
effective_radius=3.0 | units.parsec,
star_distribution='plummer',
# star_distribution_w0=7.0,
# star_distribution_fd=2.0,
star_metallicity=0.01,
)Standalone version:$ python make_a_star_cluster.py -h
usage: make_a_star_cluster.py [-h] [-o CLUSTERNAME] [-type FILE TYPE]
[-N NUMBER_OF_STARS] [-M CLUSTER_MASS]
[-dist STAR_DISTRIBUTION]
[-gasdist GAS_DISTRIBUTION]
[-imf INITIAL_MASS_FUNCTION]
[-modelnr CLUSTER_MODEL_NUMBER]
[-kingw KING_PARAMETER_W0]
[-fractald FRACTAL_PARAMETER_FD]
[-uml UPPER_MASS_LIMIT] [-Z METALLICITY]
[-ibf INITIAL_BINARY_FRACTION]
[-R EFFECTIVE_RADIUS] [-vr VIRIAL_RATIO]
optional arguments:
-h, --help show this help message and exit
-o CLUSTERNAME Outputfile name [auto]
-type FILE TYPE Output file type ([amuse]/ascii/starlab/nemo)
-N NUMBER_OF_STARS Number of stars
-M CLUSTER_MASS Cluster mass (takes precedence over number of stars)
-dist STAR_DISTRIBUTION
Star distribution ([plummer]/king/fractal)
-gasdist GAS_DISTRIBUTION
Gas distribution ([none]/plummer/king/fractal) NOT
IMPLEMENTED YET
-imf INITIAL_MASS_FUNCTION
IMF ([kroupa]/salpeter/fixed)
-modelnr CLUSTER_MODEL_NUMBER
Model number
-kingw KING_PARAMETER_W0
King W0 parameter [7.0]
-fractald FRACTAL_PARAMETER_FD
Fractal distribution [2.0]
-uml UPPER_MASS_LIMIT
Upper mass limit (in MSun) [125.]
-Z METALLICITY Metallicity [0.01]
-ibf INITIAL_BINARY_FRACTION
Initial binary fraction (0-1) [0.] NOT IMPLEMENTED YET
-R EFFECTIVE_RADIUS Cluster radius [3.0] (parsec)
-vr VIRIAL_RATIO Virial ration [0.5], 0.5=stable, 0.75=just expelled
gas, 0.1=collapsingCOPYRIGHT/LICENSESee LICENSE
|
amusement
|
# amusementamusement is a Python package and CLI (command-line interface) to get the current wait times and show times of attractions at many popular theme parks. We currently support:* All Disney parks in USA, plus Paris* All Universal parks worldwide (with the exception of Singapore)* All Seaworld parks* Hersheypark## Example### CLIGet wait times right from your terminal```amusement islands-adventure --rides```### Library```from amusement.parks.universal.IslandsOfAdventure import IslandsOfAdventureioa = IslandsOfAdventure()print ioa.rides()# or print ioa.shows() if you want show times instead```A full list of the rides and shows in the park will be displayed!## Getting Started```pip install amusement```That's it!## Parksamusement supports a lot of parks. Here's a breakdown of which parks are supported and which features have been implemented.| Park Name | Rides | Shows || ------------------------------|-------------|-------------|| Magic Kingdom |x | || Epcot |x | || Hollywood Studios |x | || Animal Kingdom |x | || Disneyland |x | || Disney's California Adventure |x | || Universal Studios Florida |x<sup>1</sup>|x<sup>1</sup>|| Islands of Adventure |x<sup>1</sup>|x<sup>1</sup>|| Universal Studios Hollywood |x<sup>2</sup>|x<sup>2</sup>|| Universal Studios Japan |x<sup>3</sup>|x<sup>3</sup>|| Hersheypark |x | || Seaworld Orlando |x |x || Seaworld San Diego |x |x || Seaworld San Antonio |x |x || Busch Gardens Williamsburg |x |x || Busch Gardens Tampa |x |x |<sup>1</sup> USF/IOA currently only show a subset of attractions in the park. We are looking to address this in a future release.<sup>2</sup> USH uses the official times based off of the USH website. Because this is a website that does not consistently present times in a predictable format, this may fail from time to time.<sup>3</sup> If the park is closed, nothing will appear. We hope to address this in a future release.## ContributorsI welcome any and all contributions! Please view CONTRIBUTING.md for more information.I'm more than happy to help first-timers and anybody else, so don't be shy and respond on the issues if you're interested in helping out.## Tests```nosetests```Run this from the root directory to run tests.## LicenseMIT
|
amuse-mercury
|
This package installs the Mercury community code for AMUSE.
|
amuse-mesa
|
This package installs the MESA community code for AMUSE.
It will not build MESA itself, rather it requires the amuse-mesa-r15140 package for this.
|
amuse-mesa-r15140
|
This package installs the MESA community code (r15140) for AMUSE.
|
amuse-mesa-r2208
|
This package installs the MESA community code (r2208) for AMUSE.
|
amuse-mikkola
|
This package installs the Mikkola community code for AMUSE.
|
amuse-mmams
|
This package installs the MMAMS community code for AMUSE.
|
amuse-mobse
|
This package installs the MOBSE community code for AMUSE.
|
amuse-mosse
|
This package installs the MOSSE community code for AMUSE.
|
amuse-nbody6xx
|
This package installs the Nbody6++ community code for AMUSE.
|
amuse-petar
|
This package installs the PeTar community code for AMUSE.
|
amuse-ph4
|
This package installs the ph4 community code for AMUSE.
|
amuse-phantom
|
This package installs the Phantom community code for AMUSE.
|
amuse-phigrape
|
This package installs the phiGRAPE community code for AMUSE.
|
amuse-seba
|
This package installs the SeBa community code for AMUSE.
|
amuse-secularmultiple
|
This package installs the SecularMultiple community code for AMUSE.
|
amuse-simplex
|
This package installs the Simplex community code for AMUSE.
|
amuse-smalln
|
This package installs the smalln community code for AMUSE.
|
amuse-sphray
|
This package installs the SPHRay community code for AMUSE.
|
amuse-sse
|
This package installs the SSE community code for AMUSE.
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.