Skip to content

Commit

Permalink
Merge pull request #4 from multiversx/restructuring
Browse files Browse the repository at this point in the history
Moved files to create project structure
  • Loading branch information
popenta authored Jan 29, 2024
2 parents aa0a5ec + 913e624 commit eb753df
Show file tree
Hide file tree
Showing 192 changed files with 50 additions and 951 deletions.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@ jobs:
pip install -r requirements-dev.txt
- name: Lint with flake8
run: |
flake8 multiversx_sdk_core
flake8 multiversx_sdk
continue-on-error: true
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 2 additions & 0 deletions wallet/.gitignore → .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,8 @@ dmypy.json
# Typings generated by VSCode
typings/**

.idea

# Libraries
!libbls.so
!libbls.dylib
Expand Down
3 changes: 2 additions & 1 deletion wallet/.vscode/settings.json → .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"python.testing.pytestArgs": [
"multiversx_sdk_wallet"
"multiversx_sdk"
],
"python.testing.unittestEnabled": false,
"python.testing.pytestEnabled": true,
Expand All @@ -13,5 +13,6 @@
"source.organizeImports": true
},
"files.insertFinalNewline": true,
"files.trimTrailingWhitespace": true,
"python.languageServer": "Pylance"
}
2 changes: 1 addition & 1 deletion wallet/LICENSE → LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
SOFTWARE.
37 changes: 36 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,36 @@
# mx-sdk-py
# mx-sdk-py

The Python SDK for interacting with MultiversX.

## Development setup

### Virtual environment

Create a virtual environment and install the dependencies:

```
python3 -m venv ./venv
source ./venv/bin/activate
pip install -r ./requirements.txt --upgrade
```

Install development dependencies, as well:

```
pip install -r ./requirements-dev.txt --upgrade
```

Above, `requirements.txt` should mirror the **dependencies** section of `pyproject.toml`.

If using VSCode, restart it or follow these steps:
- `Ctrl + Shift + P`
- _Select Interpreter_
- Choose `./venv/bin/python`.

### Tests

Run the tests as follows:

```
pytest .
```
129 changes: 0 additions & 129 deletions core/.gitignore

This file was deleted.

17 changes: 0 additions & 17 deletions core/.vscode/settings.json

This file was deleted.

21 changes: 0 additions & 21 deletions core/LICENSE

This file was deleted.

65 changes: 0 additions & 65 deletions core/README.md

This file was deleted.

5 changes: 0 additions & 5 deletions core/multiversx_sdk_core/testutils/testwallets/alice.pem

This file was deleted.

5 changes: 0 additions & 5 deletions core/multiversx_sdk_core/testutils/testwallets/bob.pem

This file was deleted.

5 changes: 0 additions & 5 deletions core/multiversx_sdk_core/testutils/testwallets/carol.pem

This file was deleted.

26 changes: 0 additions & 26 deletions core/pyproject.toml

This file was deleted.

4 changes: 0 additions & 4 deletions core/requirements-dev.txt

This file was deleted.

2 changes: 0 additions & 2 deletions core/requirements.txt

This file was deleted.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 0 additions & 2 deletions network_providers/.flake8

This file was deleted.

8 changes: 0 additions & 8 deletions network_providers/.github/release.yml

This file was deleted.

Loading

0 comments on commit eb753df

Please sign in to comment.