Skip to content

Commit

Permalink
Merge pull request #26 from materials-data-facility/forge-dev
Browse files Browse the repository at this point in the history
Forge dev
  • Loading branch information
jgaff authored May 10, 2018
2 parents d63020b + 7503def commit ddd18c4
Show file tree
Hide file tree
Showing 6 changed files with 212 additions and 160 deletions.
21 changes: 2 additions & 19 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,25 +16,8 @@ cd forge
pip install -e .
```

# Examples

```python
from mdf_forge.forge import Forge

mdf = Forge()

# free text query
r = mdf.search("materials commons")

# structured query
r_2 = mdf.search_by_elements(elements=["Al","Cu"], sources=["oqmd"])
```

More examples are available in the docs/examples directory.


# Documentation
Documentation is available in the docs directory.
# Documentation and examples
Documentation, including tutorials and examples, can be found in the `docs` directory.

# Requirements
* Forge requires Python 2.7 or >=3.3
Expand Down
Loading

0 comments on commit ddd18c4

Please sign in to comment.