fargopy 0.3.15__py3-none-any.whl → 1.0.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,489 +0,0 @@
1
- Metadata-Version: 2.4
2
- Name: fargopy
3
- Version: 0.3.15
4
- Summary: FARGO3D Wrapping
5
- Home-page: https://pypi.org/project/fargopy
6
- Author: Jorge Zuluaga, Alejandro Murillo-González, Matias Montesinos
7
- Author-email: jorge.zuluaga@gmail.com
8
- License: MIT
9
- Keywords: astronomy MHD CFD
10
- Classifier: Programming Language :: Python :: 3
11
- Classifier: License :: OSI Approved :: MIT License
12
- Classifier: Operating System :: OS Independent
13
- Description-Content-Type: text/markdown
14
- License-File: LICENSE
15
- Requires-Dist: scipy
16
- Requires-Dist: matplotlib
17
- Requires-Dist: tqdm
18
- Requires-Dist: numpy
19
- Requires-Dist: ipython
20
- Requires-Dist: celluloid
21
- Requires-Dist: psutil
22
- Requires-Dist: gdown
23
- Requires-Dist: pandas
24
- Requires-Dist: plotly
25
- Requires-Dist: ipywidgets
26
- Requires-Dist: nbformat
27
- Dynamic: author
28
- Dynamic: author-email
29
- Dynamic: classifier
30
- Dynamic: description
31
- Dynamic: description-content-type
32
- Dynamic: home-page
33
- Dynamic: keywords
34
- Dynamic: license
35
- Dynamic: license-file
36
- Dynamic: requires-dist
37
- Dynamic: summary
38
-
39
- # FARGOpy
40
- ## Wrapping FRAGO3D
41
-
42
- <!-- This are visual tags that you may add to your package at the beginning with useful information on your package -->
43
- [![version](https://img.shields.io/pypi/v/fargopy?color=blue)](https://pypi.org/project/fargopy/)
44
- [![downloads](https://img.shields.io/pypi/dw/fargopy)](https://pypi.org/project/fargopy/)
45
- <a target="_blank" href="https://colab.research.google.com/github/seap-udea/fargopy/blob/main/README.ipynb">
46
- <img src="https://colab.research.google.com/assets/colab-badge.svg" alt="Open In Colab"/>
47
- </a>
48
-
49
- `FARGOpy` is a python wrapping for [`FARGO3D`](https://fargo3d.bitbucket.io/intro.html), the well-knwon hydrodynamics and magnetohydrodynamics parallel code. This wrapping is intended to facillitate the interaction with FARGO3D, especially for those starting using the code. `FARGOpy` may be also useful for teaching and training purposes. For advanced users, `FARGOpy` provides useful functionalities in the postprocessing of simulation results, derivative calculations and plots.
50
-
51
- This is an animation created with a few lines of code using `FARGOpy`.
52
- <p align="center"><img src="https://github.com/seap-udea/fargopy/blob/main/gallery/fargo-animation.gif?raw=true" alt="Animation""/></p>
53
-
54
- For the code used to generate this animation see the tutorial notebook [animations with `FARGOpy`](https://github.com/seap-udea/fargopy/blob/main/examples/fargopy-tutorial-animations.ipynb). For other examples and a full tutorial see the [examples repository](https://github.com/seap-udea/fargopy/blob/main/examples).
55
-
56
- ## Installing `FARGOpy`
57
-
58
- `FARGOpy` is available at the `Python` package index and can be installed using:
59
-
60
- ```bash
61
- $ sudo pip install fargopy
62
- ```
63
- as usual this command will install all dependencies (excluding `FARGO3D` which must be installed indepently as explained before) and download some useful data, scripts and constants.
64
-
65
-
66
-
67
- > **NOTE**: If you don't have access to `sudo`, you can install `FARGOpy` in your local environmen (usually at `~/.local/`). In that case you need to add to your `PATH` environmental variable the location of the local python installation. Add to `~/.bashrc` the line `export PATH=$HOME/.local/bin:$PATH`
68
-
69
- Since `FARGOpy` is a python wrap for `FARGO3D` the ideal environment to work with the package is `IPython`/`Jupyter`. It works really fine in `Google Colab` ensuing training and demonstration purposes. This README, for instance, can be ran in `Google Colab`:
70
-
71
- <a target="_blank" href="https://colab.research.google.com/github/seap-udea/fargopy/blob/main/README.ipynb">
72
- <img src="https://colab.research.google.com/assets/colab-badge.svg" alt="Open In Colab"/>
73
- </a>
74
-
75
- This code only works in Colab and it is intended to install the latest version of `FARGOpy`
76
-
77
-
78
- ```python
79
- import sys
80
- if 'google.colab' in sys.modules:
81
- !sudo pip install -Uq fargopy
82
- ```
83
-
84
- If you are working in `Jupyter` or in `Google Colab`, the configuration directory and its content will be crated the first time you import the package:
85
-
86
-
87
- ```python
88
- import fargopy as fp
89
-
90
- # These lines are intented for developing purposes; drop them in your code
91
- %load_ext autoreload
92
- %autoreload 2
93
- ```
94
-
95
- Running FARGOpy version 0.3.6
96
-
97
-
98
- If you are working on a remote Linux server, it is better to run the package using `IPython`. For this purpose, after installation, `FARGOpy` provides a special initialization command:
99
-
100
- ```bash
101
- $ ifargopy
102
- ```
103
-
104
- The first time you run this script, it will create a configuration directory `~/.fargopy` (with `~` the abbreviation for the home directory). This directory contains a set of basic configuration variables which are stored in the file `~/.fargopy/fargopyrc`. You may change this file if you want to customize the installation. The configuration directory also contains the `IPython` initialization script `~/.fargopy/ifargopy.py`.
105
-
106
- ## Downloading and installing FARGO3D
107
-
108
- It is important to understand that `FARGO3D` works especially well on Linux plaforms (including `MacOS`). The same condition applies for `FARGOpy`. Because of that, most of the internal as well as the public features of the packages are designed to work in a `Linux` environment. For working in other operating systems, especially on MS Windows, please consider using virtual machines ow WSL.
109
-
110
- Being an independent project, `FARGOpy` is not provided with a working version of `FARGO3D`. You need to download the C package and their prerequisites (compilers, third-party libraries, etc.) and configure them, by yourself. For a detailed guide please see the [FARGO3D documentation](https://fargo3d.bitbucket.io/index.html) or the [project repo at bitbucket](https://bitbucket.org/fargo3d/public/src/ae0fcdc67bb7c83aed85fc9a4d4a2d5061324597/?at=release%2Fpublic).
111
-
112
- Still `FARGOpy` provides a simple way to get the latest version of the source code of `FARGO3D` from its public GitHub repository. The source code will be downloaded into the home directory and stored as `~/fargo3d/`.
113
-
114
- > **WARNING**: If you want to change the final location of the source code or the name of the `FARGO3D` directory, before executing the following command, please change the corresponding configuration variables in `~/.fargopy/fargopyrc`
115
-
116
- To download the `FARGO3D` source code execute:
117
-
118
-
119
- ```python
120
- fp.initialize('download',force=True)
121
- ```
122
-
123
- Downloading FARGOpy...
124
- Directory '/home/jzuluaga/fargo3d/' already exists. Removing it...
125
-
126
-
127
- Cloning into 'fargo3d'...
128
-
129
-
130
- FARGO3D downloaded to /home/jzuluaga/fargo3d/
131
- Header file for FARGO3D found in the fargo directory /home/jzuluaga/fargo3d/
132
-
133
-
134
- Once download it you may check if the source code is compiling in your machine. For that purpose run:
135
-
136
-
137
- ```python
138
- fp.initialize('check',regular=1,gpu=0,parallel=0)
139
- ```
140
-
141
- Test compilation of FARGO3D
142
- Checking normal compilation.
143
- Running 'make -C /home/jzuluaga/fargo3d/ clean mrproper all PARALLEL=0 GPU=0 2>&1 |tee /tmp/fargo_regular.log':
144
- Compilation in mode regular successful.
145
- Skipping gpu compilation
146
- Skipping parallel compilation
147
- Summary of compilation modes:
148
- Regular: 1
149
- GPU: 0
150
- Parallel: 0
151
-
152
-
153
- If you have some error at compiling `FARGO3D` in some of the possible modes (regular, gpu and/or parallel) please check the corresponding logfile and correct the problems. Compiling problems will normally arise because of a lacking of an important dependency, for instance a compiler, a driver (in the case of GPU) or a third-party library or tool (eg. openmpi).
154
-
155
- ## Quickstart
156
-
157
- Here we will illustrate the minimal commands you may run to test the package. A more detailed set of examples can be found exploring [the tutorial notebooks](https://github.com/seap-udea/fargopy/blob/main/examples). Other in depth examples are also available in the [examples repository](https://github.com/seap-udea/fargopy/tree/main/examples) of the `GitHub` repository.
158
-
159
- There are two complimentary modes when using `FARGOpy`:
160
-
161
- - **Control mode**: Using this mode you can run and control `FARGO3D` from your notebook. This mode requires a working copy of `FARGO3D` ready to be compiled and run. This mode is ideal for training or testing purposes.
162
-
163
- - **Postprocessing mode**: Using `FARGOpy` in this mode allows you to process some of the output files produced by a `FARGO3D` simulation. This mode does not necesarily requires that a working copy of `FARGO3D` be installed in the machine where you are performing the postprocessing analysis. This mode is ideal for advanced users.
164
-
165
- ### Control mode
166
-
167
- Create a simulation:
168
-
169
-
170
- ```python
171
- sim = fp.Simulation(setup='fargo')
172
- ```
173
-
174
- Your simulation is now connected with '/home/jzuluaga/fargo3d/'
175
- Now your simulation setup is at '/home/jzuluaga/fargo3d/setups/fargo'
176
-
177
-
178
- Compile the `FARGO3D` binary to run the simulation:
179
-
180
-
181
- ```python
182
- sim.compile(parallel=0,gpu=0)
183
- ```
184
-
185
- Compiling fargo3d_SETUP-fargo_PARALLEL-0_GPU-0...
186
- Succesful compilation of FARGO3D binary fargo3d_SETUP-fargo_PARALLEL-0_GPU-0
187
-
188
-
189
- Run the simulation:
190
-
191
-
192
- ```python
193
- sim.run(cleanrun=True)
194
- ```
195
-
196
- Cleaning output directory /home/jzuluaga/fargo3d/outputs/fargo
197
- Running asynchronously (test = False): ./fargo3d_SETUP-fargo_PARALLEL-0_GPU-0 -m -t setups/fargo/fargo.par
198
- Now you are connected with output directory '/home/jzuluaga/fargo3d/outputs/fargo'
199
- Found a variables.par file in '/home/jzuluaga/fargo3d/outputs/fargo', loading properties
200
- Loading variables
201
- 84 variables loaded
202
- Simulation in 2 dimensions
203
- Loading domain in cylindrical coordinates:
204
- Variable phi: 384 [[0, -3.1334114227210694], [-1, 3.1334114227210694]]
205
- Variable r: 128 [[0, 0.408203125], [-1, 2.491796875]]
206
- Variable z: 1 [[0, 0.0], [-1, 0.0]]
207
- Number of snapshots in output directory: 1
208
- Configuration variables and domains load into the object. See e.g. <sim>.vars
209
-
210
-
211
- You may check the status:
212
-
213
-
214
- ```python
215
- sim.status()
216
- ```
217
-
218
-
219
- ################################################################################
220
- Running status of the process:
221
- The process is running.
222
-
223
-
224
- Or check the progress of the simulation:
225
-
226
-
227
- ```python
228
- sim.status('progress')
229
- ```
230
-
231
- Progress of the simulation (numstatus = 5, interrupting may stop the process):
232
- 1:OUTPUTS 3 at date t = 18.849556 OK [output pace = 0.1 secs]
233
- 2:OUTPUTS 4 at date t = 25.132741 OK [output pace = 0.1 secs]
234
- 3:OUTPUTS 5 at date t = 31.415927 OK [output pace = 0.9 secs]
235
- 4:OUTPUTS 6 at date t = 37.699112 OK [output pace = 1.8 secs]
236
- 5:OUTPUTS 7 at date t = 43.982297 OK [output pace = 1.9 secs]
237
-
238
-
239
- You may stop the simulation at any time using:
240
-
241
-
242
- ```python
243
- sim.stop()
244
- ```
245
-
246
- Stopping FARGO3D process (pid = 26257)
247
-
248
-
249
- Check the status of the simulation using:
250
-
251
-
252
- ```python
253
- sim.status('summary')
254
- ```
255
-
256
- The simulation has been ran for 9 time-steps (including the initial one).
257
-
258
-
259
- Once stopped you may resume the simulation at any snapshot or at the latest resumable snapshot:
260
-
261
-
262
- ```python
263
- sim.resume()
264
- ```
265
-
266
- Resuming from snapshot 7...
267
- Running asynchronously (test = False): ./fargo3d_SETUP-fargo_PARALLEL-0_GPU-0 -m -t -S 7 -t setups/fargo/fargo.par
268
- Now you are connected with output directory '/home/jzuluaga/fargo3d/outputs/fargo'
269
- Found a variables.par file in '/home/jzuluaga/fargo3d/outputs/fargo', loading properties
270
- Loading variables
271
- 84 variables loaded
272
- Simulation in 2 dimensions
273
- Loading domain in cylindrical coordinates:
274
- Variable phi: 384 [[0, -3.1334114227210694], [-1, 3.1334114227210694]]
275
- Variable r: 128 [[0, 0.408203125], [-1, 2.491796875]]
276
- Variable z: 1 [[0, 0.0], [-1, 0.0]]
277
- Number of snapshots in output directory: 9
278
- Configuration variables and domains load into the object. See e.g. <sim>.vars
279
-
280
-
281
- Once the simulation has been completed you will notice by ran:
282
-
283
-
284
- ```python
285
- sim.stop()
286
- ```
287
-
288
- The process has finished. Check logfile /home/jzuluaga/fargo3d/setups/fargo/fargo.log.
289
-
290
-
291
- ### Postprocessing mode
292
-
293
- Now that you have some results to process, it is time to use the functionalities that `FARGOpy` provides for this purpose.
294
-
295
- Create the simulation and connect it to the output directory:
296
-
297
-
298
- ```python
299
- sim = fp.Simulation(output_dir = fp.Conf.FP_FARGO3D_DIR + '/outputs/fargo')
300
- ```
301
-
302
- Your simulation is now connected with '/home/jzuluaga/fargo3d/'
303
- Now you are connected with output directory '/home/jzuluaga/fargo3d//outputs/fargo'
304
- Found a variables.par file in '/home/jzuluaga/fargo3d//outputs/fargo', loading properties
305
- Loading variables
306
- 84 variables loaded
307
- Simulation in 2 dimensions
308
- Loading domain in cylindrical coordinates:
309
- Variable phi: 384 [[0, -3.1334114227210694], [-1, 3.1334114227210694]]
310
- Variable r: 128 [[0, 0.408203125], [-1, 2.491796875]]
311
- Variable z: 1 [[0, 0.0], [-1, 0.0]]
312
- Number of snapshots in output directory: 21
313
- Configuration variables and domains load into the object. See e.g. <sim>.vars
314
-
315
-
316
-
317
- ```python
318
- sim.load_properties()
319
- ```
320
-
321
- Loading variables
322
- 84 variables loaded
323
- Simulation in 2 dimensions
324
- Loading domain in cylindrical coordinates:
325
- Variable phi: 384 [[0, -3.1334114227210694], [-1, 3.1334114227210694]]
326
- Variable r: 128 [[0, 0.408203125], [-1, 2.491796875]]
327
- Variable z: 1 [[0, 0.0], [-1, 0.0]]
328
- Number of snapshots in output directory: 22
329
- Configuration variables and domains load into the object. See e.g. <sim>.vars
330
-
331
-
332
- Load gas density field from a given snapshot:
333
-
334
-
335
- ```python
336
- gasdens = sim.load_field('gasdens',snapshot=20)
337
- ```
338
-
339
- Create a `meshslice` of the field:
340
-
341
-
342
- ```python
343
- gasdens_r, mesh = gasdens.meshslice(slice='z=0,phi=0')
344
- ```
345
-
346
- Plot the slice:
347
-
348
-
349
- ```python
350
- import matplotlib.pyplot as plt
351
- if not fp.IN_COLAB:plt.ioff() # Drop this out of this tutorial
352
- fig,ax = plt.subplots()
353
-
354
- ax.semilogy(mesh.r,gasdens_r)
355
-
356
- ax.set_xlabel(r"$r$ [cu]")
357
- ax.set_ylabel(r"$\rho$ [cu]")
358
- fp.Plot.fargopy_mark(ax)
359
- if not fp.IN_COLAB:fig.savefig('gallery/example-dens_r.png') # Drop this out of this tutorial
360
- ```
361
-
362
- <p align="center"><img src="https://github.com/seap-udea/fargopy/blob/main/gallery/example-dens_r.png?raw=true" alt="Animation""/></p>
363
-
364
- You may also create a 2-dimensional `meshslice`:
365
-
366
-
367
- ```python
368
- gasdens_plane, mesh = gasdens.meshslice(slice='z=0')
369
- ```
370
-
371
- And plot it:
372
-
373
-
374
- ```python
375
- if not fp.IN_COLAB:plt.ioff() # Drop this out of this tutorial
376
- fig,axs = plt.subplots(1,2,figsize=(12,6))
377
-
378
- ax = axs[0]
379
-
380
- ax.pcolormesh(mesh.phi,mesh.r,gasdens_plane,cmap='prism')
381
-
382
- ax.set_xlabel('$\phi$ [rad]')
383
- ax.set_ylabel('$r$ [UL]')
384
- fp.Plot.fargopy_mark(ax)
385
-
386
- ax = axs[1]
387
-
388
- ax.pcolormesh(mesh.x,mesh.y,gasdens_plane,cmap='prism')
389
-
390
- ax.set_xlabel('$x$ [UL]')
391
- ax.set_ylabel('$y$ [UL]')
392
- fp.Plot.fargopy_mark(ax)
393
- ax.axis('equal')
394
- if not fp.IN_COLAB:fig.savefig('gallery/example-dens_disk.png') # Drop this out of this tutorial
395
- ```
396
-
397
- <p align="center"><img src="https://github.com/seap-udea/fargopy/blob/main/gallery/example-dens_disk.png?raw=true" alt="Animation""/></p>
398
-
399
- ### Working with precomputed simulations
400
-
401
- If you don't have the resources to compile or run `FARGO3D` and still you want to test the postprocessing functionalities of the package you may download a precomputed simulation:
402
-
403
-
404
- ```python
405
- fp.Simulation.download_precomputed(setup='fargo')
406
- ```
407
-
408
- Downloading fargo.tgz from cloud (compressed size around 55 MB) into /tmp
409
-
410
-
411
- Downloading...
412
- From: https://docs.google.com/uc?export=download&id=1YXLKlf9fCGHgLej2fSOHgStD05uFB2C3
413
- To: /tmp/fargo.tgz
414
- 100%|██████████| 54.7M/54.7M [00:02<00:00, 19.1MB/s]
415
-
416
-
417
- Uncompressing fargo.tgz into /tmp/fargo
418
- Done.
419
-
420
-
421
- Once downloaded you may connect with simulation using:
422
-
423
-
424
- ```python
425
- sim = fp.Simulation(output_dir = '/tmp/fargo')
426
- ```
427
-
428
- Your simulation is now connected with '/home/jzuluaga/fargo3d/'
429
- Now you are connected with output directory '/tmp/fargo'
430
-
431
-
432
- and perform the postprocessing as explained before.
433
-
434
- We have prepared a set of precomputed simulations covering some interesting scientific cases. You may see the list of precomputed simulations available in the `FARGOpy` [cloud repository](https://drive.google.com/drive/folders/1NRdNOcmxRK-pHv_8vR-aAAJGWXxIOY0J?usp=sharing):
435
-
436
-
437
- ```python
438
- fp.Simulation.list_precomputed()
439
- ```
440
-
441
- fargo:
442
- Description: Protoplanetary disk with a Jovian planet [2D]
443
- Size: 55 MB
444
- p3diso:
445
- Description: Protoplanetary disk with a Super earth planet [3D]
446
- Size: 220 MB
447
- p3disoj:
448
- Description: Protoplanetary disk with a Jovian planet [3D]
449
- Size: 84 MB
450
- fargo_multifluid:
451
- Description: Protoplanetary disk with several fluids (dust) and a Jovian planet in 2D
452
- Size: 100 MB
453
- binary:
454
- Description: Disk around a binary with the properties of Kepler-38 in 2D
455
- Size: 140 MB
456
-
457
-
458
- You may find in the [examples directory](https://github.com/seap-udea/fargopy/tree/main/examples) of the `GitHub` repository, example notebooks illustrating how to use `FARGOpy` for processing the output of this precomputed simulations.
459
-
460
- ## What's new
461
-
462
-
463
- Version 0.3.*:
464
-
465
- - Refactoring of initializing routines.
466
- - Improvements in documentation of basic classes in `__init__.py`.
467
- - Precomputed simulations uploaded to FARGOpy Cloud Repository and available usnig `download_precomputed` static method.
468
-
469
- Version 0.2.*:
470
-
471
- - First real applications tested with FARGOpy.
472
- - All basic routines for reading output created.
473
- - Major refactoring.
474
-
475
- Version 0.1.*:
476
-
477
- - Package is now provided with a script 'ifargopy' to run 'ipython' with fargopy initialized.
478
- - A new 'progress' mode has been added to status method.
479
- - All the dynamics of loading/compiling/running/stoppìng/resuming FARGO3D has been developed.
480
-
481
- Version 0.0.*:
482
-
483
- - First classes created.
484
- - The project is started!
485
-
486
- ------------
487
-
488
- This package has been designed and written mostly by Jorge I. Zuluaga and Alejandro Murillo-González with advising and contributions by Matías Montesinos (C) 2023, 2024, 2025
489
-
@@ -1,16 +0,0 @@
1
- fargopy/__init__.py,sha256=Ua0ORnNZRgXeU1A-SlT5p2YBBs8x-O30Vwu2xh8b3mg,12490
2
- fargopy/fields.py,sha256=--TrrAaFO9WmsrecRfdmEV1FRfp6JQRlIqyqGn11p2g,10128
3
- fargopy/fsimulation.py,sha256=jfaLxgNePUx1seUv4uP5BHhxzU02wAmKbpE25wYnR1Y,23912
4
- fargopy/plot.py,sha256=T2xhVQnBU9NVebxgMgegcuBc0YZSei12VC6OzD5JihI,1583
5
- fargopy/simulation.py,sha256=MiVkFsm9irt90xFgAcS_2oz467L-Ox5z2eCtIichuZs,41976
6
- fargopy/sys.py,sha256=O53WNHU3EL3GIrpxuK4mi2er929f6Ztdf5Fej62DDs8,5055
7
- fargopy/util.py,sha256=Bbll0TwJjFp5hv2luoBu9ogNiepp4oErPFcuty7YqdY,672
8
- fargopy/version.py,sha256=tGOTbIKeitQH2urrdMPXqzyOiU7L-EhzSKhBjPcjOU4,17
9
- fargopy/tests/test___init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
10
- fargopy-0.3.15.data/scripts/ifargopy,sha256=t5E07jKzOLtNnlNyElQZbzjCW6wnR0bc8uCaZpw9yS8,382
11
- fargopy-0.3.15.dist-info/licenses/LICENSE,sha256=aIckKnNVrkXQMqEKlzGn_REfTwc82TF35BHMCRwPXCI,1097
12
- fargopy-0.3.15.dist-info/METADATA,sha256=DZO8Aj5Obp8rarK4k7wWJ9EtSLoWOef70qLwJUrderk,17762
13
- fargopy-0.3.15.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
14
- fargopy-0.3.15.dist-info/entry_points.txt,sha256=555NPKYbLCN0fgJbdW4b4azZ5sqjhqVqTUxujBBYEJY,49
15
- fargopy-0.3.15.dist-info/top_level.txt,sha256=_r66v1_-9T7dB5sQa12AdxaAdsv9-OTwtR-vft4OPBU,8
16
- fargopy-0.3.15.dist-info/RECORD,,
@@ -1,21 +0,0 @@
1
- MIT License
2
-
3
- Copyright (c) 2023 Solar, Earth and Planetary Physics Group
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.