semvec/pypi-packages huggingface dataset:
void-reconstructor 1.3.6
Tools for reconstructing the velocities in a LCDM universe using the Jonker-Volgenant algorithm
Requires Python: >=3

void-reconstructor
------------------

This is a python program that provides the tools for reconstructing the velocities in a LCDM universe using the Jonker-Volgenant algorithm. The input are the positions of the particles in the final configuration. The LAPJV algorithm will then reconstruct the initial positions. Once the initial positions are known, we can calculate the Lagrangian and Eulerian velocities. 

To use this program:

from void-reconstructor import reconstruction as rec
from void_reconstructor.volume_division import *

Then, a Reconstructor object can be created: R = rec.Reconstructor(X_final, ID, masses)


Where X_final is an array of the final positions. For example, if 1000 particles are reconstructed, the shape of X_final is (1000,3) where X_final[:,0] are all x-coordinates for the 1000 particles. 

ID has shape (1000,) and contains a unique number for each particle. This can for example simply be np.range(0,1000). This makes sure that positions, velocities etc. are calculated for the correct particle. 

masses contains the mass for each particle. 

The grid on which the particles are reconstructed can be determined using R.get_grid

------------
Modifications

1.2.0
- Added README
- Fixed an error with mirror_positions()
1.2.2
- Fixed return of box_sizes
1.2.4
- Added a boolean to choose if the reconstruction should be done considering periodic boundary conditions, default is True. (R.periodic_condition)
1.2.6
- Added the possibility to add fake particles in full_reconstruction_nested
1.2.8
- Different selection method for homogeneous grid
- Fixed a bug with get_grid (only applicable if not a square grid)
1.2.10
- fake_particle is now N_fake_particle: N_part/N_fake_particle are added
1.3.0
- Added first bit of Cosmology support: z, theta, phi (Requires astropy)
1.3.2 
- Added get_rectangular_grid, where the grid is rectangular with square cells.
1.3.3
- Added redshift selection in get_final_position
- get_rectangular_grid() is now created with linspace, grid size is now smaller depending on npart
1.3.4 (old versions will not work anymore!)
- box_size has now (necessarily) 3 coordinates x,y,z. 
- fixed some bugs in get_position
1.3.5
- bug fixes for redshift_mins and redshift_maxs
1.3.6
- fixed volume division - working now with box_length_x, box_length_y and box_length_z
django-upyun 1.0.1
Django 又拍云存储插件

Django又拍云存储插件
=========================

**django-upyun** 为Django提供又拍云的接口.


Features
========

- Django file storage for UpYun
- Django static file storage for UpYun
- Works in Python 3.6

安装
============

* Install

开发版本：
.. code-block:: bash

    $ pip install git+https://gitee.com/enlangs/django-upyun-storage.git


正式版本：
.. code-block:: bash
    $ pip install django-upyun


- Add ``'django_upyun'`` to your ``INSTALLED_APPS`` setting
- Set your ``DEFAULT_FILE_STORAGE`` setting to ``"django_upyun.backends.UpYunMediaStorage"``
- Set your ``STATICFILES_STORAGE`` setting to ``"django_upyun.backends.UpYunStaticStorage"``
- Configure your UpYun Storage settings (Refer below).

Use the following settings for file storage.

.. code-block:: bash

    # 配置静态文件；
    STATICFILES_STORAGE = 'django-upyun.backends.UpYunStaticStorage'

    # 配置上传文件使用UpYun存储，如：ImageField、FileField
    DEFAULT_FILE_STORAGE = 'django-upyun.backends.UpYunMediaStorage'

认证设置
=======================

下面的三个设置用来登录upyun服务器

.. code-block:: bash

    # 服务
    UPY_SERVICE = <Your Service>

    # 用户名
    UPY_USERNAME = <Your username>

    # 密码
    UPY_PASSWORD = <Your password>

存储设置
=======================

使用的文件地址。

.. code-block:: bash

    service_url = <地址，支持CDN>

重名文件覆盖设置
====================

针对重名文件的处理方式，如果为True，表示覆盖；为False表示文件名称+时间戳

.. code-block:: bash

    UPY_NEED_COVERAGE = False


File storage settings
=====================

多媒体默认存储设置

.. code-block:: bash

    # 文件默认存储的文件夹
    MEDIA_URL = '/media/'
    

文件存储格式设置
===========================

设置上传后的文件存储到数据库中使用何种方式，为False表示存储为xxx.png

.. code-block:: bash

    UPY_SAVE_FULL_URL = <True/False>


Staticfiles storage settings
============================

静态默认存储设置

.. code-block:: bash

    # The default location for your static files
    STATIC_URL = '/static/'

staticfiles provides command 'collectstatic'. Run following command to collect all sub-folder 'static' of each app
and upload to STATIC_URL.

.. code-block:: bash

    $ python manage.py collectstatic


Testing
=======

需要如下三个配置，like linux系列可以使用环境变量设置。

.. code-block:: bash

    $ export UPY_SERVICE=<service>
    $ export UPY_USERNAME=<username>
    $ export UPY_PASSWORD=<password>

Support and announcements
=========================

Downloads and bug tracking can be found at the `main project website <https://gitee.com/enlangs/django-upyun-storage/issues>`_.