Skip to main content

A python package for pteroleum computation

Project description

petro_py

v1.0.2

A python package created by Ahmed alkhatim for petroleum computations with two sub modules for

  • Reservoir
  • Production

Beside :

  • Oilfied Module: for gitting general and quick information about oilfield data

Installation

pip install petro-python

How it works

import petro_py as ptr

Initializing an Oil Field module

  field = ptr.OilField("path_to_file")

The OilField module instantiate an OilField class and then an_oil_field variable can access all the API of of OilField such as:

  • field.wells
  • field.number_of_wells
  • field.n_production_wells
  • field.injection_wells
  • field.n_injection_wells
  • field.converted_wells
  • as well as quick_view() method that give a quick view about your field

Exapmle

for Volve dataset the output will be

  volve = ptr.OilField(file)
  
  volve.number_of_wells  # 7

  volve.production_wells
  # array(['15/9-F-1 C', '15/9-F-11', '15/9-F-12', '15/9-F-14', '15/9-F-15 D', '15/9-F-5'], dtype=object)
  
  volve.n_production_wells # 6

  volve.injection_wells
  # array(['15/9-F-4', '15/9-F-5'], dtype=object)

  volve.n_injection_wells # 2

  volve.converted_wells 
  # ['15/9-F-5']

  volve.quick_view()
  # number_of_wells : 7 number_of_columns : 18 number_of_records: 15634
  

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

petro-python-1.0.2.tar.gz (4.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

petro_python-1.0.2-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

File details

Details for the file petro-python-1.0.2.tar.gz.

File metadata

  • Download URL: petro-python-1.0.2.tar.gz
  • Upload date:
  • Size: 4.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.5

File hashes

Hashes for petro-python-1.0.2.tar.gz
Algorithm Hash digest
SHA256 76420e575dd2177b6ac4a55e765687b773f61f494ee68bcc1d52ec38f9923480
MD5 7e99a4c3e9aa6516643406892b196431
BLAKE2b-256 4d0548d1fd87dc864a95dcad4fe28e536d8d67b06788454475b1e7b0f30c7dd2

See more details on using hashes here.

File details

Details for the file petro_python-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: petro_python-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 5.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.5

File hashes

Hashes for petro_python-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 89b5d80c7005afd82daa7e7a9fd7daba6138674774f6c808110c9e58a158e939
MD5 ab0ed7bec4930cced1547f7fa9faecf6
BLAKE2b-256 d9d8b2ca91b27973e816a7caee1a200e7fe7429e5d6f07ab9ebeb4699fedf14e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page